mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
radius-test: fixed wrong password test
This commit is contained in:
@@ -51,7 +51,7 @@ if test -z "$IP";then
|
||||
fi
|
||||
echo "Detected IP: $IP"
|
||||
|
||||
printf "test\ntestuser\n" >pass-radius.tmp
|
||||
printf "testuser\n" >pass-radius.tmp
|
||||
openconnect $IP:$PORT_OCSERV -u test --passwd-on-stdin -v --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --cookieonly < pass-radius.tmp
|
||||
if test $? = 0;then
|
||||
echo "Authentication with wrong password succeeded!"
|
||||
|
||||
Reference in New Issue
Block a user