diff options
author | Charles d'Hondt <charles.dhondt@gmail.com> | 2017-04-28 16:40:34 +0200 |
---|---|---|
committer | Charles d'Hondt <charles.dhondt@gmail.com> | 2017-04-28 16:40:34 +0200 |
commit | f91ed91bf1408c9d998b27c478edb83b0e026572 (patch) | |
tree | 06dde9441c0c98fbf87ef336d08a7cabedcd9cb8 | |
parent | 29c1f303d6c7ba8a0318cf0694189af9da0b4308 (diff) | |
download | mitmproxy-f91ed91bf1408c9d998b27c478edb83b0e026572.tar.gz mitmproxy-f91ed91bf1408c9d998b27c478edb83b0e026572.tar.bz2 mitmproxy-f91ed91bf1408c9d998b27c478edb83b0e026572.zip |
fix
-rw-r--r-- | mitmproxy/addons/proxyauth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/addons/proxyauth.py b/mitmproxy/addons/proxyauth.py index 4ca69bc9..eac216c3 100644 --- a/mitmproxy/addons/proxyauth.py +++ b/mitmproxy/addons/proxyauth.py @@ -114,7 +114,6 @@ class ProxyAuth: if conn: conn.search(parts[1][1:], '('+parts[0]+username+')', attributes=['objectclass']) if ctx.options.proxyauth.split(":")[3] in conn.entries[0]['objectclass']: - conn.unbind() return username, password return None @@ -135,6 +134,7 @@ class ProxyAuth: self.nonanonymous = False self.singleuser = None self.htpasswd = None + self.ldapserver = None if ctx.options.proxyauth: if ctx.options.proxyauth == "any": self.nonanonymous = True |