[Samba] Re: Need help understanding smbldap-tools and user records

Jim jcllings at tsunamicomm.net
Fri Feb 28 00:10:04 GMT 2003


After investigateing the scripts behaviour a little further I found that 
the answer is no.  The are not the same.  The smblda-adduser.pl script 
creates primaryGroupID as gidNumber + (gidNumber * 2) + 1 such that if 
you add a user who's gidNumber is 1002 you wind up with a primaryGroupID 
that is 3005.

Markus Schabel wrote:
> Jim wrote:
> 
>> Are they the same then or are there SID issues?
> 
> 
> I don't know. It works fine without the primaryGroupID at all... - at
> least I haven't found any problems....
> 
>>> The gidNumber is the unix/linux-groupID, the primaryGroupID is the ID
>>> used by windows in a domain.
>>




More information about the samba mailing list