[Samba] using passdb backend = smbpasswd and ldap linux authentication

David Roid dataroid at gmail.com
Sun Nov 20 22:25:12 MST 2011


Do you enable LDAP in NSS?

2011/11/21 tony archibald <tony at dutyfreestores.com.au>

> OS = RHEL 5
> samba version  3.0.33-3.29
> openldap 2.3
>
> is it possible to have linux users stored in an ldap directory and still
> use the  passdb backend = smbpasswd.
> I have an existing smbpasswd password db and an existing set of linux users
> I have migrated the linux users to LDAP and authenticating successfully
> until I have time to get all samba credentials migrated to ldap i still
> need use the existing smbpaswd file.
> so the scenario is that for existing (ie pre migration) users all is well.
> however for newly added users I get the following error when accessing a
> share.
> "build_sam_account: smbpasswd database is corrupt!  username jtony with uid
> 1091 is not in unix passwd database!"
> smbd doesn't seem to be looking in the ldap directory for the unix user,
> rather it is still looking in /etc/passwd
>
> regards
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list