mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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> Reviewed-by: Björn Baumbach <bb@samba.org> Autobuild-User(master): Björn Baumbach <bb@sernet.de> Autobuild-Date(master): Thu Apr 2 15:27:53 UTC 2020 on sn-devel-184
This commit is contained in:
parent
130c26b43f
commit
84c130a655
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user