diff options
-rw-r--r-- | ipa-admintools/ipa-moddelegation | 2 | ||||
-rw-r--r-- | ipa-admintools/ipa-usermod | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/ipa-admintools/ipa-moddelegation b/ipa-admintools/ipa-moddelegation index 33185b629..03b0dc4a8 100644 --- a/ipa-admintools/ipa-moddelegation +++ b/ipa-admintools/ipa-moddelegation @@ -155,7 +155,7 @@ def main(): print "%s" % (e.message) return 1 - print "Delegation %s successfully added" % args[1] + print "Delegation %s successfully updated" % args[1] return 0 if __name__ == "__main__": diff --git a/ipa-admintools/ipa-usermod b/ipa-admintools/ipa-usermod index 57f20b410..f1c069b6a 100644 --- a/ipa-admintools/ipa-usermod +++ b/ipa-admintools/ipa-usermod @@ -47,7 +47,7 @@ def parse_options(): parser.add_option("-s", "--shell", dest="shell", help="Set user's login shell to shell") parser.add_option("-M", "--mailAddress", dest="mail", - help="Set uesr's e-mail address") + help="Set user's e-mail address") parser.add_option("--usage", action="store_true", help="Program usage") @@ -179,8 +179,6 @@ def main(): user.setValue('sn', lastname) if mail: user.setValue('mail', mail) - user.setValue('cn', "%s %s" % (user.getValue('givenname'), - user.getValue('sn'))) if gecos: user.setValue('gecos', gecos) |