From 9676f4ce4c300c8b78f955feec073bcbca67c0c1 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 29 Jan 2007 07:46:02 +0000 Subject: r21043: Work towards allowing Fedora DS to backend Samba4 in 'make test'. Andrew Bartlett (This used to be commit 92cea0b79011e9b86ab7e782c83ad5964a5925bd) --- source4/script/tests/mktestsetup.sh | 58 +++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/source4/script/tests/mktestsetup.sh b/source4/script/tests/mktestsetup.sh index e76d59e72b..988f44f664 100755 --- a/source4/script/tests/mktestsetup.sh +++ b/source4/script/tests/mktestsetup.sh @@ -57,6 +57,8 @@ KRB5_CONFIG=$ETCDIR/krb5.conf PRIVATEDIR=$PREFIX_ABS/private NCALRPCDIR=$PREFIX_ABS/ncalrpc LOCKDIR=$PREFIX_ABS/lockdir + +#TLS and PKINIT crypto blobs TLSDIR=$PRIVATEDIR/tls DHFILE=$TLSDIR/dhparms.pem CAFILE=$TLSDIR/ca.pem @@ -68,10 +70,15 @@ ADMINKEYFILE=$TLSDIR/adminkey.pem REQADMIN=$TLSDIR/req-admin.der ADMINKEYFILE=$TLSDIR/adminkey.pem ADMINCERTFILE=$TLSDIR/admincert.pem + WINBINDD_SOCKET_DIR=$PREFIX_ABS/winbind_socket CONFIGURATION="--configfile=$CONFFILE" LDAPDIR=$PREFIX_ABS/ldap SLAPD_CONF=$LDAPDIR/slapd.conf +FEDORA_DS_INF=$LDAPDIR/fedorads.inf +FEDORA_DS_INITIAL_LDIF=$LDAPDIR/fedorads-initial-ldif.inf +FEDORA_DS_LDAP_PORT=3389 + export CONFIGURATION export CONFFILE export SLAPD_CONF @@ -480,6 +487,54 @@ cat > $LDAPDIR/db/DB_CONFIG <$FEDORA_DS_INF <$FEDORA_DS_INITIAL_LDIF<&2 +$srcdir/bin/ad2oLschema $CONFIGURATION -H $PRIVATEDIR/sam.ldb --option=convert:target=fedora-ds -I $srcdir/setup/schema-map-fedora-ds-1.0 -O $LDAPDIR/99_ad.ldif >&2 + #Now create an LDAP baseDN $srcdir/bin/smbscript $srcdir/setup/provision $PROVISION_OPTIONS --ldap-base >&2 @@ -549,6 +606,7 @@ echo "SERVER=$SERVER" echo "NETBIOSNAME=$NETBIOSNAME" echo "LDAPI=$LDAPI" echo "LDAPI_ESCAPE=$LDAPI_ESCAPE" +echo "FEDORA_DS_LDAP_URI=$FEDORA_DS_LDAP_URI" echo "DOMAIN=$DOMAIN" echo "USERNAME=$USERNAME" echo "REALM=$REALM" -- cgit