#!/bin/sh DOMAIN=SAMBADOMAIN REALM=$DOMAIN PASSWORD=penguin SRCDIR=`pwd` TMPDIR=$PREFIX/tmp if [ $# -lt 1 ] then echo "$0 PREFIX" exit fi PREFIX=$1 rm -f $PREFIX/private/* ./setup/provision.pl --quiet --outputdir $PREFIX/private --domain $DOMAIN --realm $REALM --adminpass $PASSWORD cat >$PREFIX/lib/smb.conf <