ldb: Add more tests related to onelevel search
authorMatthieu Patou <mat@matws.net>
Sun, 30 Dec 2012 05:48:46 +0000 (21:48 -0800)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 8 Feb 2013 04:06:39 +0000 (15:06 +1100)
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/tests/test-tdb-features.sh
lib/ldb/tests/test.ldif

index 14437ffb9a53c7c045f1568bb5df387f2ddeeb9b..59e61ee5d2e380c45e7d84d18c2faf710c4f5644 100644 (file)
@@ -154,6 +154,11 @@ dn: cn=three,cn=t1,cn=TEST
 objectClass: oneclass
 cn: three
 test: one
+
+dn: cn=four,cn=three,cn=t1,cn=TEST
+objectClass: oneclass
+cn: four
+test: one
 EOF
 checkone 3 "cn=t1,cn=TEST" '(test=one)'
 checkone 1 "cn=t1,cn=TEST" '(cn=two)'
index fd37f0037e54da1050be5ae57328803e2f9d7779..d45cb9fb851527584533fb0b108a3599864b616a 100644 (file)
@@ -195,6 +195,15 @@ description: All Alumni Assoc Staff
 cn: Alumni Assoc Staff
 objectclass: groupofnames
 
+dn: cn=Finance, cn=Alumni Assoc Staff,ou=Groups,o=University of Michigan,c=TEST
+member: cn=Manager,o=University of Michigan,c=TEST
+member: cn=Ursula Hampster,ou=Alumni Association,ou=People,o=University of Mic
+ higan,c=TEST
+owner: cn=Manager,o=University of Michigan,c=TEST
+description: Finance group
+cn: Finance
+objectclass: groupofnames
+
 dn: ou=Alumni Association,ou=People,o=University of Michigan,c=TEST
 objectclass: organizationalUnit
 ou: Alumni Association