an LDAP test server maybe?

Daniel Stenberg via curl-library <[email protected]> Sun, 26 Oct 2025 11:55:04 +0100 (CET)
Newsgroups gmane.comp.web.curl.library
Message-ID <[email protected]>
Hello,

Some of our supported protocols are less tested than others and that sometimes 
leads to regressions or worse.

One of the least tested protocols in the curl collection is LDAP and I would 
like to do something about this.

The standard way to do protocol testing in curl, and one that works really 
well, is to implement a really simple server of our own for the purpose. It 
usually doesn't even have to speak the protocol well but just be able to do 
responses according to what the test case instructs it. The test case should 
also be able to instruct the server to respond completely protocol 
non-compliant etc so that we can make sure curl deals with those situations as 
well. That's typically a reason why we don't want or need a full "proper" 
server - just a thin basic engine.

Any suggestions for an embryo for an LDAP test server where we can start? The 
smaller the better. It can be done in C, but maybe using Python is more 
convenient.

-- 

  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html