#!/bin/sh # test some simple LDAP and CLDAP operations if [ $# -lt 3 ]; then cat < /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 $SERVER $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 done # only do the ldb tests when not in quick mode - they are quite slow, and ldb # is now pretty well tested by the rest of the quick tests anyway test "$TORTURE_QUICK" = "yes" || { LDBDIR=lib/ldb export LDBDIR testit "ldb" $LDBDIR/tests/test-tdb.sh } SCRIPTDIR=../testprogs/ejs testit "ejs ldap" $SCRIPTDIR/ldap.js $CONFIGURATION $SERVER -U$USERNAME%$PASSWORD testok $0 $failed