For some reason, the openldap database on a server became corrupted
last night. Luckily, we had a replicated copy, so I was able to
recover easily. A cron job that dumps the contents of the ldap
database nightly would have made it even easier though.
Created attachment 111162 [details]
Created attachment 111163 [details]
I should probably note that this isn't even remotely an original idea.
This is essentially the same thing that is included with rpm.
Created attachment 111195 [details]
Forgot to set umask in the previous version.
Created attachment 111269 [details]
This is a patch against the spec in rawhide (2.2.13-2). It is untested, but it
looks correct to me.
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
Still not applied in current rawhide.
There doesn't seem to be any interest in getting this applied. I've packaged
the cron job as openldap-snapshot
http://ftp.kspei.com/pub/steve/rpms/openldap-snapshot/), which I intend to
submit to Extras once I have a chance to work on it a little more.