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

This commit is contained in:
Rob Crittenden committed 2007-12-05 17:26:39 -05:00
1 parent 62b8091a83
commit eb141b02ff
2 files changed
+23 -5

No files matched your search

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