top | item 40949730

(no title)

will0 | 1 year ago

Funny that the L in ldap stands for lightweight, and yet clearly there is interest in a lightweight version of what has become a somewhat bloated protocol.

discuss

order

ivanjermakov|1 year ago

Ironically, there is not much "lightweight" in LDAP

yencabulator|1 year ago

It was simple enough that back in 2002, I could implement a whole client+server LDAP protocol framework from scratch in ~11k lines of Python. That's not horrible.

ASN.1 gets a lot of (imho deserved) crap but it's roughly just a bunch of nested TLV (type, length, value) messages, just smeared with a bunch of legacy and a weird definition language. It's not all that different from e.g. Protocol Buffers. Outside of figuring out what context you're in and thus what message type an integer refers to, there's not much that would be "a hard problem" about it.

anyfoo|1 year ago

You should have seen X.500.