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

Re: NEWBIE - no data back from query



At 04:16 PM 7/12/99 +1000, Mark Harvey wrote:
>Sorry if this is not the correct list (please advise correct list) for
>my problem.

This is the right list.

>I've built the openldap succesfully on Linux (RedHat v6) and make tests
>pass OK.
>
>Following the "A Quick-Start Guide to running slapd" I get a response
>from the ldapsearch program of "ldap_search: No such object".

This is commonly caused by not specifying a search base (-b)
on your ldapsearch command.   See our FAQ for hints.

>The ldif2ldmb seemed to build the database correctly and I do have
>several files in /var/tmp.

That's a good sign.  However, I recommend using ldapadd() to import
entries into your directory.  ldif2ldbm doesn't do any ldif or
schema checks (it's designed to work in conjunction with ldbmcat).

>A "strings" of the files in /var/tmp does have the data in them.

Probably a case of bad ldif.  Use ldapadd.

Kurt