[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: rebuilding the DIT



On Fri, Feb 12, 2016 at 4:19 AM, Marc Patermann
<hans.moser@ofd-z.niedersachsen.de> wrote:
> Timothy,
>
> Am 12.02.2016 um 02:14 Uhr schrieb Timothy Keith:
>
>>   I used this slapcat,  I did not specific a config database.
>>
>> slapcat -v -l backup.ldif
>
> Do you know, if you use a config file (like /etc/openldap/slapd.conf) or the
> config backend (cn=config)?
> If not, read the admin guide about it!
>
> If you change the DIT data, you have to change the config accordingly!
> Otherwise the data does fit to your config and on import slapd does not know
> what to do with your data ("no database configured for that naming
> context").
>
> How to change your config depends on the configuration option you use.
>
> - dump data
> - change config
> - change data
> - import changed data
>
>
> Marc
>
>

I got it to work by using ldapmodify to change the suffix, then use
the same to change the root password.  Then, I reloaded the users with
slapadd.  Everything seems to be working now.  I can browse the DIT
with JXplorer.  This is a test system.  Sometimes I have to learn by
making mistakes!     Thanks for the assistance.

Tim