c# - What does an LDAP request and response look like? -


i getting integrating app ldap , learned it's not request sent on http, it's it's own protocol? have no idea means going using plugin .net called ip works nsoftware.com. can tell me 1 of these requests looks , response like? form data in, text? talked our partner has ad , said need ip , port , need tell them ip of server (this makes sense me). don't ldap request is. preferable example showing me request contains username , password , response comes users data. need generate such request form , parse response database. also, 'secure ldap' mean, kind of credentials going need make these requests , how 'into' request?

if want learn ldap (assuming has configured ldap server you), i'd suggest using ldap browser, example apache directory studio.

there multiple security aspects regarding ldap.

first, there's security of communication itself. can done in 2 ways: using ssl or tls upfront, using ldaps:// uri (port 636 default) or using starttls (same port plain ldap, 389 default, need client send additional command switch tls after having exchanged ldap messages).

secondly, requests produce different result depending on whether you've bound identity request (i.e. depending on whether request authenticated) , authenticated user allowed see. clients allow connect using given distinguished name (i.e. "full" ldap user-name) or anonymously. authentication can done in various ways, including password, sasl or client ssl/tls certificates.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -