[Samba] Rid generation
hpsekhon at googlemail.com
Thu Sep 18 14:37:21 GMT 2008
Nuno Fernandes wrote:
> [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?
Samba does not generate the Rid, that is a Microsoft Domain Controller
function (allocation of rids is controlled through the Rid master if I
remember my MCSE days correctly)
Samba is simply querying the domain controller for the Sid. If samba is
being used as a dc, then I guess it must basically do the same thing as
Microsoft and generate the rid from 1000 onwards incrementally for each
user, similar to what happens for unix uids I expect, since rids and
uids are basically the same idea on different platforms.
More information about the samba