[samba] calculate machine SID?
Daniel Wilson
daniel.wilson at sunderland.ac.uk
Fri Nov 26 10:08:07 GMT 2004
Andrew Bartlett wrote:
>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
>
>
>
hmmm, "smbpasswd -a -m netbios" only adds "account,top,sambaSamAccount"
object classes, it doesnt add posixAccount!
dan
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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