diff options
author | charlesdhdt <charlesdhdt@users.noreply.github.com> | 2017-05-12 15:37:00 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2017-05-12 15:37:00 +0200 |
commit | 9f8e83259ec0689cd8e14268584ef589e8de6840 (patch) | |
tree | 06cfa4fbf45a5a653a3832d953dcbaffd0edabb1 /mitmproxy/options.py | |
parent | 1c6b33f5afd3639d08d339a2ea0fa69aff87fa1a (diff) | |
download | mitmproxy-9f8e83259ec0689cd8e14268584ef589e8de6840.tar.gz mitmproxy-9f8e83259ec0689cd8e14268584ef589e8de6840.tar.bz2 mitmproxy-9f8e83259ec0689cd8e14268584ef589e8de6840.zip |
Fixed LDAP Auth (#2333)
Diffstat (limited to 'mitmproxy/options.py')
-rw-r--r-- | mitmproxy/options.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mitmproxy/options.py b/mitmproxy/options.py index 1091fe78..058ea9e4 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -206,10 +206,11 @@ class Options(optmanager.OptManager): authenticaiton but accept any credentials, start with "@" to specify a path to an Apache htpasswd file, be of the form "username:password", or be of the form - "ldap[s]:url_server_ldap:dn:group", the dn must include "?", which will be - the username prompted, and the group is the group the user must belong to + "ldap[s]:url_server_ldap:dn_auth:password:dn_subtree", + the dn_auth & password is the dn/pass used to authenticate + the dn subtree is the subtree that we will search to find the username an example would be - "ldap:ldap.forumsys.com:uid=?,dc=example,dc=com:person". + "ldap:localhost:cn=default,dc=example,dc=com:password:ou=application,dc=example,dc=com". """ ) self.add_option( |