Web(http)-based or not, I'm interested in network protocols that aren't tied to a specific website, or otherwise encumbered.
By now somebody must have designed a decent protocol mapping LDAP's data model directly onto a nice RESTful API that R. Fielding and TBL would be proud of.
That should make for a good upgrade path, no?
Something like ldap.js does seem like a good compromise: using a real database and a modern implementation without so much legacy baggage would probably be the best bet as you wouldn't be forced to upgrade every client just to get a working server.