svn commit: samba r7834 - in
branches/SAMBA_4_0/source/lib/ldb/tests: .
tridge at samba.org
tridge at samba.org
Wed Jun 22 04:01:27 GMT 2005
Author: tridge
Date: 2005-06-22 04:01:27 +0000 (Wed, 22 Jun 2005)
New Revision: 7834
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7834
Log:
added comment about the "((" search test
Modified:
branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh 2005-06-22 03:10:40 UTC (rev 7833)
+++ branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh 2005-06-22 04:01:27 UTC (rev 7834)
@@ -37,6 +37,10 @@
$VALGRIND bin/ldbsearch '(&(uid=uham)(uid=uham)(!(objectclass=xxx)))' || exit 1
$VALGRIND bin/ldbsearch '(&(objectclass=person)(uid=uham)(!(uid=uhamxx)))' uid \* \+ dn || exit 1
$VALGRIND bin/ldbsearch '(&(uid=uham)(uid=uha*)(title=*))' uid || exit 1
+
+# note that the "((" is treated as an attribute not an expression
+# this matches the openldap ldapsearch behaviour of looking for a '='
+# to see if the first argument is an expression or not
$VALGRIND bin/ldbsearch '((' uid || exit 1
$VALGRIND bin/ldbsearch '(objectclass=)' uid || exit 1
$VALGRIND bin/ldbsearch -b 'cn=Hampster Ursula,ou=Alumni Association,ou=People,o=University of Michigan,c=TEST' -s base "" sn || exit 1
More information about the samba-cvs
mailing list