LdapClient.add_object: ignore 'dn' attribute if provided

This commit is contained in:
Benjamin Renard 2022-05-27 19:52:59 +02:00
parent be80b1ed8c
commit a36ce4070b

View file

@ -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: