aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eldap
diff options
context:
space:
mode:
authorZandra Hird <[email protected]>2015-02-18 11:36:10 +0100
committerZandra Hird <[email protected]>2015-02-18 11:36:10 +0100
commitda70ee77dc1c1716e48814e2d670cbaf0cf06c30 (patch)
tree23e995f8aaf662a0e690a5a2a44f164236839456 /lib/eldap
parente4391f53ef344c13aa8d8aee5690fffc320d9b0a (diff)
parenta25305ad11f0f87594bf3469397834ec75e52f46 (diff)
downloadotp-da70ee77dc1c1716e48814e2d670cbaf0cf06c30.tar.gz
otp-da70ee77dc1c1716e48814e2d670cbaf0cf06c30.tar.bz2
otp-da70ee77dc1c1716e48814e2d670cbaf0cf06c30.zip
Merge branch 'stevendanna/eldap-anon-auth-fix' into maint
* stevendanna/eldap-anon-auth-fix: Correctly process anon_auth option for eldap:open()
Diffstat (limited to 'lib/eldap')
-rw-r--r--lib/eldap/src/eldap.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eldap/src/eldap.erl b/lib/eldap/src/eldap.erl
index 689600258f..80718bc106 100644
--- a/lib/eldap/src/eldap.erl
+++ b/lib/eldap/src/eldap.erl
@@ -395,7 +395,7 @@ parse_args([{port, Port}|T], Cpid, Data) when is_integer(Port) ->
parse_args([{timeout, Timeout}|T], Cpid, Data) when is_integer(Timeout),Timeout>0 ->
parse_args(T, Cpid, Data#eldap{timeout = Timeout});
parse_args([{anon_auth, true}|T], Cpid, Data) ->
- parse_args(T, Cpid, Data#eldap{anon_auth = false});
+ parse_args(T, Cpid, Data#eldap{anon_auth = true});
parse_args([{anon_auth, _}|T], Cpid, Data) ->
parse_args(T, Cpid, Data);
parse_args([{ssl, true}|T], Cpid, Data) ->