summaryrefslogtreecommitdiff
path: root/source4/script/tests/mktestsetup.sh
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-09-13 10:26:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:33 -0500
commitf425072ed961f8cb832c8515ed71766142f07138 (patch)
tree19a04ecec5774e3f8f827a94451d8414fb533190 /source4/script/tests/mktestsetup.sh
parentc706319c8f0fe0af828da5f75c2dc673cecadf36 (diff)
downloadsamba-f425072ed961f8cb832c8515ed71766142f07138.tar.gz
samba-f425072ed961f8cb832c8515ed71766142f07138.tar.bz2
samba-f425072ed961f8cb832c8515ed71766142f07138.zip
r18459: Set access to test LDAP server as system to anonymous, but also note
the correct authz-regexp for future use. Fail to test if slapd fails and TEST_LDAP=yes (This used to be commit 1daf4e7bd47df4f127447ab9b5d583bbe7b2a10a)
Diffstat (limited to 'source4/script/tests/mktestsetup.sh')
-rwxr-xr-xsource4/script/tests/mktestsetup.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/script/tests/mktestsetup.sh b/source4/script/tests/mktestsetup.sh
index f107f54ace..9453a2f0cd 100755
--- a/source4/script/tests/mktestsetup.sh
+++ b/source4/script/tests/mktestsetup.sh
@@ -101,6 +101,8 @@ cat >$CONFFILE<<EOF
server max protocol = SMB2
notify:inotify = false
+system:anonymous = true
+
[tmp]
path = $TMPDIR
read only = no
@@ -292,13 +294,15 @@ argsfile $LDAPDIR/slapd.args
sasl-realm $DNSNAME
access to * by * write
+allow update_anon
+
authz-regexp
uid=([^,]*),cn=$DNSNAME,cn=digest-md5,cn=auth
- ldap:///$BASEDN??sub?(samAccountName=$1)
+ ldap:///$BASEDN??sub?(samAccountName=\$1)
authz-regexp
uid=([^,]*),cn=([^,]*),cn=digest-md5,cn=auth
- ldap:///$BASEDN??sub?(samAccountName=$1)
+ ldap:///$BASEDN??sub?(samAccountName=\$1)
include $LDAPDIR/modules.conf