Note that there are some explanatory texts on larger screens.

plurals
  1. POconnecting to LDAP server
    text
    copied!<p>I am a beginner with Ldap Server. I am trying to establish connection with my server using LDAP Wizard but dont know the values of the various parameters. could any body suggest the values? I am writing the code which is used to connect to the same server.</p> <p>From App.Config:</p> <pre><code>&lt;add key="ActiveDirectoryMainOU" value="Users" /&gt; &lt;add key="ActiveDirectoryDomain" value="intranet" /&gt; &lt;add key="ActiveDirectoryServer" value="intranet.city.com" /&gt; &lt;add key="ServiceAccountUserID" value="superUser" /&gt; &lt;add key="ServiceAccountPassword" value="P0R+@asq" /&gt; </code></pre> <p>From .vb file</p> <p>...............</p> <pre><code>strDomain = ConfigurationSettings.AppSettings.Get("ActiveDirectoryDomain") strDomainControllerLoadBalanced = ConfigurationSettings.AppSettings.Get("ActiveDirectoryServer") strOUForAccounts = ConfigurationSettings.AppSettings.Get("ActiveDirectoryMainOU") strServiceAccountUserID = ConfigurationSettings.AppSettings.Get("ServiceAccountUserID") strServiceAccountPassword = ConfigurationSettings.AppSettings.Get("ServiceAccountPassword") Try searchRoot = New DirectoryEntry(String.Format("LDAP://{0}/OU=" &amp; strOUForAccounts &amp; ",DC=" &amp; strDomain &amp; ",DC=city,DC=com", strDomainControllerLoadBalanced), strServiceAccountUserID, strServiceAccountPassword, AuthenticationTypes.Secure Or AuthenticationTypes.Sealing Or AuthenticationTypes.ServerBind) searcher = New DirectorySearcher(searchRoot) searcher.SearchScope = SearchScope.Subtree searcher.PageSize = 1000 searcher.CacheResults = False For i = 0 To arPropertiesToLoad.Length - 1 searcher.PropertiesToLoad.Add(arPropertiesToLoad(i)) Next searcher.Filter = "(&amp;(objectCategory=user)(objectClass=person))" 'get all users results = searcher.FindAll() For Each result In results strObjectGUID = New Guid strValues(69) = New String("") </code></pre> <p>...............</p> <p>Please suggest in completeing step 3 of profile creation wizard or in completing below fields:</p> <p>Authentication method(Annonymous, Currently logged on, external(SSL certificate),other)</p> <p>Mechanism, Principal, Password</p> <p>also if possible please help in completing next step as well. I am not able to add screenshot because of less reputation.</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