diff options
author | John Dennis <jdennis@redhat.com> | 2007-11-26 09:46:19 -0500 |
---|---|---|
committer | John Dennis <jdennis@redhat.com> | 2007-11-26 09:46:19 -0500 |
commit | 2c2069d3ec48aa4a2c32ac580726b5759ebef553 (patch) | |
tree | 1a98691fd6c2461376407c00c9136ea68ec9b760 /ipa-admintools/ipa-radiusclientmod | |
parent | 9a9a7e4058cd9fa7932f305290b543bc9f623add (diff) | |
download | freeipa.git-2c2069d3ec48aa4a2c32ac580726b5759ebef553.tar.gz freeipa.git-2c2069d3ec48aa4a2c32ac580726b5759ebef553.tar.xz freeipa.git-2c2069d3ec48aa4a2c32ac580726b5759ebef553.zip |
checkpoint radius client add,modify,find,del working, command line args handled correctly
Diffstat (limited to 'ipa-admintools/ipa-radiusclientmod')
-rw-r--r-- | ipa-admintools/ipa-radiusclientmod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-radiusclientmod b/ipa-admintools/ipa-radiusclientmod index 5f0eff94..1877ed2e 100644 --- a/ipa-admintools/ipa-radiusclientmod +++ b/ipa-admintools/ipa-radiusclientmod @@ -87,6 +87,7 @@ def main(): opt_parser.error("missing Client-IP-Address") ip_addr = args[1] + pairs['Client-IP-Address'] = ip_addr # Verify client previously exists and get current values radius_client = ipa.radius_client.RadiusClient() @@ -186,7 +187,6 @@ def main(): for attr,value in pairs.items(): print "\t%s = %s" % (attr, value) - radius_client = ipa.radius_client.RadiusClient() for attr,value in pairs.items(): radius_client.setValue(radius_util.radius_client_attr_to_ldap_attr[attr], value) |