[samba] calculate machine SID?

Andrew Bartlett abartlet at samba.org
Fri Nov 26 04:42:55 GMT 2004


On Wed, 2004-11-24 at 10:05 +0000, Daniel Wilson wrote:
> hi list,
> 
> How do you calculate a machine SID and primarygroupSID?
> 
> On a user you would do 2*uidNumber+1000 and 2*uidNumber+1001
> 
> But machines accounts dont have a uidNumber so how is the SID genrated??

Machines do and must have a uidNumber, and a full posixAccount.  From
there they are just like other users.

Andrew Bartlett

-- 
Andrew Bartlett <abartlet at samba.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20041126/cc49238e/attachment.bin


More information about the samba mailing list