diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-02-18 00:12:04 -0600 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-02-18 10:10:35 -0500 |
commit | fa75959486ddbd0be00f3611457e940215635a3a (patch) | |
tree | 85b19febf95849b29daebdbb0212bdab03b51312 /ipalib/plugins | |
parent | b26e265961e929547469e37e0f0927d9965b5264 (diff) | |
download | freeipa-fa75959486ddbd0be00f3611457e940215635a3a.tar.gz freeipa-fa75959486ddbd0be00f3611457e940215635a3a.tar.xz freeipa-fa75959486ddbd0be00f3611457e940215635a3a.zip |
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.
Diffstat (limited to 'ipalib/plugins')
-rw-r--r-- | ipalib/plugins/user.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py index f5eea38b4..0ea3c231f 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'), |