[Freeipa-devel] [PATCH 0060] Do not translate trust type and direction with --raw in trust-show
Tomas Babej
tbabej at redhat.com
Tue May 28 11:20:04 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-tbabej-0060-2-Do-not-translate-trust-type-and-direction-with-raw-i.patch
Type: text/x-patch
Size: 3557 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130528/62b65e04/attachment.bin>
More information about the Freeipa-devel
mailing list