You are not logged in.
Pages: 1
Hi AB,
There seems have a one line code in TRestServerAuthenticationSspi.Auth need to adjust,
could you help to confirm it? Thank you.
// Current git version
result := AuthSessionRelease(Ctxt, aUserName);
if result or
(aUserName = '') or
not Ctxt.InputExists['Data']) then
exit;
//Adjusted version
result := AuthSessionRelease(Ctxt, aUserName);
if result or (
(aUserName = '') and
(not Ctxt.InputExists['Data'])) then
exit;
JienYuan
Last edited by jienyuan (2025-08-13 12:00:05)
Offline
I get rid of all the NTLM support, to make the server side code cleaner.
Negotiate provider choose NTLM for local connections.
Anyway, for Kerberos, SSPI authentication code it no longer works. On my Windows 10 machine AcceptSecurityContext inside ServerSspiAuth returns SEC_I_CONTINUE_NEEDED and there is no code path to return data back.
Offline
Although, it can create and register custom authenticator but still wondering is it possible to keep NTLM auth in framework for local testing purpose.
Offline
Pages: 1