summaryrefslogtreecommitdiff
path: root/python/samba/samdb.py
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2019-12-30 16:24:23 +0100
committerStefan Metzmacher <metze@samba.org>2020-01-21 14:38:46 +0000
commit2baa301237f4a2446667db39369848402af5f9bf (patch)
tree250d778e957568dcda11fc2564e866dc62296f50 /python/samba/samdb.py
parent2abebee1405d2c7606e3980cfc07fec101c24297 (diff)
downloadsamba-2baa301237f4a2446667db39369848402af5f9bf.tar.gz
python/samdb: add 'computer' to the default group member types for group member filters
Add the 'computer' type to the default member types, so that the next commit does not change the default behavior. Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'python/samba/samdb.py')
-rw-r--r--python/samba/samdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/samdb.py b/python/samba/samdb.py
index ec4affa24b7..1230cbb93f4 100644
--- a/python/samba/samdb.py
+++ b/python/samba/samdb.py
@@ -288,7 +288,7 @@ pwdLastSet: 0
def add_remove_group_members(self, groupname, members,
add_members_operation=True,
- member_types=[ 'user', 'group' ]):
+ member_types=[ 'user', 'group', 'computer' ]):
"""Adds or removes group members
:param groupname: Name of the target group