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

Ana Krivokapic akrivoka at redhat.com
Mon May 27 13:04:05 UTC 2013


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




-- 
Regards,

Ana Krivokapic
Associate Software Engineer
FreeIPA team
Red Hat Inc.




More information about the Freeipa-devel mailing list