LdapClient.add_object: ignore 'dn' attribute if provided
This commit is contained in:
parent
be80b1ed8c
commit
a36ce4070b
1 changed files with 1 additions and 0 deletions
|
@ -705,6 +705,7 @@ class LdapClient:
|
||||||
attrs = dict(
|
attrs = dict(
|
||||||
(attr, self.encode(values))
|
(attr, self.encode(values))
|
||||||
for attr, values in attrs.items()
|
for attr, values in attrs.items()
|
||||||
|
if attr != 'dn'
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
if self._just_try:
|
if self._just_try:
|
||||||
|
|
Loading…
Reference in a new issue