ldap: Fixed old entry handling from dynldap after saving entry.
This commit is contained in:
parent
20824e09d4
commit
889806e99b
1 changed files with 3 additions and 1 deletions
|
@ -199,7 +199,9 @@ class LdapEntry:
|
||||||
self._conn._conn.add_s(self.dn, self.items())
|
self._conn._conn.add_s(self.dn, self.items())
|
||||||
else:
|
else:
|
||||||
self._conn._conn.modify_s(self.dn, changes)
|
self._conn._conn.modify_s(self.dn, changes)
|
||||||
self._orig = copy(self.__dict__)
|
self._orig = {}
|
||||||
|
for (k, v) in self.items():
|
||||||
|
self._orig[k] = v
|
||||||
|
|
||||||
|
|
||||||
class Connection:
|
class Connection:
|
||||||
|
|
Loading…
Add table
Reference in a new issue