Benjamin Renard commited on 2018-02-13 10:58:08
Showing 1 changed files, with 1 additions and 1 deletions.
... | ... |
@@ -79,7 +79,7 @@ class LdapServer(object): |
79 | 79 |
self.con.modify_s(dn,ldif) |
80 | 80 |
return True |
81 | 81 |
except ldap.LDAPError, e: |
82 |
- self._error("LdapServer - Error updating %s : %s" % (dn,e)) |
|
82 |
+ self._error("LdapServer - Error updating %s : %s\nOld : %s\nNew : %s" % (dn, e, old, new)) |
|
83 | 83 |
return False |
84 | 84 |
|
85 | 85 |
def rename_object(self,dn,new_rdn): |
86 | 86 |