Re: How do you figure out the LDAP://? ("Error authenticating. Error authenticating user. The specified domain either does not exist or could not be contacted")

From: Marc Nivens [MSFT] (marcn_at_online.microsoft.com)
Date: 06/25/03


Date: Wed, 25 Jun 2003 00:35:53 -0500


DC= should be followed by a domain DN, not a servername. If you want to
bind to DC1 in domain domain.com, you would use this:

LDAP://DC1/DC=domain,DC=com

If you use serverless binding, you would just use:

LDAP://DC=domain,DC=com

--
Marc Nivens
Enterprise Messaging Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"mrwoopey" <mrwoopey@yahoo.com> wrote in message
news:e48ab325.0306241458.78b2dbda@posting.google.com...
> Hi,
>
> I am using the example "Authenticate against the Active Directory by
> Using Forms Authentication and Visual Basic .NET":
>
> http://support.microsoft.com/default.aspx?scid=KB;EN-US;326340
>
> But I am having a problem figuring out the LDAP://
>
> The LDAP:// that I pass looks like this (i substitued generic the
> following with generic name):
>
> Dim adPath as String =
> LDAP://DC=SomeDomainControllerComputerThatHasActiveDirectory"
>
> But I am receiveing the following message when I try to log in with
> the example:
> "Error authenticating. Error authenticating user. The specified domain
> either does not exist or could not be contacted"
>
> How do I figure out how my "LDAP://" should look like?
>
> Thanks,
>
> Phin