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.
From App.Config:
<add key="ActiveDirectoryMainOU" value="Users" />
<add key="ActiveDirectoryDomain" value="intranet" />
<add key="ActiveDirectoryServer" value="intranet.city.com" />
<add key="ServiceAccountUserID" value="superUser" />
<add key="ServiceAccountPassword" value="P0R+@asq" />
From .vb file
...............
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=" & strOUForAccounts & ",DC=" & strDomain & ",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 = "(&(objectCategory=user)(objectClass=person))" 'get all users
results = searcher.FindAll()
For Each result In results
strObjectGUID = New Guid
strValues(69) = New String("")
...............
Please suggest in completeing step 3 of profile creation wizard or in completing below fields:
Authentication method(Annonymous, Currently logged on, external(SSL certificate),other)
Mechanism, Principal, Password
also if possible please help in completing next step as well. I am not able to add screenshot because of less reputation.