diff options
author | Dan Gudmundsson <[email protected]> | 2012-03-29 09:29:43 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2012-03-29 09:29:58 +0200 |
commit | 472a3d910595d7de1e49f241c1d241827b5c0bf4 (patch) | |
tree | 6a8af070bf98697cd0e08823722176c72beffbc7 /lib/eldap/include/eldap.hrl | |
parent | ccc9e16381244760b3013e11b6fe8f1fe2a0a809 (diff) | |
parent | 1ff967c2a574161aef4c88177da534b45d9ebd80 (diff) | |
download | otp-472a3d910595d7de1e49f241c1d241827b5c0bf4.tar.gz otp-472a3d910595d7de1e49f241c1d241827b5c0bf4.tar.bz2 otp-472a3d910595d7de1e49f241c1d241827b5c0bf4.zip |
Merge branch 'dgud/eldap' into maint
* dgud/eldap:
[eldap] Fix parse_port error handling
[eldap] Add rudimentary docs
[eldap] Add asn.1 compilation options
[eldap] Add dereference options in search
[eldap] Remove broken functionality
[eldap] Add infrastructure
[eldap] Initial copy of Tobbe's eldap client
OTP-10034
Diffstat (limited to 'lib/eldap/include/eldap.hrl')
-rw-r--r-- | lib/eldap/include/eldap.hrl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/eldap/include/eldap.hrl b/lib/eldap/include/eldap.hrl new file mode 100644 index 0000000000..7c12cd4f2b --- /dev/null +++ b/lib/eldap/include/eldap.hrl @@ -0,0 +1,33 @@ +-ifndef( _ELDAP_HRL ). +-define( _ELDAP_HRL , 1 ). + +%%% +%%% Search input parameters +%%% +-record(eldap_search, { + base = [], % Baseobject + filter = [], % Search conditions + scope=wholeSubtree, % Search scope + deref=derefAlways, % Dereference + attributes = [], % Attributes to be returned + types_only = false, % Return types+values or types + timeout = 0 % Timelimit for search + }). + +%%% +%%% Returned search result +%%% +-record(eldap_search_result, { + entries = [], % List of #eldap_entry{} records + referrals = [] % List of referrals + }). + +%%% +%%% LDAP entry +%%% +-record(eldap_entry, { + object_name = "", % The DN for the entry + attributes = [] % List of {Attribute, Value} pairs + }). + +-endif. |