[Freeipa-devel] [PATCH 0060] Do not translate trust type and direction with --raw in trust-show

Ana Krivokapic akrivoka at redhat.com
Tue May 28 15:32:27 UTC 2013


On 05/28/2013 01:20 PM, Tomas Babej wrote:
> On 05/27/2013 03:04 PM, Ana Krivokapic wrote:
>> On 05/27/2013 02:38 PM, Tomas Babej wrote:
>>> Hi,
>>>
>>> In trust_show command, make sure that --raw flag is honoured.
>>> Attributes ipanttrusttype and ipanttrustdirection are no longer
>>> translated to strings from their raw ldap values when --raw is
>>> used.
>>>
>>> https://fedorahosted.org/freeipa/ticket/3525
>>>
>>> Tomas
>> The patch causes these two attributes to not be displayed, when --raw
>> switch is used:
>>
>> [akrivoka at vm-040 freeipa]$ ipa trust-show addomain.example.com
>>    Realm name: addomain.example.com
>>    Domain NetBIOS name: ADDOMAIN
>>    Domain Security Identifier: S-1-5-21-115633519-1816729995-712395322
>>    Trust direction: Two-way trust
>>    Trust type: Active Directory domain
>>
>> [akrivoka at vm-040 freeipa]$ ipa trust-show addomain.example.com --raw
>>    cn: addomain.example.com
>>    ipantflatname: ADDOMAIN
>>    ipanttrusteddomainsid: S-1-5-21-115633519-1816729995-712395322
>>
> Thanks. Updated patch attached.
>
> I modified trust-find according to the new behaviour.
>
> Tomas
>
>
Works nicely.

Please just amend the commit message to mention that the trust-find
command is also affected.

ACK.

-- 
Regards,

Ana Krivokapic
Associate Software Engineer
FreeIPA team
Red Hat Inc.




More information about the Freeipa-devel mailing list