summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorNadezhda Ivanova <nivanova@samba.org>2010-09-26 11:37:00 -0700
committerNadezhda Ivanova <nivanova@samba.org>2010-09-26 15:36:09 -0700
commit3e08965369c4a03c5c7b939f72a1b3ff0874059f (patch)
treeee6cc3342d10c947347be13523dd052b6ae3d289 /source4
parentdc9991ab0e191fe5b7dadbcf1d9e57b9ecbd7958 (diff)
downloadsamba-3e08965369c4a03c5c7b939f72a1b3ff0874059f.tar.gz
samba-3e08965369c4a03c5c7b939f72a1b3ff0874059f.tar.bz2
samba-3e08965369c4a03c5c7b939f72a1b3ff0874059f.zip
s4-tests: Removed search tests with anonymous credentials as they fail againts Windows
These tests will fail in make test as well if the acl_read module is enabled.
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/extended_dn_in.c2
-rwxr-xr-xsource4/selftest/tests.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_in.c b/source4/dsdb/samdb/ldb_modules/extended_dn_in.c
index 78f0426ce9..c1afbea177 100644
--- a/source4/dsdb/samdb/ldb_modules/extended_dn_in.c
+++ b/source4/dsdb/samdb/ldb_modules/extended_dn_in.c
@@ -358,7 +358,7 @@ static int extended_dn_in_fix(struct ldb_module *module, struct ldb_request *req
base_dn_scope,
base_dn_filter,
base_dn_attrs,
- NULL,
+ req->controls,
ac, extended_base_callback,
req);
LDB_REQ_SET_LOCATION(down_req);
diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh
index 7af37883ee..8918dc200d 100755
--- a/source4/selftest/tests.sh
+++ b/source4/selftest/tests.sh
@@ -146,7 +146,7 @@ echo "OPTIONS $TORTURE_OPTIONS"
# Simple tests for LDAP and CLDAP
-for options in "" "--option=socket:testnonblock=true" "-U\$USERNAME%\$PASSWORD --option=socket:testnonblock=true" "-U\$USERNAME%\$PASSWORD" "-U\$USERNAME%\$PASSWORD -k yes" "-U\$USERNAME%\$PASSWORD -k no" "-U\$USERNAME%\$PASSWORD -k no --sign" "-U\$USERNAME%\$PASSWORD -k no --encrypt" "-U\$USERNAME%\$PASSWORD -k yes --encrypt" "-U\$USERNAME%\$PASSWORD -k yes --sign"; do
+for options in "-U\$USERNAME%\$PASSWORD --option=socket:testnonblock=true" "-U\$USERNAME%\$PASSWORD" "-U\$USERNAME%\$PASSWORD -k yes" "-U\$USERNAME%\$PASSWORD -k no" "-U\$USERNAME%\$PASSWORD -k no --sign" "-U\$USERNAME%\$PASSWORD -k no --encrypt" "-U\$USERNAME%\$PASSWORD -k yes --encrypt" "-U\$USERNAME%\$PASSWORD -k yes --sign"; do
plantestsuite "samba4.ldb.ldap with options $options (dc)" dc $bbdir/test_ldb.sh ldap \$SERVER $options
done
# see if we support ldaps
@@ -154,11 +154,11 @@ done
CONFIG_H="$samba4bindir/default/source4/include/config.h"
}
if grep ENABLE_GNUTLS.1 $CONFIG_H > /dev/null; then
- for options in "" "-U\$USERNAME%\$PASSWORD"; do
+ for options in "-U\$USERNAME%\$PASSWORD"; do
plantestsuite "samba4.ldb.ldaps with options $options (dc)" dc $bbdir/test_ldb.sh ldaps \$SERVER_IP $options
done
fi
-for options in "" "-U\$USERNAME%\$PASSWORD"; do
+for options in "-U\$USERNAME%\$PASSWORD"; do
plantestsuite "samba4.ldb.ldapi with options $options (dc:local)" dc:local $bbdir/test_ldb.sh ldapi \$PREFIX_ABS/dc/private/ldapi $options
done
for t in `$smb4torture --list | grep "^LDAP-"`