mirror of
https://github.com/samba-team/samba.git
synced 2025-11-25 00:23:52 +03:00
r10595: Use a server name of 'localtest' not 'localhost', so we can move to
testing kerberos. Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
985c6a8fcc
commit
a67b87cb6e
@@ -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
|
||||
|
||||
|
||||
@@ -20,6 +20,9 @@ transports="ncacn_np ncacn_ip_tcp"
|
||||
if [ $server = "localhost" ]; then
|
||||
transports="ncalrpc $transports"
|
||||
fi
|
||||
if [ $server = "localtest" ]; then
|
||||
transports="ncalrpc $transports"
|
||||
fi
|
||||
|
||||
failed=0
|
||||
for transport in $transports; do
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
$SRCDIR/script/tests/test_ejs.sh localhost $USERNAME $PASSWORD || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_ldap.sh localhost $USERNAME $PASSWORD || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_nbt.sh localhost || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_quick.sh //localhost/cifs $USERNAME $PASSWORD "" || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_rpc.sh localhost $USERNAME $PASSWORD $DOMAIN || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_session_key.sh localhost $USERNAME $PASSWORD $DOMAIN || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_binding_string.sh localhost $USERNAME $PASSWORD $DOMAIN || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_echo.sh localhost $USERNAME $PASSWORD $DOMAIN || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_posix.sh //localhost/tmp $USERNAME $PASSWORD "" || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_ejs.sh $SERVER $USERNAME $PASSWORD || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_ldap.sh $SERVER $USERNAME $PASSWORD || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_nbt.sh $SERVER || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_quick.sh //$SERVER/cifs $USERNAME $PASSWORD "" || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_rpc.sh $SERVER $USERNAME $PASSWORD $DOMAIN || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_session_key.sh $SERVER $USERNAME $PASSWORD $DOMAIN || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_binding_string.sh $SERVER $USERNAME $PASSWORD $DOMAIN || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_echo.sh $SERVER $USERNAME $PASSWORD $DOMAIN || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_posix.sh //$SERVER/tmp $USERNAME $PASSWORD "" || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_local.sh || failed=`expr $failed + $?`
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$SRCDIR/script/tests/test_ejs.sh localhost $USERNAME $PASSWORD || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_ldap.sh localhost $USERNAME $PASSWORD || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_nbt.sh localhost || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_quick.sh //localhost/cifs $USERNAME $PASSWORD "" || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_ejs.sh $SERVER $USERNAME $PASSWORD || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_ldap.sh $SERVER $USERNAME $PASSWORD || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_nbt.sh $SERVER || failed=`expr $failed + $?`
|
||||
$SRCDIR/script/tests/test_quick.sh //$SERVER/cifs $USERNAME $PASSWORD "" || failed=`expr $failed + $?`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user