aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eldap/src/eldap.erl
AgeCommit message (Collapse)Author
2015-06-14Eliminate dialyzer warnings for unmatched_returnsKostis Sagonas
While at it, do a minor cleanup using is_boolean/1
2015-02-18Merge branch 'maint'Zandra Hird
2015-02-07Correctly process anon_auth option for eldap:open()Steven Danna
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)
2014-12-19Merge branch 'maint'Hans Nilsson
2014-12-17eldap: Makes close/1 return as documented.Hans Nilsson
2014-11-28Merge branch 'maint'Hans Nilsson
* maint: eldap: Fix timeout missing in ssl:connect
2014-11-27eldap: Fix timeout missing in ssl:connectHans Nilsson
2014-11-03Merge branch 'danielwhite/eldap-password-modify/OTP-12282'Marcus Arendt
* danielwhite/eldap-password-modify/OTP-12282: eldap: Add support for modifying passwords
2014-10-30eldap: extensibleMatch added.Hans Nilsson
2014-10-20eldap: Add support for modifying passwordsDaniel White
This implements the LDAP Password Modify Extended Operation (RFC 3062) with two new functions modify_password/3 and modify_password/4. The former is for directly setting passwords, and the latter is for users to change their own passwords. Since all three parameters are optional, I've opted to support this with the empty string rather than a property list. This seems consistent with other functions in the module (i.e. modify_dn/5).
2014-09-18eldap: Enable all tcp options in eldap:openHans Nilsson
Options: OTP-12171 Correct error msgs for Options: OTP-12182
2014-02-24Merge branch 'efine/eldap-IPv6-connections/OTP-11753'Henrik Nord
* efine/eldap-IPv6-connections/OTP-11753: Add support for IPv6 connections
2014-02-21Deprecate asn1 functionsBjörn Gustavsson
Those asn1 functions are no longer needed because they all have better alternatives.
2014-02-09Add support for IPv6 connectionsEdwin Fine
Currently, eldap assumes that only IPv4 will be used. This change enables callers to use IPv6 by including the [inet6] option in the eldap:open/2 options list. This adds inet6 to the gen_tcp or ssl connect. For backward compatibility, [inet] is the default if inet6 is omitted.
2013-10-29eldap: re-fixed earlier bug fix...Hans Nilsson
2013-10-28eldap: Minor change (error code)Hans Nilsson
2013-10-28eldap: Add START_TLS (OTP-11336)Hans Nilsson
2013-09-25eldap: eldap does not support peer verification, removed {verify, 0} from ↵Fredrik Gustafsson
ssl options
2013-01-25Merge branch 'bjorn/asn1/further-cleanup/OTP-10588'Björn Gustavsson
* bjorn/asn1/further-cleanup/OTP-10588: (28 commits) Don't export encode_disp/2 and decode_disp/2 in generated modules Remove vestiges of support for the {TypeName,Value} notation Simplify the functions for decoding lengths per,uper: Optimize decoding of the remaining data types per,uper: Optimize decoding of the remaining string types Share all code for dec_gen_prim/3 between per/uper back-ends per,uper: Optimize decoding of the string data types testPrimStrings: Test some constraints By default, encode BIT STRING to bitstrings Teach encode functions to accept a bitstring term for a BIT STRING Fix EXTERNAL 1990/1994 conversion information loss uper: Look up some SizeConstraints at compile-time Enumeration decoding: Don't emit a default clause if it cannot match Slightly optimize per encoding of large INTEGERs with constraints BER run-time: Refactor decoding of string data types Refactor decoding of BIT STRINGs Optimize encoding of ENUMERATED in per and uper Remove the unused run-time modules eldap: Remove calls to undocumented asn1rt* functions BER: Correct bug in 'undec_rest' ...
2013-01-22eldap: Remove calls to undocumented asn1rt* functionsBjörn Gustavsson
We are about to remove the old asn1rt* modules, so we must remove the calls that eldap make to them. Since the calls are just a sanity check, we can just remove the calls. Just doing the decode will do roughly the same tests and generate similar exceptions.
2013-01-15Configure the SSL options fullyFredrik Gustafsson
2012-12-19Remove support for the {Typename,Value} notation in encodingBjörn Gustavsson
Support for the notation was removed in 6ef8cbdaaaa1c30a7dc462063.
2012-11-29Changed structure to fix dialyzer warnings eldap.erlFredrik Gustafsson
2012-03-28[eldap] Fix parse_port error handlingDan Gudmundsson
Dialyzer found that.
2012-03-22[eldap] Add dereference options in searchPeter Lund
And fix search reply when no object is found
2012-03-21[eldap] Add infrastructureDan Gudmundsson
2012-03-20[eldap] Initial copy of Tobbe's eldap clientTorbjorn Tornkvist
Copied with Torbjorns permission from https://github.com/etnt/eldap.git