Permalink
Browse files

Moving the eldap.hrl header file.

  • Loading branch information...
1 parent 95ebd05 commit 035dce956ef833ccf2e085947b171e11a09f087c Torbjorn Tornkvist committed Jan 30, 2009
Showing with 8 additions and 4 deletions.
  1. +7 −3 README
  2. 0 {src → include}/eldap.hrl
  3. +1 −1 src/Makefile
View
10 README
@@ -5,9 +5,13 @@ This is 'eldap', the Erlang LDAP library.
It exports an API that can do all possible operations
you may want to do against an LDAP server. The code has
been tested to work at some point, but only the bind
-and search operations are running daily in our (Nortel's)
-products, so there may be bugs lurking in some parts of
-the code.
+and search operations are running daily in our products,
+so there may be bugs lurking in some parts of the code.
+
+To just use eldap for doing authentication, do like in:
+
+ {ok,X} = eldap:open(["ldap.mycorp.com"], []).
+ eldap:simple_bind(X, "uid=tobbe,ou=People,dc=mycorp,dc=com", "passwd").
In the doc/README.example you'll find a trace from a
Erlang shell session as an example on how to setup a
File renamed without changes.
View
@@ -1,7 +1,7 @@
ERLC = erlc
EBIN_DIR = ../ebin
-ERLC_FLAGS += -I ./src +debug_info
+ERLC_FLAGS += -I ./src -I ../include +debug_info
ERL_OBJECTS := ${EBIN_DIR}/eldap.beam ${EBIN_DIR}/ELDAPv3.beam
.SUFFIXES: .asn .erl .beam

0 comments on commit 035dce9

Please sign in to comment.