ipa-addradiusclient now working

This commit is contained in:
John Dennis committed 2007-11-13 20:05:02 -05:00
1 parent 152f8e3392
commit eab5a89d4a
8 files changed
+59 -16

No files matched your search

+11
View File
@@ -331,3 +331,14 @@ class IPAClient:
entries.append(user.User(e))
return entries
def add_radius_client(self,client):
client_dict = client.toDict()
# dn is set on the server-side
del client_dict['dn']
# convert to a regular dict before sending
result = self.transport.add_radius_client(client_dict)
return result