I have some source code if you want it, but it's not fully tested. It was on our production system for a short time until we figured out it was leaking connections or something, and I haven't taken the time to debug it.
It's a JCA connector using Novell's Java library for LDAP.
It may be very close to working, or it may take a while. I'm honestly not sure. If I had to do it again, I'd just use the LDAP portion of JNDI.
Let me know if you want it.