diff options
Diffstat (limited to 'ipapython')
| -rw-r--r-- | ipapython/secrets/kem.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipapython/secrets/kem.py b/ipapython/secrets/kem.py index 2a5f384a7..1025ed798 100644 --- a/ipapython/secrets/kem.py +++ b/ipapython/secrets/kem.py @@ -122,8 +122,7 @@ class KEMLdap(iSecLdap): conn.add_s(dn, mods) except Exception: # pylint: disable=broad-except # This may fail if the entry already exists - mods = [(ldap.MOD_REPLACE, 'memberPrincipal', principal), - (ldap.MOD_REPLACE, 'ipaPublicKey', public_key)] + mods = [(ldap.MOD_REPLACE, 'ipaPublicKey', public_key)] conn.modify_s(dn, mods) |
