[erlang-questions] Active Directory

Steve Davis steven.charles.davis@REDACTED
Sat Dec 3 01:48:10 CET 2011


Hi Winston,

This answer will not be directly helpful, and it's quite possible that
someone else has done a lot of the work towards this capability within
the (very helpful) community here. So please take my answer within the
spirit it is meant.

For sure it is possible to do this in Erlang. (Unless a programming
language has a severe defect, it is always possible to do something
with software :).

The question is, how much effort will it take to achieve it?

Well, I don't know of an Erlang application that implements an easy
API for this particular functionality. But AFAIK active directory is
essentially LDAP, and (obviously) communicates over TCP sockets. If
you have a good definition of the protocol used, then Erlang's binary/
bit syntax does make it relatively painless to implement a binary
protocol, and gives you excellent control over socket communications.
Definitely the binary/bit syntax is worth exploring as it is one of
the great strengths of the language. This feature of Erlang will
likely not meet your immediate need, but you'd be surprised at how
quickly something like that can be done in Erlang compared to, say, an
imperative language.

Others here may be able to provide APIs/port drivers written with
Erlang/OTP that get you closer with the AD and save some effort.

Meantime, I wish you luck and enjoyment in your journey with Erlang
and OTP :)

/s

On Dec 2, 3:56 pm, Winston Sánchez <wsanc...@REDACTED> wrote:
> I'm new at erlang programing, I need to know if is possible exchange
> messages with active directory with erlang's module.
> thanks for your attention
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@REDACTED://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list