summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2010-11-19 13:31:19 -0500
committerNalin Dahyabhai <nalin@redhat.com>2010-11-19 13:31:19 -0500
commit08de7f07e72734b5685bc5a0e14e2f994f0166f7 (patch)
tree72c619b82527ba594fe7810efa2864e700c8217a
parent42b9425d13428247ca168057ed7689f5ad65e341 (diff)
downloadslapi-nis-08de7f07e72734b5685bc5a0e14e2f994f0166f7.tar.gz
slapi-nis-08de7f07e72734b5685bc5a0e14e2f994f0166f7.tar.xz
slapi-nis-08de7f07e72734b5685bc5a0e14e2f994f0166f7.zip
- yeah, we *really* need to be able to search on this attribute
-rw-r--r--doc/format-specifiers.txt12
-rw-r--r--tests/config/schema/00core.ldif1
2 files changed, 9 insertions, 4 deletions
diff --git a/doc/format-specifiers.txt b/doc/format-specifiers.txt
index 86548de..60aba66 100644
--- a/doc/format-specifiers.txt
+++ b/doc/format-specifiers.txt
@@ -173,7 +173,8 @@ And here's how various expressions evaluate for ''cn=group'':
%deref("member","uid") -> (bob,pete)
Because the plugin attempts to track updates, the ''THISATTRIBUTE''
-attribute should be indexed.
+attribute should be indexed and defined with a proper syntax and
+equality test in the directory server schema.
=== deref_r ===
@@ -259,7 +260,8 @@ for the previous set of entries produces this set of entries:
The result list is pulled from this set of entries.
Because the plugin attempts to track updates, every attribute used here
-(except for ''VALUEATTRIBUTE'') should be indexed.
+(except for ''VALUEATTRIBUTE'') should be indexed and defined with a
+proper syntax and equality test in the directory server schema.
=== referred ===
@@ -290,7 +292,8 @@ And here's how various expressions evaluate for ''cn=group'', if
%referred("SET","memberof","uid") -> (bob,pete)
Because the plugin performs searches internally, ''THATATTRIBUTE''
-should be indexed.
+should be indexed and defined with a proper syntax and equality test in
+the directory server schema.
=== referred_r ===
@@ -330,7 +333,8 @@ the entries with ''uid'' values are in a set named ''people'':
%referred("people","memberof","uid") -> (bob,pete)
Because the plugin performs searches internally, every attribute used
-here (except for ''VALUEATTRIBUTE'') should be indexed.
+here (except for ''VALUEATTRIBUTE'') should be indexed and defined with
+a proper syntax and equality test in the directory server schema.
=== merge ===
diff --git a/tests/config/schema/00core.ldif b/tests/config/schema/00core.ldif
index 87f1463..610d471 100644
--- a/tests/config/schema/00core.ldif
+++ b/tests/config/schema/00core.ldif
@@ -432,6 +432,7 @@ attributeTypes: ( 2.5.4.7 NAME ( 'l' 'locality' 'localityname' )
#
attributeTypes: ( 2.5.4.31 NAME 'member'
SUP distinguishedName
+ EQUALITY distinguishedNameMatch
X-ORIGIN 'RFC 4519' )
#
################################################################################