[Samba] Re: UID and GID's

Blindauer Emmanuel samba at agat.net
Thu Sep 9 06:53:27 GMT 2004


Le mercredi 8 Septembre 2004 22:37, Tom a écrit :
> ok, so how do I do that?
>
> Do I take out:
>   idmap uid = 16777216-33554431
>   idmap gid = 16777216-33554431
> and add:
>   ldap idmap suffix = ou=Idmap,dc=samba,dc=org
No you must keep the uid/gid ranges.
you must add some entries for ldap too, and create an adapted ldap server. the 
relevant section in my smb.conf is:

   idmap backend = ldap:ldap://the.ldap.server
   idmap uid = 10000-20000
   idmap gid = 10000-20000

   ldap suffix = dc=domain,dc=local
   ldap idmap suffix = ou=Idmap
   ldap admin dn = cn=admin,dc=domain,dc=local

Emmanuel


More information about the samba mailing list