[PATCH] samba-tool group show

Björn Baumbach bb at sernet.de
Thu Apr 2 09:58:24 UTC 2020

Hi Rowland,

On 4/2/20 10:44 AM, Rowland penny via samba-technical wrote:
> Hi, <samba-tool group show 'groupname'> will only show the groups info
> if it is a global security group.
> The attached patch fixes this.
> See bug: https://bugzilla.samba.org/show_bug.cgi?id=14335

Thank you for fixing this!
I wonder about the use of "objectCategory=group". I would expect the use
of "objectClass=group" instead. But I tried the patch and it works - I
did not try to understand why, yet. The objectCategory looks like
"objectCategory: CN=Group,CN=Schema,CN=Configuration,..."
I checked the samba-tool code and see that we typically use the
objectClass attribute.
Is there a special reason for the use of "objectCategory"?

If "objectClass" is also fine, I would adapt the patch, add my RB and
push it.

Best regards,

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: 0551-370000-0, mailto:kontakt at sernet.de
Gesch.F.: Dr. Johannes Loxen und Reinhild Jung
AG Göttingen: HR-B 2816 - http://www.sernet.de

Samba eXPerience 2020 - online edition!
sponsored by Google, Microsoft & SerNet
May 26th-28th 2020, https://sambaXP.org

More information about the samba-technical mailing list