Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > Developing active directory applications without any Active Directory Services

Reply
Thread Tools Display Modes

Developing active directory applications without any Active Directory Services

 
 
J055
Guest
Posts: n/a

 
      12-10-2009
Hi

I'm writing C# applications and working with the
System.DirectoryServices.AccountManagement namespace. I'm developing on a
standalone Windows Y2K8 server using VS2008 and I don't have Active
Directory installed.

My question is do I need to install full AD to effectively test my
application or is there a development version I can use? It may be necessary
to test the application with AD DS and AD LDS and the local SAM database.

What are my options?

Many thanks
Andrew

 
Reply With Quote
 
 
 
 
Paul Bergson [MVP-DS]
Guest
Posts: n/a

 
      12-10-2009
Take a look at AD LDS
http://www.microsoft.com/windowsserv...yServices.mspx

This can be installed as a service on a machine

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4
Microsoft's Thrive IT Pro of the Month - June 2009

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.

"J055" <> wrote in message
news:...
> Hi
>
> I'm writing C# applications and working with the
> System.DirectoryServices.AccountManagement namespace. I'm developing on a
> standalone Windows Y2K8 server using VS2008 and I don't have Active
> Directory installed.
>
> My question is do I need to install full AD to effectively test my
> application or is there a development version I can use? It may be
> necessary to test the application with AD DS and AD LDS and the local SAM
> database.
>
> What are my options?
>
> Many thanks
> Andrew



 
Reply With Quote
 
Joe Kaplan
Guest
Posts: n/a

 
      12-11-2009
The caveat here is that there are significant behavior differences between
AD LDS and AD. Some stuff may work, but it is important to know the
differences very well if you want to have an idea that your code is really
going to do what you expect.

SDS.AM attempts to smooth out many of those differences which can help, but
it won't address everything.

It is probably your best bet (and a much better suggestion than using local
SAM db) but will require careful testing later.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
"Paul Bergson [MVP-DS]" <pbbergs@no_spammsn.com> wrote in message
news:%...
> Take a look at AD LDS
> http://www.microsoft.com/windowsserv...yServices.mspx
>
> This can be installed as a service on a machine
>
> --
> Paul Bergson
> MVP - Directory Services
> MCTS, MCT, MCSE, MCSA, Security+, BS CSci
> 2008, 2003, 2000 (Early Achiever), NT4
> Microsoft's Thrive IT Pro of the Month - June 2009
>
> http://www.pbbergs.com
>
> Please no e-mails, any questions should be posted in the NewsGroup This
> posting is provided "AS IS" with no warranties, and confers no rights.
>
> "J055" <> wrote in message
> news:...
>> Hi
>>
>> I'm writing C# applications and working with the
>> System.DirectoryServices.AccountManagement namespace. I'm developing on a
>> standalone Windows Y2K8 server using VS2008 and I don't have Active
>> Directory installed.
>>
>> My question is do I need to install full AD to effectively test my
>> application or is there a development version I can use? It may be
>> necessary to test the application with AD DS and AD LDS and the local SAM
>> database.
>>
>> What are my options?
>>
>> Many thanks
>> Andrew

>
>


 
Reply With Quote
 
Lee Flight
Guest
Posts: n/a

 
      12-11-2009
Hi

also consider using a virtual environment e.g. virtualPC or hyper-V if your
hardware can meet
the requirements, I share Joe's reservation about the extent to which AD LDS
will reflect
AD DS experience.

Lee Flight


"J055" <> wrote in message
news:...
> Hi
>
> I'm writing C# applications and working with the
> System.DirectoryServices.AccountManagement namespace. I'm developing on a
> standalone Windows Y2K8 server using VS2008 and I don't have Active
> Directory installed.
>
> My question is do I need to install full AD to effectively test my
> application or is there a development version I can use? It may be
> necessary to test the application with AD DS and AD LDS and the local SAM
> database.
>
> What are my options?
>
> Many thanks
> Andrew



 
Reply With Quote
 
J055
Guest
Posts: n/a

 
      12-11-2009
Hi

Thanks for all the advice. I installed LDS OK but I realize now, as you say,
it's not the same as DS so I'll have to go the Virtual PC or hyper-V
(whatever that is) route.

Thanks again
Andrew

 
Reply With Quote
 
Junior Member
Join Date: Dec 2009
Location: Phoenix, AZ
Posts: 1

 
      12-28-2009
You might want to try out some of the virtual machine images Microsoft has already preconfigured with Active Directory, Exchange, and test data.

For example here is Exchange 2010 VHD that has Active Directory installed on it, too.

http://www.microsoft.com/downloads/d...3-31e514d69f02

Thanks,
Kamran
Active Directory Tools
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Directory services restore mode deadlock Amos Sobel Windows Small Business Server 1 11-02-2009 08:16 AM
Send To (clipboard, active applications) Freek Versteijn Windows Vista File Management 1 04-23-2008 08:38 PM
How to contact Microsoft C.B. Windows Vista Hardware 23 03-12-2008 03:06 PM
Numerous taskeng entries in task list MGSteve Windows Vista Performance 6 01-17-2008 12:36 AM
Re: Active Directory Users and Computers missing Terminal Services Pro Richard G. Harper Windows Vista Installation 0 12-15-2006 11:21 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59