> On ma, 28 kesä 2021, Joseph Fry via FreeIPA-users wrote:
> 
> %deref() looks for directly referenced entries' content. %deref_r()
> chases all links by the attribute until the end. It allows you do
> hierarchical group traversal. This is all described in the
> format-specifiers.txt documentation.
I think you misunderstand my question.

Both of these lines return the same thing (in my case, I realize that %deref_r 
would go deeper if it were necessary):
  memberA=%deref("member","fqdn")
  memberB=%deref_r("member","fqdn")

However if I try to use them inline like so:
  memberA=StringBefore%deref("member","fqdn")StringAfter
  memberB=StringBefore%deref_r("member","fqdn")StringAfter

Then I get no memberA attribute at all, while memberB gives me what I expect, 
which is 
  memberB=StringBefore<dereferenced fqdn>StringAfter
For each member value in the source.

Nothing in the documentation (that I have seen) explains this difference in 
behavior.  I spent hours trying to figure it out.
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to