[Samba] Samba Howto idmap ldap incorect ?

Thomas Sondag thomas.sondag at gmail.com
Wed Dec 10 14:54:44 GMT 2008


hi list,

I tried to setup samba/winbind server with the idmap ldap backend, and
I think the samba howto is wrong on that part :
http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/idmapper.html#id2600225
As described in the howto it couldn't work :
/etc/nsswitch.conf
passwd: files ldap
shadow: files ldap
group:  files ldap
hosts:  files wins

the correct values are :

/etc/nsswitch.conf
passwd: files winbind
shadow: files winbind
group:  files winbind
hosts:  files wins

because the ldap tree filled by winbind contains only the SID to
id/gid informations not the uid informations so the nss_ldap search
will failed.

Thomas Sondag


More information about the samba mailing list