[samba] calculate machine SID?

Daniel Wilson daniel.wilson at sunderland.ac.uk
Wed Nov 24 10:05:46 GMT 2004


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??

Im trying to create some perl scripts of my own which need to do some 
other things too!

Thanks,

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniel Wilson
Systems Administrator

IT & Communications Service
University of Sunderland
Unit1 Technology Park
Chester Road
Sunderland
SR2 7PT

Tel: 0191 515 2695

This e-mail contains information which is confidential and may be privileged and is for the exclusive use of the recipient. 
It is the responsibility of the recipient to ensure that this message and its attachments are virus free. 
Any views or opinions presented are solely those of the author and do not necessarily represent those of the University, unless otherwise specifically
stated.





More information about the samba mailing list