OK, I have tested with most of the Membership controls the firebird config i am going to list here and it works fine. I need to look at the source to see what it would take to hash the passwords in the database, but if you need to just get the configuration up and running than this will work. You need the latest RC provider, which is 2.0.1.0 and run the scripts. note the earlier change for the ISONLINE field (changing it to have a default value.) and use a web.config like this. Notice that there are 2 connection strings (different than the MS provider, but better in a lot of ways).
<?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\v2.x\Config --> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <appSettings/> <connectionStrings> <add name="Membership" connectionString="character set=UNICODE_FSS;source=127.0.0.1;Initial Catalog=C:\MEMBERSHIP_PROVIDER.FDB;user id=SYSDBA;password=masterkey" providerName="FirebirdSql.Data.FirebirdClient"/> <add name="Roll" connectionString="character set=UNICODE_FSS;source=127.0.0.1;Initial Catalog=C:\ROLE_PROVIDER2.FDB;user id=SYSDBA;password=masterkey" providerName="FirebirdSql.Data.FirebirdClient"/> </connectionStrings> <system.data> <DbProviderFactories> <remove invariant="FirebirdSql.Data.FirebirdClient"/> <add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".Net Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=2.0.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/> </DbProviderFactories> </system.data> <system.web> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. Visual Basic options: Set strict="true" to disallow all data type conversions where data loss can occur. Set explicit="true" to force declaration of all variables. --> <authorization> <allow roles="Wicked" /> <deny users="?" /> </authorization> <compilation debug="true" strict="false" explicit="true"> <assemblies> <add assembly="FirebirdSql.Data.FirebirdClient, Version=2.0.1.0, 
Culture=neutral, PublicKeyToken=3750ABCC3150B00C"/> <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="FirebirdSql.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3D06A02581B682F8"/></assemblies> </compilation> <pages> <namespaces> <clear/> <add namespace="System"/> <add namespace="System.Collections"/> <add namespace="System.Collections.Specialized"/> <add namespace="System.Configuration"/> <add namespace="System.Text"/> <add namespace="System.Text.RegularExpressions"/> <add namespace="System.Web"/> <add namespace="System.Web.Caching"/> <add namespace="System.Web.SessionState"/> <add namespace="System.Web.Security"/> <add namespace="System.Web.Profile"/> <add namespace="System.Web.UI"/> <add namespace="System.Web.UI.WebControls"/> <add namespace="System.Web.UI.WebControls.WebParts"/> <add namespace="System.Web.UI.HtmlControls"/> </namespaces> </pages> <membership defaultProvider="FbNewMembershipProvider"> <providers> <add connectionStringName="Membership" passwordFormat="Clear" name="FbNewMembershipProvider" type="FirebirdSql.Web.Providers.FbMembershipProvider, FirebirdSql.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3D06A02581B682F8" applicationName="Admin" requiresQuestionAndAnswer="True" enablePasswordRetrieval="False" minRequiredPasswordLength="6" requiresUniqueEmail="false"/> </providers> </membership> <roleManager enabled="true" defaultProvider="FbRoleProvider"> <providers> <clear/> <add connectionStringName="Roll" applicationName="/" name="FbRoleProvider" type="FirebirdSql.Web.Providers.FbRoleProvider, FirebirdSql.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3D06A02581B682F8"/> </providers> </roleManager> <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> <authentication mode="Forms"/> <!-- The <customErrors> section enables configuration of what to do if/when an unhandled error occurs during the execution of a request. Specifically, it enables developers to configure html error pages to be displayed in place of a error stack trace. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.htm" /> </customErrors> --> </system.web> </configuration> Message: 3 Date: Mon, 25 Sep 2006 11:49:56 +0200 From: Le roy Arnaud <[EMAIL PROTECTED]> Subject: Re: [Firebird-net-provider] Web.config for firebird To: firebird-net-provider@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-15"; format=flowed Alessio Ferrari a couch? sur son ?cran : > I follow your hint, but the Web Site Administration Tool, in the section > Security, give me a new error ("Hashed or Encrypted passwords are not > supported with auto-generated keys."). Ok try this <add connectionStringName="Membership" passwordFormat="Hashed" name="FbNewMembershipProvider" type="FirebirdSql.Web.Providers.FbMembershipProvider, FirebirdSql.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3D06A02581B682F8" applicationName="WebSite14" requiresQuestionAndAnswer="true" enablePasswordRetrieval="true" passwordFormat="Clear" minRequiredPasswordLength="6" requiresUniqueEmail="false"/>
<<winmail.dat>>
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider