svn commit: samba r14717 - in
branches/SAMBA_4_0/source/script/tests: .
abartlet at samba.org
abartlet at samba.org
Sat Mar 25 11:58:05 GMT 2006
Author: abartlet
Date: 2006-03-25 11:58:05 +0000 (Sat, 25 Mar 2006)
New Revision: 14717
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14717
Log:
Don't provision the system as 'localhost', but instead list localhost
as an alias. The netbios name is then 'localtest', which will resolve
with netbios and work with krb5.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/script/tests/selftest.sh
Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/selftest.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/selftest.sh 2006-03-25 11:52:53 UTC (rev 14716)
+++ branches/SAMBA_4_0/source/script/tests/selftest.sh 2006-03-25 11:58:05 UTC (rev 14717)
@@ -8,6 +8,7 @@
SRCDIR=`pwd`
ROOT=$USER
SERVER=localhost
+NETBIOSNAME=localtest
if test -z "$ROOT"; then
ROOT=$LOGNAME
fi
@@ -101,7 +102,8 @@
cat >$CONFFILE<<EOF
[global]
- netbios name = $SERVER
+ netbios name = $NETBIOSNAME
+ netbios aliases = $SERVER
workgroup = $DOMAIN
realm = $REALM
private dir = $PRIVATEDIR
@@ -157,7 +159,7 @@
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 @@
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
More information about the samba-cvs
mailing list