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 <[EMAIL PROTECTED]>:

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





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

Reply via email to