Improve message on modify error
This commit is contained in:
parent
199fad0049
commit
bf420f0a81
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class LdapServer(object):
|
||||||
self.con.modify_s(dn,ldif)
|
self.con.modify_s(dn,ldif)
|
||||||
return True
|
return True
|
||||||
except ldap.LDAPError, e:
|
except ldap.LDAPError, e:
|
||||||
self._error("LdapServer - Error updating %s : %s" % (dn,e))
|
self._error("LdapServer - Error updating %s : %s\nOld : %s\nNew : %s" % (dn, e, old, new))
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def rename_object(self,dn,new_rdn):
|
def rename_object(self,dn,new_rdn):
|
||||||
|
|
Loading…
Reference in a new issue