diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-22 04:01:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:41 -0500 |
commit | 9f51b5716df0843e33bec259f5fc4afa0b5eeabd (patch) | |
tree | 4d40f73e28108a2f330392ceb43c78111bf12c15 /source4 | |
parent | 0eb6bc1257f5f3638d8ed524c61d0ab43c8c7f02 (diff) | |
download | samba-9f51b5716df0843e33bec259f5fc4afa0b5eeabd.tar.gz samba-9f51b5716df0843e33bec259f5fc4afa0b5eeabd.tar.bz2 samba-9f51b5716df0843e33bec259f5fc4afa0b5eeabd.zip |
r7834: added comment about the "((" search test
(This used to be commit 42c42f6611fa295ca60782661781d023c4fdaf8b)
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/lib/ldb/tests/test-generic.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/ldb/tests/test-generic.sh b/source4/lib/ldb/tests/test-generic.sh index aa5c5dfb88..9b59261003 100755 --- a/source4/lib/ldb/tests/test-generic.sh +++ b/source4/lib/ldb/tests/test-generic.sh @@ -37,6 +37,10 @@ $VALGRIND bin/ldbsearch '(|(uid=uham)(uid=uham)(objectclass=OpenLDAPperson))' | $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 |