LDAP theory recommendation

I need to implement an application that supports LDAP authentication.

I want to know in detail how such a network works. Can you recommend some reading about this, a book with perhaps a broader explanation of authenticated LDAP networking, or at least some online tutorials. I would like to see a step-by-step guide on how to create such a network and, if possible, cross platform theory with samples on Win and * nx systems.

Thanks.

-1


a source to share


3 answers


LDAP System Administration is the book I read when I first started working with LDAP.



This and the OpenLDAP Administrator's Guide .

+2


a source


In addition to gacrux , I suggest looking at



+2


a source


Do you want to create a new LDAP server infrastructure or do you want to use an existing service?

If you're building infrastructure, "Understanding and Deploying Directory Services" is a long book to get. It clearly explains what LDAP is, how to design a schema and directory tree layout, and how to select an appropriate directory topology.

If you are trying to authenticate users against an existing LDAP service, your best bet is to take advantage of reading library documents for your language. A typical user authentication process looks like this:

  • Take the user ID and search the LDAP for that user to get the designated name (or DN, a unique name for each entry in the LDAP tree).
  • Use the extracted DN and password that the user provided to "bind" or authenticate to the LDAP server as this user.
  • Check the return code from the server to determine if the bind was successful.
  • Allow or deny the user based on the results of the previous step.
+2


a source







All Articles