On 01.10.20 18:10, Alexander Bokovoy wrote:
On to, 01 loka 2020, Ronald Wimmer via FreeIPA-users wrote:
> On 01.10.20 17:46, Alexander Bokovoy wrote:
>> On to, 01 loka 2020, Ronald Wimmer via FreeIPA-users wrote:
>>> Is it possible to set this flag by default for all new IPA hosts?
>>
>> I checked the code and there is no way to set it by default. You have to
>> explicitly specify --ok-as-delegate=true when adding hosts and services.
>
> Host are added and enrolled by issuing the ipa-client-install command
> which does not seem to have a flag for this. So my only chance is to
> do a host-mod afterwards?
Yes, without modifications.
Alternatively, you can add a small plugin that modifies default flags
for both services and hosts.
[..]
Thanks. That sounds interesting. I havent written an IPA plugin so far
but I will definitely do so now.
Cheers,
Ronald