Skip to content
Snippets Groups Projects
Commit a77c0ce5 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Test anonymous whoami

parent ca8ab9d8
Branches
Tags
No related merge requests found
......@@ -46,9 +46,18 @@ for i in 0 1 2 3 4 5; do
sleep 5
done
echo "Testing ldapwhoami ..."
$LDAPWHOAMI -h $LOCALHOST -p $PORT \
-D "$MANAGERDN" -w $PASSWD
echo "Testing ldapwhoami as anonymous..."
$LDAPWHOAMI -h $LOCALHOST -p $PORT
RC=$?
if test $RC != 0 ; then
echo "ldapwhoami failed ($RC)!"
kill -HUP $PID
exit $RC
fi
echo "Testing ldapwhoami as ${MANAGERDN}..."
$LDAPWHOAMI -h $LOCALHOST -p $PORT -D "$MANAGERDN" -w $PASSWD
RC=$?
if test $RC != 0 ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment