diff options
author | Steven Danna <[email protected]> | 2015-02-07 12:38:06 +0000 |
---|---|---|
committer | Steven Danna <[email protected]> | 2015-02-07 12:46:26 +0000 |
commit | a25305ad11f0f87594bf3469397834ec75e52f46 (patch) | |
tree | 69df904eac481e5e0c8cb21703a48a1c2b1b8576 /lib/public_key | |
parent | bca4b9783e9f2d6845b970f23f1b2f9a0ded7121 (diff) | |
download | otp-a25305ad11f0f87594bf3469397834ec75e52f46.tar.gz otp-a25305ad11f0f87594bf3469397834ec75e52f46.tar.bz2 otp-a25305ad11f0f87594bf3469397834ec75e52f46.zip |
Correctly process anon_auth option for eldap:open()
Previously, it was impossible to set anon_auth to true. Making it
difficult to anonymously bind:
1> {ok, Conn} = eldap:open(["localhost"], [{anon_auth, true}]).
{ok,<0.34.0>}
2> eldap:simple_bind(Conn, "", "").
{error,anonymous_auth}
With this change:
1> {ok, Conn} = eldap:open(["localhost"], [{anon_auth, true}]).
{ok,<0.34.0>}
2> eldap:simple_bind(Conn, "", "").
ok
NB: Users could previously work around this by calling simple_bind as
follows:
eldap:simple_bind(Conn, anon, anon)
Diffstat (limited to 'lib/public_key')
0 files changed, 0 insertions, 0 deletions