summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-11-04 17:28:07 -0500
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-11-04 17:28:07 -0500
commit66e2322504d06eb8f6833dcbaaad92f2e7a5a261 (patch)
tree86fae315b1f6f42dddb32e05de0555fe15297470 /doc
parentb3eec3cda6d609383d554d731c2da492046bd204 (diff)
downloadslapi-nis-66e2322504d06eb8f6833dcbaaad92f2e7a5a261.tar.gz
slapi-nis-66e2322504d06eb8f6833dcbaaad92f2e7a5a261.tar.xz
slapi-nis-66e2322504d06eb8f6833dcbaaad92f2e7a5a261.zip
- add a note about "%link"
Diffstat (limited to 'doc')
-rw-r--r--doc/nis-design.txt14
-rw-r--r--doc/sch-design.txt14
2 files changed, 28 insertions, 0 deletions
diff --git a/doc/nis-design.txt b/doc/nis-design.txt
index 0e77239..d0d9c30 100644
--- a/doc/nis-design.txt
+++ b/doc/nis-design.txt
@@ -457,6 +457,20 @@ need to escape the double-quote using a '\' character. Naturally the
member: uid=pete
%collect("%{member}","%{membername}") -> ["uid=bob","uid=pete","jim"] (when a list is acceptable)
%collect("%{member}","%{membername}") -> FAIL (when a list is not acceptable)
+ * link(EXPRESSION,PAD[,SEPARATOR,EXPRESSION,PAD[,...])
+ - Evaluates each EXPRESSION in turn, padding each list of values using the
+ corresponding PAD value until they are all the same length, and then
+ producing a value using the first values from each list (separated by
+ the corresponding SEPARATOR), then using the second values from each
+ list, continuing until all lists have been exhausted.
+ - Example (examining "cn=group"):
+ dn: cn=group
+ cn: group
+ membername: jim
+ member: uid=bob
+ member: uid=pete
+ %link("%{member}","?","/","%{membername}","?") -> ["uid=bob/jim","uid=pete/?"] (when a list is acceptable)
+ %link("%{member}","-","/","%{membername}","") -> FAIL (when a list is not acceptable)
* ifeq(ATTRIBUTE,VALUE,MATCH,NOMATCH)
- Evaluates VALUE and compares it to the entry's values for ATTRIBUTE.
If there is at least one value which is considered equal according to
diff --git a/doc/sch-design.txt b/doc/sch-design.txt
index 05fb638..a94ad81 100644
--- a/doc/sch-design.txt
+++ b/doc/sch-design.txt
@@ -296,6 +296,20 @@ need to escape the double-quote using a '\' character. Naturally the
member: uid=pete
%collect("%{member}","%{membername}") -> ["uid=bob","uid=pete","jim"] (when a list is acceptable)
%collect("%{member}","%{membername}") -> FAIL (when a list is not acceptable)
+ * link(EXPRESSION,PAD[,SEPARATOR,EXPRESSION,PAD[,...])
+ - Evaluates each EXPRESSION in turn, padding each list of values using the
+ corresponding PAD value until they are all the same length, and then
+ producing a value using the first values from each list (separated by
+ the corresponding SEPARATOR), then using the second values from each
+ list, continuing until all lists have been exhausted.
+ - Example (examining "cn=group"):
+ dn: cn=group
+ cn: group
+ membername: jim
+ member: uid=bob
+ member: uid=pete
+ %link("%{member}","?","/","%{membername}","?") -> ["uid=bob/jim","uid=pete/?"] (when a list is acceptable)
+ %link("%{member}","-","/","%{membername}","") -> FAIL (when a list is not acceptable)
* ifeq(ATTRIBUTE,VALUE,MATCH,NOMATCH)
- Evaluates VALUE and compares it to the entry's values for ATTRIBUTE.
If there is at least one value which is considered equal according to