Perfect, thanks!
Just curious... Can you explain why %deref_r works in this line, but just a
plain %deref does't?
default:schema-compat-entry-attribute:
member=cn=%deref_r("member","fqdn"),cn=adcomputers,cn=compat,$SUFFIX
Essentially I am just taking the fqdn of the ipahost member attribute and
inserting inline to form:
cn=<fqdn>,cn=adcomputers,cn=compat,dc=lab,dc=local
Doing member=%deref("member","fqdn") by itself returned all of the values I
needed, but when I tried to use it within a string I got no member attribute at
all.
I see nothing in the documentation that explains the difference in the output,
only a difference in how the return values are determined. Apparently I just
got lucky that %deref_r did what I wanted, as I don't suspect that it was
intended to work that differently than %deref (based on the documentation).
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure