[Freeipa-devel] [PATCH] ipa trust-add command should be interactive

Gabe Alford redhatrises at gmail.com
Tue Jul 22 23:01:02 UTC 2014


Forgot about --trust-secret. Here is an updated patch.


On Mon, Jul 21, 2014 at 2:31 AM, Jan Cholasta <jcholast at redhat.com> wrote:

> On 21.7.2014 10:28, Martin Kosek wrote:
>
>> On 07/21/2014 09:56 AM, Jan Cholasta wrote:
>>
>>> Hi,
>>>
>>> On 16.7.2014 05:48, Gabe Alford wrote:
>>>
>>>> Hello,
>>>>
>>>> Adds AD admin and password to interactive commands.
>>>> https://fedorahosted.org/freeipa/ticket/3034
>>>>
>>>> Thanks,
>>>>
>>>> Gabe
>>>>
>>>
>>> I think that instead of making the parameters mandatory, you should
>>> instead set
>>> alwaysask=True on them.
>>>
>>> Honza
>>>
>>>
>> Trust can be established either with user+password options OR with
>> --trust-secret option - i.e. you cannot use mandatory options nor
>> alwaysask.
>>
>
> Ah, right.
>
>
>
>> This would rather lead to interactive_prompt_callback checking if any of
>> authentication method is passed and asking for them if they aren't.
>>
>
> +1
>
>
>> Martin
>>
>>
>
> --
> Jan Cholasta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140722/4939734f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rga-0024-2-ipa-trust-add-command-should-be-interactive.patch
Type: text/x-patch
Size: 2471 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140722/4939734f/attachment.bin>


More information about the Freeipa-devel mailing list