From f58ff2921defef330d53e08e427a82ced7585c88 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Tue, 13 Oct 2009 11:28:00 -0600 Subject: Giant webui patch take 2 --- ipalib/plugins/user.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'ipalib/plugins/user.py') diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py index 256ff9ca..64353130 100644 --- a/ipalib/plugins/user.py +++ b/ipalib/plugins/user.py @@ -70,15 +70,15 @@ class user(LDAPObject): takes_params = ( Str('givenname', cli_name='first', - doc='first name', + doc='First name', ), Str('sn', cli_name='last', - doc='last name', + doc='Last name', ), Str('uid', cli_name='user', - doc='login name', + doc='Login name', primary_key=True, default_from=lambda givenname, sn: givenname[0] + sn, normalizer=lambda value: value.lower(), @@ -90,7 +90,7 @@ class user(LDAPObject): ), Str('homedirectory?', cli_name='homedir', - doc='home directory', + doc='Home directory', default_from=lambda uid: '/home/%s' % uid, ), Str('loginshell?', @@ -251,4 +251,3 @@ class user_unlock(LDAPQuery): textui.print_dashed('Unlocked user "%s".' % keys[-1]) api.register(user_unlock) - -- cgit