diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-04-01 15:53:56 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-04-05 14:18:55 -0400 |
commit | deaf029023e4037ad53d17b9e48562845b3c1197 (patch) | |
tree | aa07a6a157506b339c2b26bcbc1bc464af1f9189 /ipalib/plugins/user.py | |
parent | e3a76d435e5ff312f503afb899ef6b505621d48a (diff) | |
download | freeipa-deaf029023e4037ad53d17b9e48562845b3c1197.tar.gz freeipa-deaf029023e4037ad53d17b9e48562845b3c1197.tar.xz freeipa-deaf029023e4037ad53d17b9e48562845b3c1197.zip |
Change default gecos from uid to first and last name.
ticket 1146
Diffstat (limited to 'ipalib/plugins/user.py')
-rw-r--r-- | ipalib/plugins/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py index 891a73a87..0f6fb5870 100644 --- a/ipalib/plugins/user.py +++ b/ipalib/plugins/user.py @@ -137,7 +137,7 @@ class user(LDAPObject): ), Str('gecos?', label=_('GECOS field'), - default_from=lambda uid: uid, + default_from=lambda givenname, sn: '%s %s' % (givenname, sn), autofill=True, ), Str('loginshell?', |