Test environment for ActiveDirectoryMembershipProvider

  • Thread starter Thread starter Max2006
  • Start date Start date
M

Max2006

Hi,
I am using ActiveDirectoryMembershipProvider for authentication. In my
development environment I don't have any Active Directory available for
development and test. Basically my development environment is a windows xp
laptop.

I am trying to avoid running a domain controller on my laptop. What would
be the easiest way to develop and test my application without running a
domain controller on my laptop?

Can I configure ActiveDirectoryMembershipProvider against a stand alone
server?

Any help would be appreciated,
Max
 
Hi Max,

From your description, you're developing an ASP.NET which will use AD
membershp provider(forms authentication), however, your dev machine is a
standalone xp box, you're wondering how to make the authentication work,
correct?

Based on my understanding, for ADmembership provider, it must work in a
domain environment, since all its implementation are based on LDAP query.
For your scenario, if the dev environment is a non-domain standalone box,
you might consider the following approaches:

1. build some VPC images to simulate the DOMAIN environment. This will help
fully test AD membership feature

2. If only a standalone box, I'm afraid you have to use other membership
provider(suc has the default sqlmembership provider) at development stage.
And switch to ADmembership provider after you've developed most of the
functionality or have a domain environment server for test. ASP.NET
membership provider is designed flexible enough that you won't need much
changes for switching providers.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
 
That is something I had in mind. Thank you Zorba.

I guess there is no way to receive LDAP service based on stand alone machine
users correct?
 
Back
Top