#!/bin/sh S3URL=$1 if [ -z "$S3URL" ]; then rm -f samba3.ldb S3URL="tdb://samba3.ldb" echo "Adding samba3 LDIF..." $VALGRIND ldbadd -H tdb://samba3.ldb < samba3.ldif || exit 1 fi rm -f samba4.ldb echo "Initial samba4 LDIF..." $VALGRIND ldbadd -H tdb://samba4.ldb <