Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>For Active Directory, the ldap connection string can take this form:</p> <p><strong>protocol://domaindnsaddress</strong></p> <p>where protocol can be either <strong>ldap://</strong> or <strong>ldaps://</strong>, depending on whether to use standard or SSL connection. You should always troubleshoot using standard connection before moving to SSL/TLS to avoid certificate issues at this point.</p> <p>domaindnsaddress is DNS-resolvable address of your domain - in your case capp.net .</p> <p>Some programming languages, like php, do not require the ldap:// prefix to perform a connect operation. You may try connecting without it as well.</p> <p>The username to log in can have several forms. The most common are:</p> <ul> <li>NetBIOS domain name\samaccountname ( <strong>CAPP\dhr2</strong> - note the BACKslash )<br></li> <li>userprincipanname ( <strong>dhr2@capp.net</strong> )<br></li> <li>samaccountname@domaindnsname ( <strong>dhr2@capp.net</strong> )<br></li> </ul> <p>You can read Microsoft's extensive information about the possible forms of your logon name here:<br> <a href="http://msdn.microsoft.com/en-us/library/cc223499.aspx" rel="nofollow">MSDN - Simple Authentication</a> <br><br> Password does not need any special treatment - just perform the standard bind operation against your ldap server and you should be authenticated.<br> Please note that I am intentionally <strong>not</strong> including any sample code as your question was about the connection string, not about connecting to ldap using C# libraries.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload