Thanks for the tip, it worked! The thing that doesn't work now is
trying to find the group that the user is in ("Error obtaining group
names"). So, I commented out the code "adAuth.GetGroups()". Does
anybody know how to get "adAuth.GetGroups()" working from the example:
Besides that I can log in. Do I really need to check for group name?
"Marc Nivens [MSFT]" <marcnonline.microsoft.com> wrote in message news:<O3NbmutODHA.3408tk2msftngp13.phx.gbl>...> 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:
> If you use serverless binding, you would just use:
> 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
> "mrwoopey" <mrwoopey> wrote in message
> news:e48ab325.0306241458.78b2dbdaposting.google.c om...> > Hi,
> > I am using the example "Authenticate against the Active Directory by
> > Using Forms Authentication and Visual Basic .NET":
> > [url]http://support.microsoft.com/default.aspx?scid=KB;EN-US;326340[/url]
> > 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=SomeDomainControllerComputerThatHasActiveDirect ory"
> > 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