diff options
Diffstat (limited to 'install/restart_scripts/renew_ca_cert')
-rw-r--r-- | install/restart_scripts/renew_ca_cert | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/restart_scripts/renew_ca_cert b/install/restart_scripts/renew_ca_cert index b1efd8f9d..5768db3f7 100644 --- a/install/restart_scripts/renew_ca_cert +++ b/install/restart_scripts/renew_ca_cert @@ -70,11 +70,11 @@ try: try: (entry_dn, entry_attrs) = conn.get_entry(dn, ['usercertificate']) entry_attrs['usercertificate'] = cert - conn.update_entry(dn, entry_attrs, normalize=False) + conn.update_entry(dn, entry_attrs) except errors.NotFound: entry_attrs = dict(objectclass=['top', 'pkiuser', 'nscontainer'], usercertificate=cert) - conn.add_entry(dn, entry_attrs, normalize=False) + conn.add_entry(dn, entry_attrs) except errors.EmptyModlist: pass conn.disconnect() |