I'm getting this error
pywintypes.error: (-2146893048, 'InitializeSecurityContext', 'The token supplied to the function is invalid')
The server is an apache httpd with mod_auth_kerb running on Ubuntu 20.04 and with a keytab from our AD. It's on the secondary authentication it fails, when validating WWW-Authenticate.
It's strange because the same web server works with curl+sspi and also with any web browser.
I have also tried the same keytab with a Flask-GSSAPI server and then requests-negotiate-sspi succeeds.
Hi,
I'm getting this error pywintypes.error: (-2146893048, 'InitializeSecurityContext', 'The token supplied to the function is invalid') The server is an apache httpd with mod_auth_kerb running on Ubuntu 20.04 and with a keytab from our AD. It's on the secondary authentication it fails, when validating WWW-Authenticate.
It's strange because the same web server works with curl+sspi and also with any web browser. I have also tried the same keytab with a Flask-GSSAPI server and then requests-negotiate-sspi succeeds.
Any advice is much appreciated Best Regards