Try to detect another KDC running.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17241 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-04-25 16:15:41 +00:00
parent 30503ce62c
commit 0571f5c745

View File

@@ -91,6 +91,11 @@ ${kdc} &
kdcpid=$! kdcpid=$!
sleep 2 sleep 2
if tail -1 messages.log | grep "No sockets" ; then
echo "The KDC failed to bind to any sockets, another KDC running ?"
exit 1
fi
exitcode=0 exitcode=0
echo "Getting client initial tickets" echo "Getting client initial tickets"