[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ldap re-creating database



On Sun, Nov 17, 2002 at 18:49:40 -0800, nate wrote:
> mdevin said:
> 
> > In my most recent attempt I deleted the /var/lib/ldap/* files, put my
> > slapd.conf file in place and started slapd. However, when I try to
> > migrate the base system I get "Invalid credentials" errors.
> 
> don't use ldapadd, use slapadd that will fix your problems, just be
> sure your entries are completely correct, slapadd makes no effort
> to make sure they conform to schema and stuff
> 
> slapadd -l /path/to/ldif/file
>
Thanks, it worked straight away.  But you have scared me now.  I want to
migrate over other stuff too for host information, users passwords etc.
Should I keep using the perl scripts in migrationtools and then slapadd
to add the files they generate.  Should I try to use ldapadd instead
somehow?

Cheers.
Mark.



Reply to: