[Date Prev][Date Next]
Re: Where is DB_CONFIG file?
Quanah Gibson-Mount <firstname.lastname@example.org> writes:
> ----- Echedey Lorenzo <email@example.com> wrote:
>> I think the best option, as you suggest, is to recreate
>> everything. Is it enough to remove all /var/lib/ldap contents,
>> restart the ldap service, and populate all again? My intention is to
>> have 8M entries as max.
>> Thanks for your help
> There is zero need to recreate everything. Dieter is wrong. Simply
> stop slapd, create the DB_CONFIG file, run db_recover to regenerate
> the bdb database profile, then start slapd. This has been the standard
> way to do this since OpenLDAP 2.1. Dieter should know this.
I have experienced some problems in the past, that's why I prefer a
Dieter Klünter | Systemberatung
GPG Key ID:8EF7B6C6