python/samdb: adapt search filter for group object type
authorBjörn Baumbach <bb@sernet.de>
Fri, 9 Aug 2019 14:45:51 +0000 (16:45 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 21 Jan 2020 14:38:46 +0000 (14:38 +0000)
commitc4e899d6b4bcc5d42c73810e0c7fe8b67db2b094
treefc1c9c820463a06ba9d1fd46080146102005e50e
parent45abb4fd4f42db5e71a6e226f1ed5486f3c257db
python/samdb: adapt search filter for group object type

Use a group search filter which is similar to the filter which is used
by the basic MS Windows group membership management.

The filter excludes the group type GROUP_TYPE_BUILTIN_LOCAL_GROUP.

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Ralph Boehme <slow@samba.org>
python/samba/samdb.py