diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-09-28 23:04:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:09 -0500 |
commit | e6fbd02b90c4d7beb6d7dcac4beb9b73a0e25259 (patch) | |
tree | 6f14a2bbeb765b6dbc329f9fbb71ffd0aa09332c /source4/script/tests/selftest.sh | |
parent | 3b12c3bd34879d3682a7456d209d3ffdffa02069 (diff) | |
download | samba-e6fbd02b90c4d7beb6d7dcac4beb9b73a0e25259.tar.gz samba-e6fbd02b90c4d7beb6d7dcac4beb9b73a0e25259.tar.bz2 samba-e6fbd02b90c4d7beb6d7dcac4beb9b73a0e25259.zip |
r10595: Use a server name of 'localtest' not 'localhost', so we can move to
testing kerberos.
Andrew Bartlett
(This used to be commit a67b87cb6eba6548c4a74d7b46dd31d109fc538b)
Diffstat (limited to 'source4/script/tests/selftest.sh')
-rwxr-xr-x | source4/script/tests/selftest.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index e24d1f27dc..fc35e797f9 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -7,6 +7,7 @@ REALM=SAMBA.EXAMPLE.COM PASSWORD=penguin SRCDIR=`pwd` ROOT=$USER +SERVER=localtest if test -z "$ROOT"; then ROOT=$LOGNAME fi @@ -81,7 +82,7 @@ mkdir -p $PRIVATEDIR $LIBDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR cat >$CONFFILE<<EOF [global] - netbios name = LOCALHOST + netbios name = $SERVER workgroup = $DOMAIN realm = $REALM private dir = $PRIVATEDIR @@ -107,7 +108,7 @@ cat >$CONFFILE<<EOF [cifs] read only = no ntvfs handler = cifs - cifs:server = localhost + cifs:server = $SERVER cifs:user = $USERNAME cifs:password = $PASSWORD cifs:domain = $DOMAIN @@ -134,7 +135,8 @@ EOF export KRB5_CONFIG -./setup/provision $CONFIGURATION --quiet --domain $DOMAIN --realm $REALM \ +./setup/provision $CONFIGURATION --host-name=$SERVER --host-ip=127.0.0.1 \ + --quiet --domain $DOMAIN --realm $REALM \ --adminpass $PASSWORD --root=$ROOT || exit 1 if [ x"$RUN_FROM_BUILD_FARM" = x"yes" ];then @@ -153,7 +155,7 @@ START=`date` # give time for nbt server to register its names echo delaying for nbt name registration sleep 4 - bin/nmblookup $CONFIGURATION -U localhost localhost + bin/nmblookup $CONFIGURATION -U $SERVER $SERVER failed=0 |