FBA with AD and SQL
hi, is it possible to mix those registrations? i read something like: extranet intranet registration is this the online or best way to configure that? ---------------- i have to add the following: i need to implement this without a second (extranet) site that means: there should be only one url for both registration types (windows user or sql)
August 5th, 2011 2:41am

Hi Chris, You cannot mix both authentication in a single zone. In fact, you can configure FBA with AD and SQL for a single web application. Try extending your web application into two different zones. One for FBA using AD(Intranet) and second for FBA using SQL membership provider(extranet).Mohammed Hussain
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2011 3:04am

hey, ty for your fast answer. but it should be possible to mix both authentification type in a single zone by writting a custom provider that extends the membership provider and so on there i will first look in the active directory; if there is no user registered i will look in sql database so with this way it should be possible??
August 5th, 2011 3:20am

I don't think this is achievable in this way. If you have already done so or you intend to do in future. Please do send us the steps/procedure, that would help users community as well.Mohammed Hussain
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2011 7:11am

its possible :) steps are the following: 1) class which inherits SqlMembershipProvider 2) there you need to override the validateuser method (and other methods you need for your solution) 3) in the validateuser method you first validate the user against the sql db 4) if the user does not match you validate the user against AD (in a second class which inherits MembershipProvider) it depends on your solution if you override methods like getusernamebyemail, changepassword and so on
August 9th, 2011 4:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics