Getting Started with LDAP for RDBMS-minded Developer
I h开发者_C百科ave a deep background in MySQL and other relational databases, but essentially zero experience with LDAP. I'd like to ask if there is a good tutorial/getting started site that discusses designing LDAP directories and CRUD operations on LDAP data from language specific APIs for either Python or PHP? I'm interesting in using OpenLDAP as the backend for this, thanks.
Up to date OpenLDAP materials are very hard to come by. Their documentation is very good, but it can be hard to grasp if you're new to LDAP. The best tutorial, or at least the one that had what I was looking for, that I've found so far is LDAP for Rocket Scientists. It's not complete, but it covers a lot pieces that may be taken for granted by other tutorials. It also has a section on the new cn=Config
style of configuration, which isn't well covered anywhere.
The python-ldap module is well maintained, and has good documentation, but unfortunately few implementation examples.
I suggest using PEAR's Net_LDAP2 package to access the LDAP server. I don't know about any LDAP introduction tutorials, though.
The book 'Understanding and Deploying Ldap Directory Services' might be of help to start with
http://www.amazon.com/Understanding-Deploying-Directory-Architecture-Development/dp/1578700701
精彩评论