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

Tomas Babej tbabej at redhat.com
Wed May 29 08:24:08 UTC 2013


On 05/28/2013 05:32 PM, Ana Krivokapic wrote:
> 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.
>
Commit message ammended.

Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-tbabej-0060-3-Do-not-translate-trust-type-and-direction-with-raw-i.patch
Type: text/x-patch
Size: 3628 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130529/8605f6b3/attachment.bin>


More information about the Freeipa-devel mailing list