Re: [Samba] Re: UID and GID's

2004-09-09 Thread Blindauer Emmanuel
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 = 1-2
   idmap gid = 1-2

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

Emmanuel
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: UID and GID's

2004-09-08 Thread Tom
Blindauer Emmanuel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Le mercredi 08 Septembre 2004 20:08, Tom a écrit :
 Is it possible to have the same uid and gid mappings on multiple machines?
 This is for NFS mounting.

 I've searched around and it's not clear to me if it possible.

 I'm running samba 3.0.6-2, and I have everything working for ADS.

 Also, I installed SFU so there is a uid and gid field in the AD schema, is
 there any way I can tell samba to use that instead of using the idmap uid
 = 16777216-33554431 declaration?

 thanks,
 -tom
I'm sharing /home like you probably want: users are in AD, winbind does the
uid-gid-sid mapping. I don't use SFU, but the ldap backend to store the
mapping, and all winbind uses this mapping, so the  mapping is unique.
I don't know if it is possible to used the uid/sid from SFU directly

Emmanuel
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

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

thanks,
-tom



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba