Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



Developing active directory applications without any Active Directory Services

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 10-12-2009
J055
 
Posts: n/a
Developing active directory applications without any Active Directory Services

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
  #2  
Old 11-12-2009
Paul Bergson [MVP-DS]
 
Posts: n/a
Re: Developing active directory applications without any Active Directory Services

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" <j055@newsgroup.nospam> wrote in message
news:ukd03OceKHA.2596@TK2MSFTNGP04.phx.gbl...
> 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
  #3  
Old 11-12-2009
Joe Kaplan
 
Posts: n/a
Re: Developing active directory applications without any Active Directory Services

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:%23A6OK2deKHA.4112@TK2MSFTNGP06.phx.gbl...
> 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" <j055@newsgroup.nospam> wrote in message
> news:ukd03OceKHA.2596@TK2MSFTNGP04.phx.gbl...
>> 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
  #4  
Old 11-12-2009
Lee Flight
 
Posts: n/a
Re: Developing active directory applications without any Active Directory Services

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" <j055@newsgroup.nospam> wrote in message
news:ukd03OceKHA.2596@TK2MSFTNGP04.phx.gbl...
> 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
  #5  
Old 11-12-2009
J055
 
Posts: n/a
Re: Developing active directory applications without any Active Directory Services

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
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Developing active directory applications without any Active Directory Services"
Thread Thread Starter Forum Replies Last Post
Active Directory Web Services (ADWS) Iain Carlin Active Directory 1 21-05-2011 05:08 AM
The version of the Active Directory schema of the source forest is not compatible with the version of Active Directory on this computer Blaine Active Directory 5 22-05-2010 07:33 AM
Active Directory Federation Services Yorgy Active Directory 10 14-11-2009 10:17 PM
how to register non-active directory computer in a active directory integrated DNS server David Windows Server Help 8 18-09-2009 07:32 PM
question on upgrading from active directory 2000 to active directory 2003 Gary M Window 2000 Help 2 17-03-2007 01:27 AM


All times are GMT +5.5. The time now is 12:04 PM.