mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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.
This commit is contained in:
committed by
Adam Young
parent
b26e265961
commit
fa75959486
@@ -510,7 +510,7 @@ class test_user(Declarative):
|
||||
desc='Create %r with a full address' % user1,
|
||||
command=(
|
||||
'user_add', [user1], dict(givenname=u'Test', sn=u'User1',
|
||||
street=u'123 Maple Rd', locality=u'Anytown', st=u'MD',
|
||||
street=u'123 Maple Rd', l=u'Anytown', st=u'MD',
|
||||
telephonenumber=u'410-555-1212',)
|
||||
),
|
||||
expected=dict(
|
||||
@@ -530,7 +530,7 @@ class test_user(Declarative):
|
||||
cn=[u'Test User1'],
|
||||
initials=[u'TU'],
|
||||
street=[u'123 Maple Rd'],
|
||||
locality=[u'Anytown'],
|
||||
l=[u'Anytown'],
|
||||
st=[u'MD'],
|
||||
telephonenumber=[u'410-555-1212'],
|
||||
ipauniqueid=[fuzzy_uuid],
|
||||
|
||||
Reference in New Issue
Block a user