summaryrefslogtreecommitdiff
path: root/python/samba/drs_utils.py
diff options
context:
space:
mode:
authorGarming <garming@catalyst.net.nz>2016-06-15 10:05:34 +1200
committerGarming Sam <garming@samba.org>2016-06-16 04:40:14 +0200
commitb4d2e1016d1d35a01450f4d616cf7a32c7c151e2 (patch)
tree3c1b6ab609b5d6346461e8ced77e8d9b4120314d /python/samba/drs_utils.py
parent7f651d344b8a293c510885d3ddc2c303e397c03e (diff)
downloadsamba-b4d2e1016d1d35a01450f4d616cf7a32c7c151e2.tar.gz
drs: Send DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP by default
This flag is not implemented in Samba, however, on an RODC replicating from Windows, failing to send this flag leaves out group memberships. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/samba/drs_utils.py')
-rw-r--r--python/samba/drs_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/samba/drs_utils.py b/python/samba/drs_utils.py
index 87c9a865576..6c8afae7e90 100644
--- a/python/samba/drs_utils.py
+++ b/python/samba/drs_utils.py
@@ -220,7 +220,8 @@ class drs_Replicate(object):
req8.replica_flags = (drsuapi.DRSUAPI_DRS_INIT_SYNC |
drsuapi.DRSUAPI_DRS_PER_SYNC |
drsuapi.DRSUAPI_DRS_GET_ANC |
- drsuapi.DRSUAPI_DRS_NEVER_SYNCED)
+ drsuapi.DRSUAPI_DRS_NEVER_SYNCED |
+ drsuapi.DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP)
if rodc:
req8.replica_flags |= (
drsuapi.DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING)