[Samba] Issue with samba SID

Moisés Barba Pérez mbarperoi at gmail.com
Tue Mar 15 06:06:03 MDT 2011


   I have a samba PDC with LDAP, samba 3.0.33 and 389DS 1.2.5. I am adding
computer accounts with smbldap-useradd script configured in smb.conf like

add machine script            = /usr/bin/perl -w
/opt/ldap/smbldap-tools/bin/smbldap-useradd -w -c '%a' -t 10 -J Equipos '%u'

 My problem is that I get a samba sid I don't understand why samba creates
like that. I thought the users acounts have a samba sid = (2 * userid) +
1000, and groups accounts have samba sid = (2 * groupid) + 1001. The
computers accounts have a different samba sid?, Isn't a computer accout the
same as an user account? my question is how samba generates the samba sid
for the computer account and If I can use the old style of samba sid
generation for computers accounts.



More information about the samba mailing list