Re: MembershipProvider, ADAM and userProxy
- From: gely <gely@xxxxxxxxxx>
- Date: Fri, 15 Sep 2006 13:55:16 -0700
Joe et all,
As suggested, I used reflector to create a custom membership provider -
with no changes to the original logic. It took more than a little
effort (seems like I had to disassemble and include almost half of the
original classes), but I finally got it to build and handle calls.
Using it in place of the ActiveDirectoryMembershipProvider in the
web.config file allowed for the authentication of ADAM users.
I then modified the filter for the DirectorySearcher to be:
searcher1.Filter =
"(&(objectCategory=person)(|(objectClass=user)(objectClass=userProxy))"
+ filter + ")";
I can still authenticate ADAM users, but the result for the AD users is
the same (unsuccessful login attempt) - and there is no trace of an
attempted authentication in the domain logs.
Do you think this could be a result of a needed property that the user
class has that the userproxy class does not?
Not sure how to proceed. Any suggestions would be helpful.
- Thanks -
*** Sent via Developersdex http://www.developersdex.com ***
.
- Follow-Ups:
- Re: MembershipProvider, ADAM and userProxy
- From: gely
- Re: MembershipProvider, ADAM and userProxy
- References:
- Re: MembershipProvider, ADAM and userProxy
- From: Joe Kaplan
- Re: MembershipProvider, ADAM and userProxy
- Prev by Date: Re: LDAP Auth Problem - COM interop
- Next by Date: Re: MembershipProvider, ADAM and userProxy
- Previous by thread: Re: MembershipProvider, ADAM and userProxy
- Next by thread: Re: MembershipProvider, ADAM and userProxy
- Index(es):
Relevant Pages
|