<quote who="Aaron Richton">
[purposefully on -devel for discussion]
Any opinions on:
--- init.c~ 2008-03-12 10:02:44.000000000 -0400 +++ init.c 2008-03-12 10:03:16.000000000 -0400 @@ -712,7 +712,7 @@ return -1; }
Debug( LDAP_DEBUG_TRACE, LDAP_XSTRING(bdb_back_initialize)
Debug( LDAP_DEBUG_ANY, LDAP_XSTRING(bdb_back_initialize) ": %s\n", version, 0, 0 ); }
I'm definitely one for 'quiet' software, but knowing the version of libdb is a really nice detail when assisting users of OpenLDAP. This would make it that much easier to have them find it. I'd argue there's a bit of precedent:
main.c: Debug( LDAP_DEBUG_ANY, "%s", Versionstr, 0, 0 );
The negative, of course, is the noise. But what's ~60 bytes in this day and age?
Looks good:
[ghenry@suretec openldap-2.4.8]$ sudo /usr/local/libexec/slapd -d 256 -h ldap://:6001/ @(#) $OpenLDAP: slapd 2.4.8 (Mar 12 2008 14:47:23) $ ghenry@suretec:/home/ghenry/Download/openldap-2.4.8/servers/slapd bdb_back_initialize: Berkeley DB 4.6.21: (October 11, 2007) hdb_back_initialize: Berkeley DB 4.6.21: (October 11, 2007) bdb_monitor_db_open: monitoring disabled; configure monitor database to enable slapd starting