-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic authentication does not work #11
Comments
I've tried last release, but I can't make basic auth to work. It always sends user to DC. What happens when domain controller is down? No authentication is possible at all? |
basic works for me but you have to install https://www.dlitz.net/software/pycrypto/ |
I've already installed pycripto... root@apacheserver:~/# pip install pycrypto I'm afraid it has to be another thing.
|
All I have is below and both ntlm/basic works.. I don't think you can use "AuthType basic" and point to a htpasswd file as pyntlm is handling auth via Active Directory. <Location "/apps"> AuthType NTLM PythonAuthenHandler pyntlm |
Let me ask you a question: What happens to your virtual serveris DC's have failed? I need to access my nagios through local users (htpasswd) if there are no DC's available. I've got to access my nagios, as well, from clients that are not windows in domain. Does this solution really work basic & ntlm auth for a virtual server at the same time? |
If your DC's fail then yes, you will not be able to authenticate but at least in my network it is unlikely both DC's would fail. It hasn't occured yet and quite frankly you'll have bigger problems than not being able to access Nagios. According to "The specific use case of PyAuthenNTLM2" clients don't have to be in a windows domain but their username/password do have to exist on the DC. Perhaps someone could code up a way to use a .htpasswd file as a last resort when DC's are down. |
Thank you for your time, I needed someone to confirm that this plugin couldn't work at the same time with htpasswd. Lucky you that can rely on no network uncontrolled changes that can Isolate your webservers from DC's! :) Great product, nevertheless!! |
The 401 response never contains Basic as authentication mechanism, even when you have PyCrypto installed. This is due to the fact that "python setup.py install" does not copy ntlm_client.py over to the relevant directory.
See here for details and a fix:
60896f0
The text was updated successfully, but these errors were encountered: