tony archibald
2011-Nov-21 03:56 UTC
[Samba] using passdb backend = smbpasswd and ldap linux authentication
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
David Roid
2011-Nov-21 05:25 UTC
[Samba] using passdb backend = smbpasswd and ldap linux authentication
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 >