Confirm which version of python-freeipa you are using. I started using v1.0
and had to change pretty much all function args.
Since v1.0, all args have a prefix of a_ or o_. I never used host_mod but
it should be o_userclass.

Cheers,
*João Baúto*
---------------

*Scientific Computing and Software Platform*
Champalimaud Research
Champalimaud Center for the Unknown
Av. Brasília, Doca de Pedrouços
1400-038 Lisbon, Portugal
fchampalimaud.org <https://www.fchampalimaud.org/>


Ronald Wimmer <[email protected]> escreveu no dia segunda, 21/09/2020 à(s)
12:26:

> On 21.09.20 13:18, João Baúto wrote:
>
> If you set the arg o_sizelimit to 0, it will get all hosts. The default
> value (None) only fetches the first 100 entries which applies to all
> commands.
>
>    - o_sizelimit (int, min value 0, max value 2147483647) – Maximum
>    number of entries returned (0 is unlimited)
>
> Thanks a lot. This was helpful! Any ideas why I get a BadRequest-Response
> when doing a host_mod?
>
> Cheers,
> Ronald
>
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]

Reply via email to