-
Notifications
You must be signed in to change notification settings - Fork 42
Description
I am using Ubuntu 14.04 with Apache 2.4.7 and Python 3.4. I am trying to get SSO to work with NTLM. I can get basic authentication to authenticate with Active Directory. I am using this Directory Apache Config:
Directory /var/www/some_directory
AuthType NTLM
AuthName domain.local
require valid-user
PythonAuthenHandler pyntlm
PythonOption Domain domain.local
PythonOption PDC dc1.domain.local
PythonOption BDC dc2.domain.local
/Directory
When I comment out the require valid-user I am able to use basic authentication to authenticate to the site. Yet when I use require valid-user I get an error in apache2/error.log. It does say I authenticate and shows my username/DOMAIN but I get a following error that says "PYNTLM: Authorization failed for username and URI /." Is there an alternative to require valid-user that can be used in the apache2.conf file.