mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-16 11:21:56 -06:00
accept missing binddn group
replicas installed from older versions do not have a binddn group just accept the errror Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
parent
a92328452d
commit
8457edc14d
@ -780,12 +780,12 @@ class ReplicationManager(object):
|
||||
try:
|
||||
mod = [(ldap.MOD_ADD, "member", b_dn)]
|
||||
a.modify_s(group_dn, mod)
|
||||
except ldap.TYPE_OR_VALUE_EXISTS:
|
||||
except (ldap.TYPE_OR_VALUE_EXISTS, ldap.NO_SUCH_OBJECT):
|
||||
pass
|
||||
try:
|
||||
mod = [(ldap.MOD_ADD, "member", a_dn)]
|
||||
b.modify_s(group_dn, mod)
|
||||
except ldap.TYPE_OR_VALUE_EXISTS:
|
||||
except (ldap.TYPE_OR_VALUE_EXISTS, ldap.NO_SUCH_OBJECT):
|
||||
pass
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user