On Jul 16, 2010, at 12:39 PM, Troy Telford wrote:
I'm running sid; there was a couple of recent updates to slapd, from 2.4.21-1 to 2.4.23-1 (and then 2.4.23-2)
The config itself wasn't changed; the backup file made is the same as the current one.
However, slapd doesn't start anymore.
All I have to go on is the following:
Jul 16 12:26:53 pilot slapd: auxpropfunc error invalid parameter supplied
Jul 16 12:26:53 pilot slapd: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb
and the following from syslog:
syslog.0:Jul 15 23:04:29 pilot slapd: @(#) $OpenLDAP: slapd 2.4.23 (Jul 15 2010 19:20:59) $ ^Iroot@monster:/tmp/buildd/openldap-2.4.23/debian/build/servers/slapd
From what I've looked at for the auth.log, that error isn't a fatal one; slapd isn't/can't use the plugin anyway.
But it is disconcerting to have slapd stop working entirely, with zero config changes on my part.
I found the solution: it was a db version issue.
I did the following:
# make a backup just in case...
chown openldap:openldap *
And now ldap works again.