The Samba-Bugzilla – Attachment 15888 Details for
Bug 14335
samba-tool group show only finds global security groups
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix bugreport
Subject-PATCH-samba-tool-group-show-only-shows-globa.patch (text/plain), 1.13 KB, created by
Rowland Penny
on 2020-04-02 08:37:32 UTC
(
hide
)
Description:
Patch to fix bugreport
Filename:
MIME Type:
Creator:
Rowland Penny
Created:
2020-04-02 08:37:32 UTC
Size:
1.13 KB
patch
obsolete
>From 1b3de4cd13abdc6ed22273682827b38ccf8033bb Mon Sep 17 00:00:00 2001 >From: Rowland Penny <rpenny@samba.org> >Date: Thu, 2 Apr 2020 09:29:18 +0100 >Subject: [PATCH] Subject: [PATCH] samba-tool group show: only shows global > security groups, this patch makes it show all groups. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=14335 > >Signed-off-by: Rowland Penny <rpenny@samba.org> >--- > python/samba/netcmd/group.py | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > >diff --git a/python/samba/netcmd/group.py b/python/samba/netcmd/group.py >index 76705100960..d973c750b86 100644 >--- a/python/samba/netcmd/group.py >+++ b/python/samba/netcmd/group.py >@@ -696,9 +696,8 @@ Example3 shows how to display a groups objectGUID and member attributes. > if group_attrs: > attrs = group_attrs.split(",") > >- filter = ("(&(sAMAccountType=%d)(sAMAccountName=%s))" % >- (ATYPE_SECURITY_GLOBAL_GROUP, >- ldb.binary_encode(groupname))) >+ filter = ("(&(objectCategory=group)(sAMAccountName=%s))" % >+ ldb.binary_encode(groupname)) > > domaindn = samdb.domain_dn() > >-- >2.20.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 14335
: 15888