[SCM] Samba Shared Repository - branch master updated

Björn Baumbach bbaumbach at samba.org
Thu Apr 2 15:28:02 UTC 2020


The branch, master has been updated
       via  84c130a6555 samba-tool group show: only shows global security groups, this patch makes it show all groups.
      from  130c26b43ff dbwrap: fix possible memleak and false result check.

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 84c130a65557a43972e11f8fe26cfd19305c6328
Author: Rowland Penny <rpenny at samba.org>
Date:   Thu Apr 2 09:29:18 2020 +0100

    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 at samba.org>
    Reviewed-by: Björn Baumbach <bb at samba.org>
    
    Autobuild-User(master): Björn Baumbach <bb at sernet.de>
    Autobuild-Date(master): Thu Apr  2 15:27:53 UTC 2020 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 python/samba/netcmd/group.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

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()
 


-- 
Samba Shared Repository



More information about the samba-cvs mailing list