summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-02-18 00:12:04 -0600
committerAdam Young <ayoung@redhat.com>2011-02-18 10:10:35 -0500
commitfa75959486ddbd0be00f3611457e940215635a3a (patch)
tree85b19febf95849b29daebdbb0212bdab03b51312 /ipalib
parentb26e265961e929547469e37e0f0927d9965b5264 (diff)
downloadfreeipa-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')
-rw-r--r--ipalib/plugins/user.py4
1 files changed, 2 insertions, 2 deletions
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'),