git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc932ea
)
samba_kcc: Do not attempt to modify connections on a RODC, replicated attributes...
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 18 Feb 2015 21:20:48 +0000
(10:20 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 28 May 2015 05:25:07 +0000
(07:25 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/scripting/bin/samba_kcc
patch
|
blob
|
history
diff --git
a/source4/scripting/bin/samba_kcc
b/source4/scripting/bin/samba_kcc
index 11bbd9c397ea47d5041fd9ac74fecdb18d211ad3..289c5e931e9b3011dcb870857a3dcab8f9a8a4d4 100755
(executable)
--- a/
source4/scripting/bin/samba_kcc
+++ b/
source4/scripting/bin/samba_kcc
@@
-377,7
+377,7
@@
class KCC(object):
cn_conn.to_be_deleted = True
- if opts.readonly:
+ if
mydsa.is_ro() or
opts.readonly:
for dnstr, connect in mydsa.connect_table.items():
if connect.to_be_deleted:
logger.info("TO BE DELETED:\n%s" % connect)