Anyone doing something with LDAP?
[1/5] from: doug:vos:eds at: 25-Jul-2000 14:49
Has anyone put together any scripts using LDAP?
LDAP (light-weigt directory access protocal)
There was some talk of LDAP going into /command at one time.
- Doug
[2/5] from: jeff:rebol at: 25-Jul-2000 14:02
When your dealing with LDAP, you have to first deal
with BER (basic encoding rules -- a subset of ASN.1 --
abstract syntax notation, spec 1). This is a binary
TLV (Type Length Value) encoding scheme for sending
"self describing" objects around the network. The
implementation details are a little hairy, but one of
the motivations for expanding support for manipulating
the binary! datatype in REBOL was in consideration of
things like BER.
If you create a BER.r script (which should only take as
long as it takes to understand BER, and maybe a day or
so to implement it) then it will also help someone to
create SNMP which also uses BER.
Another way to do it: REBOL/command can import an API
implemented in a shared library, such as Netscape's
LDAP sdk.
-jeff
[3/5] from: doug:vos:eds at: 26-Jul-2000 8:44
OK, I also found the BER modules in perl.
Looks like it won't be too much trouble to'
implement in rebol.
Do you have any more pointers on BER, ASN.1, and TLV.?
A good RFC, web-page-url, etc -- about BER?
Then it sounds like I should write the BER.r script
first and next make the LDAP.r
Or maybe I should do it in REBOL/command -- when will that
be shipping?
<jeff>
When your dealing with LDAP, you have to first deal
with BER (basic encoding rules -- a subset of ASN.1 --
abstract syntax notation, spec 1). This is a binary
TLV (Type Length Value) encoding scheme for sending
"self describing" objects around the network. The
implementation details are a little hairy, but one of
the motivations for expanding support for manipulating
the binary! datatype in REBOL was in consideration of
things like BER.
If you create a BER.r script (which should only take as
long as it takes to understand BER, and maybe a day or
so to implement it) then it will also help someone to
create SNMP which also uses BER.
Another way to do it: REBOL/command can import an API
implemented in a shared library, such as Netscape's
LDAP sdk.
-jeff
</jeff>
[4/5] from: doug::vos::eds::com at: 26-Jul-2000 14:25
I found an excellent 500 page book on ASN.1
which is the basis for LDAP and SNMP, etc.
http://www.oss.com/asn1/booksintro.html
There are actually 2 full length books on ASN.1
for any REBOL LDAP, SNMP guru-wann-be's out there.
[5/5] from: doug:vos:eds at: 26-Jul-2000 14:52
Actually, now I wnloaded both books.
One is about 400 pages (zipped - PDF)
The other is over 500 pages (zipped - PDF)
That is about $60.00 - $80.00 worth of books
about ASN.1 for FREE.
This morning, all I wanted was LDAP.r
Now I have the vision for ber.r, der.r, per.r and xer.r
Hey jeff, carl, team - this is good stuff, if you a need
some good literature on ASN.1
Protocol implementation is what will make rebol community grow!