svn commit: samba r18246 - in
branches/SAMBA_4_0/source/script/tests: .
abartlet at samba.org
abartlet at samba.org
Fri Sep 8 04:35:01 GMT 2006
Author: abartlet
Date: 2006-09-08 04:35:00 +0000 (Fri, 08 Sep 2006)
New Revision: 18246
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18246
Log:
Let our openldap slapd.conf include the magic to have DIGEST-MD5 on
the server-side work.
Modified:
branches/SAMBA_4_0/source/script/tests/mktestsetup.sh
Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/mktestsetup.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/mktestsetup.sh 2006-09-08 04:04:30 UTC (rev 18245)
+++ branches/SAMBA_4_0/source/script/tests/mktestsetup.sh 2006-09-08 04:35:00 UTC (rev 18246)
@@ -281,11 +281,17 @@
pidfile $PIDDIR/slapd.pid
argsfile $LDAPDIR/slapd.args
-
+sasl-realm $DNSNAME
access to * by * write
-allow update_anon bind_anon_dn
+authz-regexp
+ uid=([^,]*),cn=$DNSNAME,cn=digest-md5,cn=auth
+ ldap:///$BASEDN??sub?(samAccountName=$1)
+authz-regexp
+ uid=([^,]*),cn=([^,]*),cn=digest-md5,cn=auth
+ ldap:///$BASEDN??sub?(samAccountName=$1)
+
include $LDAPDIR/modules.conf
defaultsearchbase "$BASEDN"
@@ -293,6 +299,8 @@
backend bdb
database bdb
suffix "$BASEDN"
+rootdn "cn=Manager,$BASEDN"
+rootpw $PASSWORD
directory $LDAPDIR/db
index objectClass eq
index samAccountName eq
@@ -302,6 +310,7 @@
PROVISION_OPTIONS="$CONFIGURATION --host-name=$NETBIOSNAME --host-ip=127.0.0.1"
PROVISION_OPTIONS="$PROVISION_OPTIONS --quiet --domain $DOMAIN --realm $REALM"
PROVISION_OPTIONS="$PROVISION_OPTIONS --adminpass $PASSWORD --root=$ROOT"
+PROVISION_OPTIONS="$PROVISION_OPTIONS --simple-bind-dn=cn=Manager,$BASEDN --password=$PASSWORD --root=$ROOT"
$srcdir/bin/smbscript $srcdir/setup/provision $PROVISION_OPTIONS
LDAPI="ldapi://$LDAPDIR/ldapi"
More information about the samba-cvs
mailing list