Sorry, we cannot push this patch because I realize that it breaks API
compatibility.
The proper fix is add this code to find method (not tested)
def get_options(self):
for option in super(user_find, self).get_options():
if option.name == "nsaccountlock":
On 09.10.2015 19:17, Gabe Alford wrote:
Hello,
This patch enables nsaccountlock in user.py cli. It is very handy to
be able to search and find users with disabled/enabled accounts, etc.
That said, I couldn't find why it was no_option in the first place, so
I am not 100% sure if it breaks
On 13.10.2015 18:53, Gabe Alford wrote:
Thanks Martin,
What about adding no_create and no_update flags?
Gabe
Yes, that may work, also please increment minor version of API and add
ticket into commit message
(https://fedorahosted.org/freeipa/ticket/5366)
Thanks Martin,
What about adding no_create and no_update flags?
Gabe
On Tue, Oct 13, 2015 at 9:54 AM, Martin Basti wrote:
>
>
> On 09.10.2015 19:17, Gabe Alford wrote:
>
> Hello,
>
> This patch enables nsaccountlock in user.py cli. It is very handy to be
> able to search
Updated patch attached.
On Tue, Oct 13, 2015 at 10:59 AM, Martin Basti wrote:
>
>
> On 13.10.2015 18:53, Gabe Alford wrote:
>
> Thanks Martin,
>
> What about adding no_create and no_update flags?
>
> Gabe
>
> Yes, that may work, also please increment minor version of API and
Hello,
This patch enables nsaccountlock in user.py cli. It is very handy to be
able to search and find users with disabled/enabled accounts, etc. That
said, I couldn't find why it was no_option in the first place, so I am not
100% sure if it breaks something or the reasoning behind no_option.