diff --git a/mylib/ldap.py b/mylib/ldap.py index 1b7daeb..74dd0e5 100644 --- a/mylib/ldap.py +++ b/mylib/ldap.py @@ -705,6 +705,7 @@ class LdapClient: attrs = dict( (attr, self.encode(values)) for attr, values in attrs.items() + if attr != 'dn' ) try: if self._just_try: