summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins/user.py')
-rw-r--r--ipalib/plugins/user.py2
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?',