What does the LDAP request and response look like?

I am going to integrate my application with LDAP, and I only recently found out that this is not a request sent over HTTP, is this really a proprietary protocol? I have no idea what this means, but I'm going to use the .NET plugin called IP works with nsoftware.com. Can someone tell me what one of these queries looks like and what the answer will look like? What form of data is text? I talked with our partner who has AD, and they said that I need an IP address and port, and I need to tell them the IP address of my server (this makes sense to me). However, I do not understand what an LDAP request is. The preferred example shows me what the request will look like, which contains the username and password and the response that is returned with the user data.I need to create such a request from a form and analyze the response to the database. Also, what does “Secure LDAP” mean, what credentials do I need to execute these queries, and how do they “get” into the query?

+3
source share
3 answers

If you want to learn about LDAP (if someone has set up an LDAP server for you), I would suggest using an LDAP browser, such as Apache Directory Studio .

There are several security aspects associated with LDAP.

-, . : SSL TLS, URI ldaps:// ( 636) STARTTLS ( , LDAP, 389 , TLS LDAP).

-, , ( , ) . Distinguished Name (.. "" LDAP) . , , SASL SSL/TLS.

+1

, , , , . .NET #, Novell, , LDAP (http://developer.novell.com/wiki/index.php/Ldapcsharp). , : www.novell.com/coolsolutions/feature/11204.html www.novell.com/coolsolutions/appnote/1673.html.

LDAP - , . , LDAP , , API, LDAP. LDAP, -, .

+1

Here is a good example of what LDAP queries / queries look like: http://technet.microsoft.com/en-us/library/aa996205 (v = exchangeg.65) .aspx

Just think about querying a database query if this helps to understand LDAP a little better :-)

If you need more information, check out the RFC: http://tools.ietf.org/html/rfc4511

+1
source

Source: https://habr.com/ru/post/1768422/


All Articles