From: Jajati Samal <jajati@datalinx.net>
To: Sukanta Ganguly <groundl@hotmail.com>
CC: openldap-software@OpenLDAP.org
Subject: Re: base search with objectClass=* does not work properly...
Date: Tue, 16 Jan 2001 15:51:55 -0600
Hi,
First question which commad u have used?
If it is ldapsearch -x -b '' -s base '(objectclass=*)'
it will give u exactly what u got.
If u want to search all the entries of all object class ( suppose) u gottu
specify the Search Base explicitly
So it should look something like ldapsearch -x -b 'c=US' -s base
'(objectclass=*)'
Depending on the search interest u can spcify the -s option.
The first command is just to make sure that slapd is up n running ,
configured
properly and search works.
Since u have not specifed the Search Base, ldapsearch works with the
default
search base which may not be your schema base dn. This is my understanding.
Since I'm not great, I may be wrong. Make me correct if I'm.
Thanking All
Jajati
Sukanta Ganguly wrote:
> Hi,
> I have the openldap 2.0.7 installed on a linux box. When I issue a
base
> search with the NULL base and the filter "(objectClass=*)" I only get
two
> object classes. They are top and openldaprootdse. I have many more
object
> classes which I don't get in the response. Could anybody please tell me
what
> am I doing wrong here?
>
> SG
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com