Inconsistent response in API. For method user_add ipa returns a response with 'nsaccountlock' field presented as an array with one element: "TRUE" or "FALSE" eg. ["TRUE"], but in user_find method ipa returns 'nsaccountlock' field with just boolean value.
$ ipa -vvv user-add --first=tim --last=user tuser --setattr nsaccountlock=true "result": { ... "mepmanagedentry": [ "cn=tuser,cn=groups,cn=accounts,dc=example,dc=test" ], "nsaccountlock": [ "TRUE" ], ... "uidnumber": [ "1477600001" ] },
BZ https://bugzilla.redhat.com/show_bug.cgi?id=1922781 is related.
Metadata Update from @rcritten: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1922781
Metadata Update from @antorres: - Issue assigned to antorres
https://github.com/freeipa/freeipa/pull/5633
master:
Metadata Update from @antorres: - Custom field affects_doc adjusted to on - Custom field knownissue adjusted to on - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
ipa-4-9:
Log in to comment on this ticket.