[Samba] Rid generation

Nuno Fernandes npf-mlists at eurotux.com
Thu Sep 18 14:21:53 GMT 2008


Hi,

If i have smbpasswd with:

user1:1416:803A317873C24BBDAAD3B435B51404EE:2DF2CB1538FE718DE034707A521AA893:
[U          ]:LCT-1221415636:

and i do:

pdbedit -i smbpasswd:file


And 

SID for domain SERVER is: S-1-5-21-1454471165-2146950999-672003340

How does samba generate the rid part of that users sid?


[root at server samba]# pdbedit -L -v user1
User SID:             S-1-5-21-1454471165-2146950999-672003340-1416

Where does it get the 1416 Rid from?

Thanks,
Nuno Fernandes


More information about the samba mailing list