diff options
-rwxr-xr-x | source4/script/tests/selftest.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index dc5da9b61f..6575708c7f 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -8,6 +8,7 @@ PASSWORD=penguin SRCDIR=`pwd` ROOT=$USER SERVER=localhost +NETBIOSNAME=localtest if test -z "$ROOT"; then ROOT=$LOGNAME fi @@ -101,7 +102,8 @@ EOF cat >$CONFFILE<<EOF [global] - netbios name = $SERVER + netbios name = $NETBIOSNAME + netbios aliases = $SERVER workgroup = $DOMAIN realm = $REALM private dir = $PRIVATEDIR @@ -157,7 +159,7 @@ export KRB5_CONFIG echo -n "PROVISIONING..." -./setup/provision $CONFIGURATION --host-name=$SERVER --host-ip=127.0.0.1 \ +./setup/provision $CONFIGURATION --host-name=$NETBIOSNAME --host-ip=127.0.0.1 \ --quiet --domain $DOMAIN --realm $REALM \ --adminpass $PASSWORD --root=$ROOT || exit 1 @@ -189,6 +191,9 @@ START=`date` bin/nmblookup $CONFIGURATION -U $SERVER $SERVER bin/nmblookup $CONFIGURATION -U $SERVER $SERVER bin/nmblookup $CONFIGURATION -U $SERVER $SERVER + bin/nmblookup $CONFIGURATION -U $SERVER $SERVER + bin/nmblookup $CONFIGURATION -U $SERVER $SERVER + bin/nmblookup $CONFIGURATION -U $SERVER $SERVER failed=0 |