Legrandin / PyAuthenNTLM2

PyAuthenNTLM2 is an authentication module for Apache. It validates a user by means of the NTLM protocol and a separate Domain Controller (or Active Directory server).
Other
57 stars 42 forks source link

New option: WebProxyMode #13

Open oetiker opened 11 years ago

oetiker commented 11 years ago

Add support for web proxy requests. To enable this mode, activate the WebProxyMode option:

PythonOption WebProxyMode on
aliloubm commented 11 years ago

Hi,

Syntax error

copying build/lib/PyAuthenNTLM2/ntlm_client.py -> /usr/lib/python2.4/site-packages/PyAuthenNTLM2 byte-compiling /usr/lib/python2.4/site-packages/pyntlm.py to pyntlm.pyc File "/usr/lib/python2.4/site-packages/pyntlm.py", line 195 req.err_headers_out.add('Proxy-Authenticate' if proxy_mode else 'WWW-Authenticate', 'NTLM') ^ SyntaxError: invalid syntax

????

oetiker commented 11 years ago

the patch uses python 2.6 syntax ...