Tim Mooney <[email protected]> writes: > In regard to: [OpenIndiana-discuss] OpenLDAP Packages, Dieter Klünter said...: > >> Now I would like to build openldap packages for OI, as the provided >> packages in oi-userland still are build with BerkleyDB which is >> depreciated, that is NO back-bdb, back-hdb. The preferred backend >> should be back-mdb. > > For migration, back-bdb and back-hdb should be included, to make it easier > for sites that are still using e.g. hdb, to eventually move to mdb/Lightning.
I vote strongly against BerkleyDB, that causes Licence problems. That's why openldap refrained from bdb. in order to copy a bdb/hdb database, just call slapcat/slapadd That's it in most cases. Actually I copy a few 100k database within 3 minutes, depending on filesystem. > Are you also packaging the lightning DB tools (mdb_stat, mdb_dump, etc)? > They're not installed by default, but they can be with something like > (cd libraries/liblmdb ; gmake install ). mdb_stat is especially handy to > have. Yes. > >> The openldap packages are still build as 32 bit and 64 bit versions. I >> do understand that libraries i.e. libldap etc. are still made available >> as 32 bit and 64bit version. But OpenLDAP tools, databases, modules and >> server >> should be made available in 64bit version only. > > I would agree with that. > > Which TLS implementation are you using? OpenSSL? I know OpenLDAP > supports GnuTLS, but it's really not recommended. > > Are you building with SASL support? It's really useful, especially on > initial setup, to have ldapi:/// support. > >> I have build successfully openldap-2.4.48 based on the defined requirements, >> within >> my local oi-userland repository. >> There is still some work to do, i.e. modification of service management >> facilities. > > Yeah, I can imagine. Will you be able to augment the existing SMF code > to e.g. make the URLs it serves configurable, perhaps as a property? > > The existing SMF starter script assumes a conf file. Are you planning on > switching it to slapd.d, with initial creation from the conf file? Yes, actually I do have modified my personal /lib/svc/method/ldap-olslapd file to: typeset -r CONF_FILE=/etc/openldap/slapd.conf typeset -r CONF_DIR=/etc/openldap/slapd.d >> Are There any constraints, requirements and comments? > > Do you know how to have the Makefile TEST target compare the results of > the test to a previous test/results-$(MACH).master ? There are examples > of this in e.g. components/python/python35 or components/perl/perl-524. > It might be tricky in this case, though, because the openldap test suite > output can change because of thread scheduling. I am aware of this, but I still stick to openldap test environment. It's more or less a trained habit. >I wouldn't include comparison with old test suite results as a > requirement, but it would be very nice to have later on, after all the > the other issues have been worked out. > > I'm interested to see what you come up with. My OI build seems to lack a regexp library, or similar. My authz-regexp configuration is not working properly. > > I've had to deal with a lot of these same questions on Linux for my > $WORK, to package newer openldap that can replace the stock Red Hat > packages. I have built openldap packages on AWS RedHat a few times, I offer my assistance. :-) -Dieter -- Dieter Klünter | Directory Service http://sys4.de 53°37'09,95"N 10°08'02,42"E _______________________________________________ openindiana-discuss mailing list [email protected] https://openindiana.org/mailman/listinfo/openindiana-discuss
