ldap bytestream representation

Wehner, Stefan (Stefan.Wehner@mtolive.basf-corp.com)
Wed, 24 Jul 1996 08:34:55 -0400

Hi,

who can tell me how the ldap protocol really looks like? The syntax used
for the protocol specification in RFC-1777 doesn't really help me to
understand the actual representation in the TCP/IP packages. I even tried
to read the ASN.1 specification but got a headache after the third page.
Another idea was to run slapd from inetd and log the whole communication
going on - but there is nothing going on. It seems my slapd refuses to
work under the -i option.

How does for example the bind request look like in its BER encoded form?

BindRequest ::=
[APPLICATION 0] SEQUENCE {
version INTEGER (1 .. 127),
name LDAPDN,
authentication CHOICE {
simple [0] OCTET STRING,
krbv42LDAP [1] OCTET STRING,
krbv42DSA [2] OCTET STRING
}
}

Thanks,

Stefan

===================================================
Stefan Wehner WehnerS@basf.com
BASF-Corporation