mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
samba_kcc: Do not attempt to modify connections on a RODC, replicated attributes are read only
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>
This commit is contained in:
parent
fc932eace8
commit
100ec32aba
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user