Samba3/LDAP: sambaPrimaryGroupSID

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Mar 30 03:12:04 GMT 2009


On Mon, Mar 30, 2009 at 01:33:19AM +0200, Michael Ströder wrote:
> Is the value in sambaPrimaryGroupSID always supposed to be the value of
> sambaSID in an *existing* LDAP entry? Or are there well-known SIDs
> automagically used?
> 
> I'm asking because I've declared a plugin class in web2ldap for
> sambaPrimaryGroupSID which allows to search the possible values and
> display a select list (see below). Obviously in this simple way all
> possible values have to be present in entries on the LDAP server then.

sambaPrimaryGroupSID these days is ignored. We always
calculate it from the user's primary gid. Sorry that this is
not more obvious from the docs, feel free to add a comment
somewhere and send a patch.

Thanks,

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090330/b966077d/attachment.bin


More information about the samba-technical mailing list