Skip to content

Conversation

@oetiker
Copy link

@oetiker oetiker commented Jan 8, 2013

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

PythonOption WebProxyMode on

@aliloubm
Copy link

aliloubm commented Apr 2, 2013

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
Copy link
Author

oetiker commented Apr 29, 2013

the patch uses python 2.6 syntax ...

Guntram Blohm and others added 25 commits April 2, 2014 11:35
…ill convert REMOTE_USER to lower/uppercase. Any other string, as well as not setting the option, will leave REMOTE_USER alone.
…pendent of LogLevel, which produces a lot of spam in error_log. Changed Log Level APLOG_NOTICE to APLOG_INFO to prevent this.
…re encoded as

ff:ff:ff:80 ... this is an ugly hack to compensate for this ... no idea why it is required,
looking at the asn documentation it would seem to me that this was not necessary.
when enumerating groups, 127 is encoded as 7f but 128 and following are ...
fix when using valid-user rules are empty
* log to STDERR in VerboseMode so that log messages should end up in stderr
* support port option in ntlm_client.py
* document ProxyMode and VerboseMode options
…object and not via the current request object.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants