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

RE: Installation Help

Try specifying your organization's base DN on the command line, like

1.) ldapsearch -b 'o=your_o, c=your_c' 'objectclass=*'

The DN should be the same you you specified in slapd.conf...

I had a lot of trouble with this (:
The following previous post might be of interest to you->

>Try specify a baseDN using the -b option.  You can also
>establish a default base using ldap.conf(5).

>See also: http://www.openldap.org/faq/index.cgi?file=54

-----Original Message-----
From: Srikant Sreenivasan [mailto:srikants@rediff.co.in]
Sent: Tuesday, April 13, 1999 3:48 AM
To: openldap-software@OpenLDAP.Org OpenLDAP
Subject: Installation Help


I have compiled and installed the OpenLDAP on my RedHat Linux 5.2 Box.
Using the Perl Migration Tools utility, I have migrated all users by

1.) migrate_passwd.pl  /etc/passwd passwd.ldif
2.) ldif2ldbm -i passwd.ldif

After this I start slapd and I can see it running okay with "ps".

But when I use

1.) ldapsearch 'objectclass=*'

I get "ldap_search: No such object".

Any suggestions??

Thanks in advance.

Srikant Sreenivasan
Rediff Communication Ltd., Bombay, India.