[Samba] Unix UID from LDAP

Gerald Carter jerry at samba.org
Fri Aug 8 04:28:02 GMT 2003


On 7 Aug 2003, Andrew Bartlett wrote:

> On Thu, 2003-08-07 at 17:10, Raul Umyarov wrote:
> > Hello
> > 
> > How can I create single samba users database in OpenLDAP without
> > creating local user account?
> > 
> > I am successful create SambaSamAccount with Samba 3.0beta3. But
> > following "Samba HOWTO Collection" (from 3.0beta3), ldapsam is just
> > password backend and not provided replacement of /etc/passwd.
> > 
> > There is sambaIdmapEntry in ldap schemas in samba 3.0beta3, but 
> > samba don`t use it. May be it is for winbind only?
> 
> Correct - much to my disappointment, this code was removed during the
> Samba 3.0 beta process.  It is now only used by winbind.
> 
> However, you have always needed to have the users in nsswitch, the usual
> solution being to use nss_ldap.  (Which will give you a similar result,
> in the end).

Just to clarify things, the code was removed because there were various 
problems and inconsistencies in the idmap layer.  It was not pulled out 
willy nilly.   Andrew knows this but just failed to mention it.





cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)





More information about the samba mailing list