ipa-addradiusclient now working
This commit is contained in:
1 parent
152f8e3392
commit
eab5a89d4a
8 files changed
+59
-16
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user