git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704fd83
)
KCC: set system flags for new intrasite connections
author
Douglas Bagnall
<douglas.bagnall@catalyst.net.nz>
Wed, 10 Jun 2015 04:38:29 +0000
(16:38 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 29 Oct 2015 04:08:15 +0000
(
05:08
+0100)
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>
python/samba/kcc/__init__.py
patch
|
blob
|
history
diff --git
a/python/samba/kcc/__init__.py
b/python/samba/kcc/__init__.py
index 2e44f1214cad75ec3ed0691abe1f0955b4698804..7bf3dc511c365879205f1494bf8918b6c345bb98 100644
(file)
--- 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