D
David Thielen
Hi;
How do I set up my ASP.NET 2.0 app to use ActiveDirectory for login? (I have
AspNetSqlMembershipProvider working fine)?
My web.config is:
....
<add name="ADConnectionString"
connectionString=LDAP://picard.windward.local/CN=Users,DC=picard,DC=windward,DC=net />
....
<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="windward\administrator"
connectionPassword="******"/>
</providers>
</membership>
Depending on what I try (I have tried other values above) I get either "A
referral was returned from the server." or ""Unable to establish secure
connection with the server" or "The container specified in the connection
string does not exist".
Any ideas???
Also, is there a way to do this without putting a password in the config
file? This strikes me as a horrible thing to have there security wise.
How do I set up my ASP.NET 2.0 app to use ActiveDirectory for login? (I have
AspNetSqlMembershipProvider working fine)?
My web.config is:
....
<add name="ADConnectionString"
connectionString=LDAP://picard.windward.local/CN=Users,DC=picard,DC=windward,DC=net />
....
<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="windward\administrator"
connectionPassword="******"/>
</providers>
</membership>
Depending on what I try (I have tried other values above) I get either "A
referral was returned from the server." or ""Unable to establish secure
connection with the server" or "The container specified in the connection
string does not exist".
Any ideas???
Also, is there a way to do this without putting a password in the config
file? This strikes me as a horrible thing to have there security wise.