Move dn removal to the XML-RPC side and remove empty attributes
This commit is contained in:
1 parent
62b8091a83
commit
eb141b02ff
2 files changed
+23
-5
No files matched your search
@@ -116,9 +116,6 @@ class IPAClient:
|
||||
|
||||
user_dict = user.toDict()
|
||||
|
||||
# dn is set on the server-side
|
||||
del user_dict['dn']
|
||||
|
||||
# convert to a regular dict before sending
|
||||
result = self.transport.add_user(user_dict, user_container)
|
||||
return result
|
||||
|
||||
Reference in new issue
Block a user