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

Re: how to add entries with slapadd?



slapadd is used to add entries to your database when it is offline (slapd
not running).

It reads your slapd.conf to find out where is the location of you
database.

You may want to take a look at my ldif example files and rebuildldap
script at:

http://www.math.gatech.edu/~dijuremo/ldap/openldapframes.html

Diego

On Thu, 25 Mar 2004, Manuel Mely wrote:

>
>  hi,
>
>  i was reading about slapadd, but i don;t understand for what it is
> certainly?
> slapadd is for add the ldif file with all the entries to a suffix or a
> slapd.conf or what?
> when i do
>
> /usr/local/sbin/slapadd -l bd.ldif -b "o=home,c=cu"
>
> aparently it adds the entries, but when i do ldapsearch -x -b "o=home,c=cu"
> to find this entries there is nothing!
>
>