Developing active directory applications without any Active Directory Services

Discussion in 'Active Directory' started by J055, Dec 10, 2009.

  1. J055

    J055 Guest


    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
    J055, Dec 10, 2009
    1. Advertisements

  2. Paul Bergson [MVP-DS], Dec 10, 2009
    1. Advertisements

  3. J055

    Joe Kaplan Guest

    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, Dec 11, 2009
  4. J055

    Lee Flight Guest


    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
    Lee Flight, Dec 11, 2009
  5. J055

    J055 Guest


    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
    J055, Dec 11, 2009
  6. J055


    Dec 27, 2009
    Likes Received:
    Phoenix, AZ
    KamranSafavi, Dec 28, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.