hi! I'm studing samba as PDC (with ldap backend) and I would know: - gid and uid are useful in samba? in other words: if pdc admin knows users' uids, he can recovery some wrong situations ? Example: if a user was cancelled and then readded, if his uid changes implies some troubles with shared files? NT mantains, after deletion, association between shared file and uid user and so if admin readded user with the same uid the system "restore" the right configuration. Thanks, Fabio -- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax +39 - 0871- 571594 Indirizzo Viale B. Croce 573, 66013 Chieti Scalo (CH)
samba-bounces+stephane.purnelle=corman.be@lists.samba.org a ?crit sur 20/04/2005 17:19:35 :> hi! > I'm studing samba as PDC (with ldap backend) and I would know: > - gid and uid are useful in samba? in other words: if pdc admin knowsusers'> uids, he can recovery some wrong situations ?Samba use unix account.> Example: if a user was cancelled and then readded, if his uid changesimplies> some troubles with shared files?YES.> > NT mantains, after deletion, association between shared file and uiduserand> so if admin readded user with the same uid the system "restore" the right> configuration.Of course> Thanks, > Fabio > -- > Dott. Fabio Marcone > > 2T srl > Telefono +39 - 0871- 540154 > Fax +39 - 0871- 571594 > Indirizzo Viale B. Croce 573, 66013 Chieti Scalo (CH) > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba----------------------------------- St?phane PURNELLE stephane.purnelle@corman.be Service Informatique Corman S.A. Tel : 00 32 087/342467
Samba SIDs are obtained from unix UIDs. The rule is: sambaSID (last digits)=UID*2+1000 So for example, adding the user root will always have a SID of: S-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXX-1000 If you use group mapping then you can match unix and windows groups: net groupmap add unixgroup=UNIXNAME ntgroup="Domain Users" Then you can list group mappings using: net groupmap list I have also set extended ACLS on my ext3 file system using setfacl and getfacl and the windows xp clients will actually show you the extended ACLs (user permissions for each user in the extended acl list) correctly when you go to the security section of a file or folder. Works really well. Diego Quoting Fabio Marcone <fabio.marcone@duet.it>:> hi! > I'm studing samba as PDC (with ldap backend) and I would know: > - gid and uid are useful in samba? in other words: if pdc admin knows users' > uids, he can recovery some wrong situations ? > Example: if a user was cancelled and then readded, if his uid changes implies > some troubles with shared files? > > NT mantains, after deletion, association between shared file and uid user and > so if admin readded user with the same uid the system "restore" the right > configuration. > > Thanks, > Fabio > -- > Dott. Fabio Marcone > > 2T srl > Telefono +39 - 0871- 540154 > Fax +39 - 0871- 571594 > Indirizzo Viale B. Croce 573, 66013 Chieti Scalo (CH) > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > >
thanks for your answer!>> hi! >> I'm studing samba as PDC (with ldap backend) and I would know: >> - gid and uid are useful in samba? in other words: if pdc admin knows >users' >> uids, he can recovery some wrong situations ?>Samba use unix account.OK>> Example: if a user was cancelled and then readded, if his uid changes >implies >> some troubles with shared files?>YES.how? can you explain me why? I know that privileges are set in smb.conf using user and group name, not uid or gid! If admin readds an user using the old name (indicate in smb.conf), what problems can occur?> >> NT mantains, after deletion, association between shared file and uiduser >>and >> so if admin readded user with the same uid the system "restore" the right>> configuration.>Of coursesamba's behavior is the same? Fabio -- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax +39 - 0871- 571594 Indirizzo Viale B. Croce 573, 66013 Chieti Scalo (CH)