diff options
| author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2015-06-10 16:38:29 +1200 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2015-10-29 05:08:15 +0100 |
| commit | 059e2838c8a61ffbb0865e665694c02bb531758b (patch) | |
| tree | 15118bbe1832a4169692a21581b580b8560a1c33 /python | |
| parent | 704fd83bcf5bba3bf5e67ea8060aff148aacea32 (diff) | |
| download | samba-059e2838c8a61ffbb0865e665694c02bb531758b.tar.gz samba-059e2838c8a61ffbb0865e665694c02bb531758b.tar.bz2 samba-059e2838c8a61ffbb0865e665694c02bb531758b.zip | |
KCC: set system flags for new intrasite connections
These flags are mandatory for intrasite connections.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
| -rw-r--r-- | python/samba/kcc/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/samba/kcc/__init__.py b/python/samba/kcc/__init__.py index 2e44f1214ca..7bf3dc511c3 100644 --- a/python/samba/kcc/__init__.py +++ b/python/samba/kcc/__init__.py @@ -1464,7 +1464,10 @@ class KCC(object): # cn!options = opt, cn!transportType is a reference to t, # cn!fromServer is a reference to rbh, and cn!schedule = sch DEBUG_FN("new connection, KCC dsa: %s" % self.my_dsa.dsa_dnstr) - cn = lbh.new_connection(opt, 0, transport, + system_flags = (dsdb.SYSTEM_FLAG_CONFIG_ALLOW_RENAME | + dsdb.SYSTEM_FLAG_CONFIG_ALLOW_MOVE) + + cn = lbh.new_connection(opt, system_flags, transport, rbh.dsa_dnstr, link_sched) # Display any added connection |
