From fa75959486ddbd0be00f3611457e940215635a3a Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 18 Feb 2011 00:12:04 -0600 Subject: Fixed parameter for user city. Previously the user's city parameter is defined to use the 'locality' attribute. This was a problem because the attribute would be returned as 'l' by the directory server causing a mismatch. Now the parameter has been changed to use the 'l' attribute. --- ipalib/plugins/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipalib') diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py index f5eea38b..0ea3c231 100644 --- a/ipalib/plugins/user.py +++ b/ipalib/plugins/user.py @@ -179,13 +179,13 @@ class user(LDAPObject): cli_name='street', label=_('Street address'), ), - Str('locality?', + Str('l?', cli_name='city', label=_('City'), ), Str('st?', cli_name='state', - label=_('State'), + label=_('State/Province'), ), Int('postalcode?', label=_('ZIP'), -- cgit