summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins')
-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 891a73a8..0f6fb587 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?',