From f265469430a5eb532d2afa754ab58d93ddbf4d78 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 23 Nov 2010 14:12:47 -0500 Subject: - bump to 0.20 --- doc/format-specifiers.txt | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/format-specifiers.txt b/doc/format-specifiers.txt index ed6ef65..3e31aac 100644 --- a/doc/format-specifiers.txt +++ b/doc/format-specifiers.txt @@ -176,6 +176,37 @@ Because the plugin attempts to track updates, the ''THISATTRIBUTE'' attribute should be indexed and defined with a proper syntax and equality test in the directory server schema. +=== deref_f === + + deref_f(''THISATTRIBUTE'',''FILTER'',''THATATTRIBUTE'') + +Returns a list of the values of ''THATATTRIBUTE'' for directory entries +named by this entry's ''THISATTRIBUTE'' which match ''FILTER''. Its function +is similar in principle to the indirect CoS functionality provided by the +directory server. + +Here are some example entries: + + dn: cn=group + member: uid=bob + member: uid=pete + + dn: uid=bob + uid: bob + + dn: uid=pete + uid: pete + +And here's how various expressions evaluate for ''cn=group'': + + %deref("member","objectclass=*","foo") -> no values + %deref("member","objectclass=*","uid") -> (bob,pete) + %deref("member","uid=pete","uid") -> (pete) + +Because the plugin attempts to track updates, the ''THISATTRIBUTE'' +attribute should be indexed and defined with a proper syntax and +equality test in the directory server schema. + === deref_r === deref_r(''ATTRIBUTE''[,''OTHERATTRIBUTE''[...]],''VALUEATTRIBUTE'') @@ -349,7 +380,8 @@ The result list is, therefore, empty. Because the plugin attempts to track updates, every attribute used here (except for ''VALUEATTRIBUTE'') should be indexed and defined with a -proper syntax and equality test in the directory server schema. +proper syntax and equality test in the directory server schema. This +function can also be invoked as ''deref_fr''. === referred === -- cgit