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

Re: Need help!



try:
ldapsearch -h 127.0.0.1 -b 'o=nybble.org, c=US' 'objectclass=*

I ran into about the same problem... Hope that helps....

Allen Reese
Senior Software Engineer
Driversoft, Inc.
allen@driversoft.com

On Wed, 2 Dec 1998, Brian Baggett wrote:

> Greetings all.
> 
> I've tried in vain to create a workable database, so far with no luck.
> Since documentation on the openldap package is nil, I followed the
> guidelines at the UMich site and built a myldif file that looks as so:
> 
> dn: o=nybble.org, c=US
> o: nybble.org
> objectclass: organization
> 
> dn: cn=Brian, o=nybble.org, c=US
> cn: Brian
> sn: Baggett
> mail: brianb@nybble.org
> objectclass: person
> 
> Initialized it...
> 
> ldif2ldbm -f /etc/ldap/slapd.conf -i myldif
> 
> Started slapd and did a `ldapsearch -h 127.0.0.1 'objectclass=*'`
> 
> It yields...
> ldap_search: No such object
> ldap_search: matched: c=US
> 
> What am I doing wrong and how do I fix it?
> 
> Thank you in advance,
> 
> Brian
>