Testing LDAP related software
Ryan Tandy
ryan at nardis.ca
Fri Sep 4 16:54:56 BST 2026
Hello Marc,
On Fri, Sep 04, 2026 at 04:51:33PM +0200, Marc Haber wrote:
>I would have to build myself an OpenLDAP server and pre-fill it with
>some test accounts that could be used for easy testing. I am wondering
>whether it would be a smart idea to just put that server on a
>dedicated, throwaway VM (with ansible recipies to easily redeploy)
>(with LDAP and LDAPS) and to publish a read-only LDAP account and the
>relevant data of the directory contents (passwords etc).
>
>That way, everybody working on sssd and other LDAP-related software
>could easily use that server as a reference server to test their
>software without having to deploy their own server.
From my perspective, standing up and populating a local slapd is a quick
job for a script and I don't really see a need to keep a persistent
instance running. Several packages (including sssd!) already run slapd
in their autopkgtests.
I know configuring slapd and populating data can look like a daunting
task if you aren't familiar with it. If you need any help or
explanation, you are welcome to post here, or on
openldap-technical at openldap.org. You can also find examples of supported
configurations in slapd's test suite.
Thanks
Ryan
More information about the Pkg-openldap-devel
mailing list