summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-18 18:48:42 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-18 23:12:26 +0100
commit5b3981acb1e0e0ef6832c1147b1ec5b3659c1aa9 (patch)
tree05f55601011bcde3d4e074b36b596b051d010e4f /source4
parent96e55cb1324992607f0abac4b1d63db6beb5341b (diff)
downloadsamba-5b3981acb1e0e0ef6832c1147b1ec5b3659c1aa9.tar.gz
samba-5b3981acb1e0e0ef6832c1147b1ec5b3659c1aa9.tar.bz2
samba-5b3981acb1e0e0ef6832c1147b1ec5b3659c1aa9.zip
s4-rodc: enable the DRS_GET_ALL_GROUP_MEMBERSHIP flag for RODC replication
see the description of this flag in [MS-DRSR]
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/kcc/kcc_periodic.c1
-rw-r--r--source4/scripting/python/samba/join.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/kcc/kcc_periodic.c b/source4/dsdb/kcc/kcc_periodic.c
index fa2b0679df..e0ac2c7786 100644
--- a/source4/dsdb/kcc/kcc_periodic.c
+++ b/source4/dsdb/kcc/kcc_periodic.c
@@ -171,6 +171,7 @@ static uint32_t kccsrv_replica_flags(struct kccsrv_service *s)
DRSUAPI_DRS_PER_SYNC |
DRSUAPI_DRS_ADD_REF |
DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING |
+ DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP |
DRSUAPI_DRS_NONGC_RO_REP;
}
return DRSUAPI_DRS_INIT_SYNC |
diff --git a/source4/scripting/python/samba/join.py b/source4/scripting/python/samba/join.py
index 8db00bc47d..deeedc5ad3 100644
--- a/source4/scripting/python/samba/join.py
+++ b/source4/scripting/python/samba/join.py
@@ -545,7 +545,8 @@ def join_RODC(server=None, creds=None, lp=None, site=None, netbios_name=None,
drsuapi.DRSUAPI_DRS_PER_SYNC |
drsuapi.DRSUAPI_DRS_GET_ANC |
drsuapi.DRSUAPI_DRS_NEVER_SYNCED |
- drsuapi.DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING)
+ drsuapi.DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING |
+ drsuapi.DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP)
ctx.do_join()