People Picker can't find Forms Authentication Users in WSS 3.0
Posted
by beyti
on Stack Overflow
See other posts from Stack Overflow
or by beyti
Published on 2010-05-20T13:46:12Z
Indexed on
2010/05/20
13:50 UTC
Read the original article
Hit count: 580
I used a lot of tutorials to turn my windows authenticated default wss web app to use Forms Authentication.
What I've done since;
1. created a web app. and a site in wss 3.0. Made its anonymous access enabled for all site content. This wss app is in the "wss3" server.
2. created a membership db with regsql.exe in .net framework folder.Created it with its default settings, like aspnetdb named database.This db is in the "sqlserver" server.
3. gave db.owner permission to the web app. admin of wss to the aspnetdb database. The user is registered under the same domain as the sql and the wss machines.
4. configured site's web.config file with following changes/adds:
..added the connectionString:
<connectionStrings>
<clear />
<add name="LocalSqlServer"
connectionString="server=sqlserver;database=aspnetdb;
Integrated Security=SSPI"
providerName="System.Data.SqlClient" />
</connectionStrings>
..added the membershipProvider:
<membership>
<providers>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqlServer"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="1"
passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />
</providers>
</membership>
..also checked the peoplepicker settings:
<PeoplePickerWildcards>
<clear />
<add key="AspNetSqlMembershipProvider" value="%" />
</PeoplePickerWildcards>
5. After all, I changed the application provider of the site I created to use forms. Gave it the provider name of "AspNetSqlMembershipProvider".
6. I've created some users for Forms Authentication via ASP.net Configuration page by visual studio.
7. Checked the users in the db aspnetdb. They are there.
8. Tried to login to wss with one of them. Successfully logged in. With no privilages ofcourse.
9. Tried to give permission via Web Application Policy to that user which logged in.
10. People Picker couldn't find it at all. Any of the forms users couldn't be found. But it clearly tells that AD connection is also changed that none of the AD users couldn't be found either.
It seems I'm missing something to configure about people picker. Any help would be appreciated.
Thanks in advance.
Beytan
© Stack Overflow or respective owner