svn commit: samba r21692 - in
branches/SAMBA_4_0/source/script/tests: .
abartlet at samba.org
abartlet at samba.org
Mon Mar 5 00:18:38 GMT 2007
Author: abartlet
Date: 2007-03-05 00:18:38 +0000 (Mon, 05 Mar 2007)
New Revision: 21692
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21692
Log:
Test with LDAP, but without the non-block testing. This is not
compatible with the TLS layer at the moment.
https://bugzilla.samba.org/show_bug.cgi?id=4431
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/script/tests/test_ldap.sh
Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_ldap.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_ldap.sh 2007-03-05 00:11:46 UTC (rev 21691)
+++ branches/SAMBA_4_0/source/script/tests/test_ldap.sh 2007-03-05 00:18:38 UTC (rev 21692)
@@ -8,13 +8,6 @@
exit 1;
fi
-# see if we support ldaps
-if grep HAVE_LIBGNUTLS.1 include/config.h > /dev/null > /dev/null; then
- PROTOCOLS="ldap ldaps"
-else
- PROTOCOLS="ldap"
-fi
-
SERVER="$1"
USERNAME="$2"
PASSWORD="$3"
@@ -23,12 +16,17 @@
. $incdir/test_functions.sh
-for p in $PROTOCOLS; do
- for options in "" "--option=socket:testnonblock=true" "-U$USERNAME%$PASSWORD --option=socket:testnonblock=true" "-U$USERNAME%$PASSWORD"; do
- testit "TESTING PROTOCOL $p with options $options" ../testprogs/blackbox/test_ldb.sh $p $options
- done
+p=ldap
+for options in "" "--option=socket:testnonblock=true" "-U$USERNAME%$PASSWORD --option=socket:testnonblock=true" "-U$USERNAME%$PASSWORD"; do
+ testit "TESTING PROTOCOL $p with options $options" ../testprogs/blackbox/test_ldb.sh $p $options
done
-
+# see if we support ldaps
+if grep ENABLE_GNUTLS.1 include/config.h > /dev/null; then
+ p=ldaps
+ for options in "" "-U$USERNAME%$PASSWORD"; do
+ testit "TESTING PROTOCOL $p with options $options" ../testprogs/blackbox/test_ldb.sh $p $options
+ done
+fi
for t in LDAP-CLDAP LDAP-BASIC LDAP-SCHEMA LDAP-UPTODATENESS
do
testit "$t" bin/smbtorture $TORTURE_OPTIONS "-U$USERNAME%$PASSWORD" //$SERVER/_none_ $t
More information about the samba-cvs
mailing list