Move dn removal to the XML-RPC side and remove empty attributes

This commit is contained in:
Rob Crittenden
2007-12-05 17:26:39 -05:00
parent 62b8091a83
commit eb141b02ff
2 changed files with 23 additions and 5 deletions

View File

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