By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,356 Members | 1,023 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,356 IT Pros & Developers. It's quick & easy.

Test environment for ActiveDirectoryMembershipProvider

P: n/a
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
Jun 27 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: "Max2006" <al*******@newsgroup.nospam>
Subject: Test environment for ActiveDirectoryMembershipProvider
Date: Mon, 9 Jun 2008 10:35:40 -0400
>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
Jun 27 '08 #2

P: n/a
Max2006 wrote:
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?
Read about Active Directory Application Mode (ADAM). That is simplified
repository, which can be installed on XP box - I've successfully managed
to use ActiveDirectoryMembershipProvider against it.

--
marcin
Jun 27 '08 #3

P: n/a

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?

"zorba" <zo******@interia.plwrote in message
news:g2**********@atlantis.news.neostrada.pl...
Max2006 wrote:
>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?

Read about Active Directory Application Mode (ADAM). That is simplified
repository, which can be installed on XP box - I've successfully managed
to use ActiveDirectoryMembershipProvider against it.

--
marcin
Jun 27 '08 #4

P: n/a
Max2006 wrote:
>
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?
Afair ADAM (or some of other services mentioned below) provides such
possibility. I may be wrong - I've (or actually one of my team members)
investigated this subject several years ago.

Some additional links You may find useful:
1. How to use ADAM for both roles and membership in ASP.NET 2.0 and
authorization manager: http://erlend.oftedal.no/blog/?blogid=8
2. ADAM Instance sonfiguration:
http://msdn2.microsoft.com/en-us/library/ms998331.aspx
3. Problem with user creation on ASP.NET Configuration:
http://forums.asp.net/1023737/ShowPost.aspx
4. Making ADAM work with ASP.NET 2.0 on Windows XP:
http://erlend.oftedal.no/blog/?blogid=6
5. AzMan(Authorization Manager):
http://msdn2.microsoft.com/en-us/library/ms998336.aspx

And some more keywords for google:
- Windows Server 2003 Administration Tools Pack
- Windows 2000 Authorization Manager Runtime
--
greetings,
marcin
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.