Joe Steeve
2011-Jul-09 17:21 UTC
[Samba] ldapsam:trusted=yes, 'user in passdb, but getpwnam() fails'
Hello all, I am working with samba-3.5.6 on Debian Squeeze. From the smb.conf(5), I assumed that, by using 'ldapsam:trusted=yes', one can avoid touching the NSS/PAM configuration. However, I am getting a: user in passdb, but getpwnam() fails in the logs. Is my assumption wrong? Regards, Joe -- .o. I'm a Free man. I use Free Software. ..o ooo http://www.joesteeve.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20110709/4b68acd7/attachment.pgp>
TAKAHASHI Motonobu
2011-Jul-12 14:23 UTC
[Samba] ldapsam:trusted=yes, 'user in passdb, but getpwnam() fails'
From: Joe Steeve <joe_steeve at gmx.net> Date: Sat, 09 Jul 2011 22:51:52 +0530> I am working with samba-3.5.6 on Debian Squeeze. > > From the smb.conf(5), I assumed that, by using 'ldapsam:trusted=yes', > one can avoid touching the NSS/PAM configuration. However, I am getting a: > > user in passdb, but getpwnam() fails > > in the logs. Is my assumption wrong?At least You also need to add "ldap" keyword to /etc/nsswitch.conf properly. PAM configuration is optional. --- TAKAHASHI Motonobu <monyo at samba.gr.jp>