summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-usermod
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-admintools/ipa-usermod')
-rw-r--r--ipa-admintools/ipa-usermod2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-usermod b/ipa-admintools/ipa-usermod
index bcd06821..3c9f8adc 100644
--- a/ipa-admintools/ipa-usermod
+++ b/ipa-admintools/ipa-usermod
@@ -54,7 +54,7 @@ def main():
usage()
client = ipaclient.IPAClient()
- user = client.get_user(args[1])
+ user = client.get_user_by_uid(args[1])
if options.gecos:
user.setValue('gecos', options.gecos)