[Samba] pam_smbpass and ldap

Andrew Bartlett abartlet at samba.org
Thu Feb 20 06:05:24 GMT 2003


On Thu, 2003-02-20 at 08:44, rossp at ppc.ucsc.edu wrote:
> On a Debian 3.0 system with user accounts stored in openldap, I have
> unix and windows auth working just fine through ldap.  smbpasswd can
> change the samba passwd attributes, and passwd can change the unix
> password attributes.
> 
> I'm trying to get pam_smbpass to work to keep everything in sync, but
> it only says "Failed to find entry for user test0." which indicates to
> me that its looking in the smbpasswd file which has, of course,
> nothing.  "ldd /lib/security/pam_smbpass.so" gives libpam and libldap
> among other things.
> 
> Can someone tell me if pam_smbpass is using the SAM DB API?  If
> pam_smbpass is hardwired for the smbpasswd file, that would explain my
> troubles.
> 
> If it is using the SAM DB API, can anyone give me any direction?

It does use the SAM API, so start turning up the debugging and see if
you can figure out what's going on..

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030220/f14d2077/attachment.bin


More information about the samba mailing list