Need local LDAP instance for testing on Windows server

Windows Server 2008 R2
Joined to domain and contained in DMZ.  Server is unable to communicate with domain, intentionally.

I have a developer who is writing a .NET app and needs to test LDAP user queries, locally from the server.  I'm researching how to setup a local LDAP instance on this server.  I thought the Active Directory Lightweight Directory Services role might do the trick, but I'm unable to connect to the instance I installed with ADSI Edit.  I'm either doing something wrong or misinterpreting this role.

I'm researching alternative LDAP solutions and my research led me to ApacheDS:  http://directory.apache.org/apacheds/

Would ApacheDS be a good solution to allow us to build a container of users, for test queries?  Or is there a Windows feature I can take advantage of?  Any other ideas?

Thanks in advance.
bmsandeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Radhakrishnan RSenior Technical LeadCommented:
Hi,

If i understand correct, you are trying query users via ldap? if so, you don't need to enable the Active Directory Lightweight Directory Services role. Bydefault, LDAP is enabled once you installed the DC. Go to start>>run>>ldp.exe>>Connection>>Connect>>Give the server name and port 389>>OK>>Once it's connected you can see lot of LDAP information which can be used for your testing.
0
Shalom CarmelCTOCommented:
Use ADAM (Active Directory Application Mode).
It runs as a user service and can be provisioned on the developer's PC.

http://www.microsoft.com/en-us/download/details.aspx?id=4201
0
BigRatCommented:
I had exactly the same problem. The only server to which I had access for Active Directory was off limits for development.

So I downloaded OpenLDAP for Windows, made up a .lif file full of test cases and developed and tested against that. The biggest advantage is the fact that you can test against missing data by simply mocking it up.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

bmsandeAuthor Commented:
@Radhakrishnan - thanks for your suggestion but the server is contained in the DMZ so we can't connect to the DC

@BigRat - I came across OpenLDAP in my research but found ApacheDS possibly be more user-friendly.  I haven't tested either, yet.  But it sounds like you understand our objective.  I'll take a look at OpenLDAP.  Thanks.
0
bmsandeAuthor Commented:
Does anyone else think ADAM would be a good solution??  I've been reading about this but not sure how it compares to OpenLDAP or ApacheDS.
0
Shalom CarmelCTOCommented:
The good thing about ADAM is that it uses the same schema as AD, so all platform quirks can be addressed easily. Other than that, if you like OpenLDAP then go for it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.