[Freeipa-devel] [PATCH] one-liner fix for ipa-adduser

Rob Crittenden rcritten at redhat.com
Fri Aug 17 15:46:31 UTC 2007


givenname was made lower-case in ipaclient.py so it needs to be that way 
here too otherwise chaos ensues. A case-insensitive way to do this is in 
the queue.

diff -r 93f541ca7962 ipa-admintools/ipa-adduser
--- a/ipa-admintools/ipa-adduser        Fri Aug 17 11:57:51 2007 -0400
+++ b/ipa-admintools/ipa-adduser        Fri Aug 17 12:07:12 2007 -0400
@@ -61,7 +61,7 @@ def main():
      if len(args) != 2:
          usage()

-    user['givenName'] = options.gn
+    user['givenname'] = options.gn
      user['sn'] = options.sn
      user['uid'] = args[1]
      if options.gecos:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20070817/9e9545fd/attachment.bin>


More information about the Freeipa-devel mailing list