Attached a patch for openldap, the test phase of which was really tricky.

 

Since there are dynamically linked independent server and client programs, I had to set LD_LIBRARY_PATH. Still, one test failed, but not all the time: It succeeded once when run in the build tree. So I took it out. Even then, some test fails from time to time; sometimes after an hour of different tests passing, sometimes after 15 minutes.

 

So my impression is that the programs are correctly compiled, but that sometimes the server does not respond, or responds too late, and I ended up disabling all the tests. But I left my modifications for running tests in the file, you can try them out by setting #:tests? to #t.

 

If there are no opposition or other comments, I am going to push the patch on Monday.

 

Andreas