summaryrefslogtreecommitdiffstats
path: root/tests/test35-schema-dribble/dse.ldif
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2013-05-23 19:40:27 -0400
committerNalin Dahyabhai <nalin@redhat.com>2013-05-23 19:46:59 -0400
commitfd975c77fda8dc2485eede3c15aee3fc3d236a9f (patch)
tree50393edced9b28c9cdfd1f11f74791993a95c4f4 /tests/test35-schema-dribble/dse.ldif
parentdd71353dad22dcb07d1c9e90c7c634aa78ec0f77 (diff)
downloadslapi-nis-fd975c77fda8dc2485eede3c15aee3fc3d236a9f.tar.gz
slapi-nis-fd975c77fda8dc2485eede3c15aee3fc3d236a9f.tar.xz
slapi-nis-fd975c77fda8dc2485eede3c15aee3fc3d236a9f.zip
Add %sort() and %dribble_merge()
Add %sort(), which binary-sorts a single list of values, and %dribble_merge(), which takes a quoted length, a separator, and some expressions and produces a list of lists of values using the separator, where no list is larger than the length.
Diffstat (limited to 'tests/test35-schema-dribble/dse.ldif')
-rw-r--r--tests/test35-schema-dribble/dse.ldif14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test35-schema-dribble/dse.ldif b/tests/test35-schema-dribble/dse.ldif
new file mode 100644
index 0000000..965bd7e
--- /dev/null
+++ b/tests/test35-schema-dribble/dse.ldif
@@ -0,0 +1,14 @@
+dn: cn=compat-group,cn=Schema Compatibility,cn=plugins,cn=config
+objectClass: top
+objectClass: extensibleObject
+cn: compat-group
+schema-compat-container-group: cn=compat,cn=accounts,dc=example,dc=com
+schema-compat-container-rdn: ou=group
+schema-compat-check-access: yes
+schema-compat-search-base: cn=groups,cn=Accounts,dc=example,dc=com
+schema-compat-search-filter: (objectClass=posixGroup)
+schema-compat-entry-rdn: cn=%{cn}
+schema-compat-entry-attribute: objectclass=extensibleObject
+schema-compat-entry-attribute: memberUids=%dribble_merge("128",",","%sort(\"%deref_r(\\\"member\\\",\\\"uid\\\")\")")
+schema-compat-entry-attribute: gidNumber=%{gidNumber}
+