Re: ActiveDirectoryMembershipProvider



re:
Can anyone point me in the right direction to what
the error "A referral was returned from the server" means?

Does your dc=test, dc=com actually exist ?
Does testdns.test.com\administrator exist ?

See :
http://www.computerperformance.co.uk/Logon/Logon_CSVDE_Errors.htm#A_referral_was_returned_from_the_server.
http://www.computerperformance.co.uk/Logon/code/code_8007202B.htm




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Glenn Eastlack" <glenn@xxxxxxxxxxx> wrote in message news:OlgFr1aeGHA.2068@xxxxxxxxxxxxxxxxxxxxxxx
I have been trying to use ASP.NET 2.0 built-in Membership Providers.
Particularly the ActiveDirectoryMembershipProvider.

My web.config looks like this:
<connectionStrings>
<clear/>
<add name="ADConnectionString"
connectionString="LDAP://192.168.32.129/CN=users,CN=testdns,DC=test,DC=com";
/>
</connectionStrings>

<membership defaultProvider="MembershipADProvider">
<providers>
<add name="MembershipADProvider"

type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ADConnectionString"

connectionUsername="testdns.test.com\administrator"
connectionPassword="password"/>
</providers>
</membership>


Active Directory is running on a Windows 2003 server within a VMWare
instance.

When I run the app and try to log in using the asp:Login control, I
receive the following error:

A referral was returned from the server

<providers>
Line 64: <add name="MembershipADProvider"
Line 65:
type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Line 66: connectionStringName="ADConnectionString"

Line 67: connectionUsername="administrator@xxxxxxxxxxxxxxxx"


Source File: C:\www\etlap-01.wur.ecri.org\html\web.config Line: 65

I can connection to AD just fine using the LDAPBrowser and the ADAM
adsiedit utility. Can anyone point me in the right direction to what
the error "A referral was returned from the server" means?

Much appreciated,
Glenn


.



Relevant Pages

  • Re: ActiveDirectoryMembershipProvider
    ... my if statement when I try to validate the username and password. ... and my Providers look like this: ... the error "A referral was returned from the server" means? ... Active Directory is running on a Windows 2003 server within a VMWare ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Fax via Internet
    ... > My alternative is to change the Winfax Pro installation to Fax Server ... The fax server must be on to send faxes from a client. ... >> You want to send faxes over the Internet without hiring a provider? ... >> Outlook 2003 has a number of Internet Fax providers with which it can ...
    (microsoft.public.outlook.fax)
  • Re: [SLE] Proper way to attach Spamassassin to Postfix?
    ... server ... The problem when using my provider smtp (two ... providers smtp server, but then, is only one mail in a very long time ... the "accounts" themselves are free. ...
    (SuSE)
  • Re: Ist das Datenveraenderung?
    ... die er sich vom Server holte. ... Bei Me2 hab ich keine seperaten AGB für den VoIP-Dienst gefunden, ... Next by Date: ...
    (de.soc.recht.datennetze)
  • Re: Create my own db connection wizard
    ... "Hitchhiker's Guide to Visual Studio and SQL Server ". ... "providers" don't necessarily expose themselves when polled. ... ODBC or OLEDB interface to JET would not have any mechanism to report the ...
    (microsoft.public.dotnet.framework.adonet)