In OpenLDAP 2.4 (and AFAIK 2.3) there are two ways to run more than one tree on the same server: 1. To set root of the server into point. I.e. slapd.conf: ####################################################################### # BDB database definitions ####################################################################### database bdb suffix "" rootdn "uid=admin,dc=mydomain,dc=net" This way IMHO is not very well. 2. To run several daemons each with it's own config for it's own tree. But the start script doesn't provide the possibility to run several different daemons (as apache's web server does). I suggest to rewrite the start script in apache-style to make possible to use the second solution.
Responsible Changed From-To: freebsd-ports-bugs->delphij Over to maintainer.
Is this PR still relevant?
(In reply to Carlo Strub from comment #2) > Is this PR still relevant? It is (and me or someone else still have to sit down and see what we can do with that).
Same question: still relevant?
(In reply to w.schwarzenfeld from comment #4) I'm interested in this, but I'm torn in approach... I see two paths forward: 1.) The www/apache24 route, which would mean we'd have slapd_profiles and profile-flavored variants of the different configuration options in rc bits, or 2.) The security/openvpn route, which would entail telling the user to link the rc script to other variants and using that as the prefix; e.g. `ln -s slapd slapd_otherdirectory && sysrc slapd_otherdirectory_enable=YES && ...` The former would entail a lot more work than the latter, but would likely look a little cleaner. The latter would just need more minor adjustments to make sure all of the slapd_ variables use a ${name}_ prefix instead so that the link trick works. I'm slightly leaning towards the latter method, since it would let the port user decide how they want to namespace these things rather than forcing it all under slapd_* namespace.
Still an issue on more recent versions (2.5+)?
Since OpenLDAP 2.4 is now unsupported upstream I guess we can close this now and open a new PR is its still relevant/of interest? Xin LI, comments?