summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-radiusclientmod
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-admintools/ipa-radiusclientmod')
-rw-r--r--ipa-admintools/ipa-radiusclientmod4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-radiusclientmod b/ipa-admintools/ipa-radiusclientmod
index 19f3ed148..9e973b121 100644
--- a/ipa-admintools/ipa-radiusclientmod
+++ b/ipa-admintools/ipa-radiusclientmod
@@ -179,7 +179,9 @@ def main():
# Populate the pair list with pre-existing values
for attr in radius_attrs:
- pairs[attr] = radius_entity.getValues(radius_attr_to_ldap_attr[attr])
+ value = radius_entity.getValues(radius_attr_to_ldap_attr[attr])
+ if value is None: continue
+ pairs[attr] = value
# Get pairs from a file or stdin
if options.data_file: