mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
tests: allow test-gssapi to run on Debian
Check for alternate filename of ntlmssp.conf on Debian-based systems. Resolves #82 Signed-off-by: Mike Miller <mtmiller@debian.org>
This commit is contained in:
committed by
Nikos Mavrogiannopoulos
parent
9f0776e6ae
commit
d3370cccd0
@@ -22,7 +22,13 @@ SERV="${SERV:-../src/ocserv}"
|
||||
srcdir=${srcdir:-.}
|
||||
PORT=4449
|
||||
|
||||
if test ! -f /etc/gss/mech.d/ntlmssp.conf;then
|
||||
if test -f /etc/gss/mech.d/mech.ntlmssp.conf;then
|
||||
NTLMSSP_CONF=/etc/gss/mech.d/mech.ntlmssp.conf
|
||||
else
|
||||
NTLMSSP_CONF=/etc/gss/mech.d/ntlmssp.conf
|
||||
fi
|
||||
|
||||
if test ! -f $NTLMSSP_CONF;then
|
||||
echo "GSS NTLM SSP was not found"
|
||||
exit 77
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user