1

I am looking for a small sample demonstrating how to respond to incoming LDAP queries.

Is there any such sample available that would demonstrate such thing? Is there functionality built in the .NET Framework library?

2
  • 1
    Install Active Directory LDS ?!?!? Commented May 21, 2012 at 13:36
  • I installed AD LDS and tested it. Now I would like to write a similar server that speaks LDAP. Nothing fancy or full fledged like AD LDS, just listens on ports, replies to request. I am looking for samples to start with that Commented May 22, 2012 at 8:05

1 Answer 1

1

If your LDAP client requires a full server installation, OpenLDAP might be satisfactory. If the client can be tested with an in-memory server (which will not require a full server installation yet provides a fully-functional LDAP server installation), use the in-memory server provided by the UnboundID LDAP SDK.

Sign up to request clarification or add additional context in comments.

6 Comments

Hi Terry, Do you have experience with the UnboundID LDAP SDK? Is it suitable to create custom LDAP servers?
The in-memory directory server creates a directory server running in a JVM as noted in the blog entry (link in my answer above).
thanks for the reply. I accepted your answer! I will try to port this to .NET
The link in the blog post to the source code seems to be broken!
Thank you, it was broken. I corrected the link to the sample code for the in-memory directory server.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.