[Date Prev][Date Next]
Re: Newbie LDIF question
On Wed, 2004-07-28 at 10:52, Quanah Gibson-Mount wrote:
> --On Wednesday, July 28, 2004 10:22 AM -0700 Kevin Williams
> <firstname.lastname@example.org> wrote:
> >> Are they because I ran slapadd as root ? Should I change back the
> >> owenership of these files to user 'ldap' ?
> > Yes. As a personal practice, I try to use the ldap commands instead of
> > the slap commands. Both work, but by using ldap, files will be created
> > with correct read/write permissions and ldap commands tend to error out
> > on stuff that slap will push through.
> You could simply run slapadd as the user in question (I suggest looking for
> the utility from Daemontools known as "setuidgid"). I'll note that load
> times via slapadd are generally substantially faster than they are for
> ldapadd, when doing bulk data loads.
True--I should of specified, "While setting up the first few entries for
a new configuration." (It's also just my personal practice--it helped
me to iron out a few configuration wrinkles before integrating with