Summary: | openldap: default slapd.conf creates a directory that is nowhere near crash-safe | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeremy Kitchen <jeremy> |
Component: | [OLD] Server | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | critical | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch to default slapd.conf to make the database more reliable. |
Description
Jeremy Kitchen
2004-06-30 12:09:06 UTC
this was reported almost 2 months ago.. I figured it would be a "oh yea, oops" and be in.. but I see nothing :) Shall I provide a patch to the slapd.conf file? patches greatly accepted. I'm basically the only person handling openldap presently, and I've got a lot of other things on my plate too. For the most part, at the moment that means unless it breaks at work (where I've got gentoo deployed to ~20 servers), or I need something new at work/home, It's minor version bumps and the such only. Created attachment 35911 [details, diff]
patch to default slapd.conf to make the database more reliable.
you must not ever have power outages or unexpected shutdowns then, as it does
break then :)
unified diff enclosed. Not sure if I would revbump or whatever, but I would
think that you'd want this in the config file.
I also added that bind_v2 be allowed, since I believe that's what squirrelmail
uses with php and ldap.
Enjoy.
my LDAP server has a redudnant power supply, the hardware is good and solid (after my own burn-in testing), makes use of 3ware RAID1, and i've got a big friggin UPS for the server room :-). i'll see about putting it in sometime tonight maybe. the checkpoint statement is now used in cvs. I'm NOT putting the 'allow bind_v2' in place. If you have an old application that needs the backwards support of v2 binding, then you should enable it only for your configuration that needs it. |