Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
juicyapple
Posting Yak Master
176 Posts |
Posted - 2008-03-01 : 09:06:11
|
Hi, I am trying the example in the link below to authenticate against the Active Directory by using forms authentication and Visual Basic .NET.http://support.microsoft.com/kb/326340but in logon.aspx, I need to set my LDAP directory server path. I am no idea what the DC stands for and what value I should put if I run in localhost. Please advise. Dim adPath as String = "LDAP://DC=..,DC=.." 'Path to your LDAP directory server Dim adAuth as LdapAuthentication = new LdapAuthentication(adPath) |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-03-01 : 09:23:27
|
DC stands for your "domain" in the active directory. E 12°55'05.25"N 56°04'39.16" |
|
|
juicyapple
Posting Yak Master
176 Posts |
Posted - 2008-03-01 : 10:28:16
|
OK, I have put the string in the format like this. It is working now.String adPath ="LDAP://domainname.company.com/DC=domainname,DC=company,DC=com"; |
|
|
|
|
|