diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-02-04 11:50:58 +0100 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-03-01 16:59:47 +0100 |
commit | 61c0938c769f5ece202f04095138a5348f95aa18 (patch) | |
tree | 6168745816d79a4e3b8cb652ff64cfc5dc0297f1 /install/restart_scripts/renew_ra_cert | |
parent | 5b2e0e2ba5808d6300de1cac743c96db0607121c (diff) | |
download | freeipa-61c0938c769f5ece202f04095138a5348f95aa18.tar.gz freeipa-61c0938c769f5ece202f04095138a5348f95aa18.tar.xz freeipa-61c0938c769f5ece202f04095138a5348f95aa18.zip |
Remove support for DN normalization from LDAPClient.
Diffstat (limited to 'install/restart_scripts/renew_ra_cert')
-rw-r--r-- | install/restart_scripts/renew_ra_cert | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/restart_scripts/renew_ra_cert b/install/restart_scripts/renew_ra_cert index e5418fdaf..e541e4ba4 100644 --- a/install/restart_scripts/renew_ra_cert +++ b/install/restart_scripts/renew_ra_cert @@ -60,11 +60,11 @@ while attempts < 10: try: (entry_dn, entry_attrs) = conn.get_entry(dn, ['usercertificate']) entry_attrs['usercertificate'] = dercert - 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=dercert) - conn.add_entry(dn, entry_attrs, normalize=False) + conn.add_entry(dn, entry_attrs) except errors.EmptyModlist: pass updated = True |