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

Re: ldapsearch problem!



Your search doesnt look right. Try the following:
ldapsearch -x -b "dc=sharif,dc=edu" "(objectclass=*)"
Before you had specificed your search base as "objectclass=*" which is not
part of your directory tree. You want "(objectclass=*)" for your filter.
Good luck,
Ian

On Mon, Apr 29, 2002 at 05:26:06PM -0700, Mehdi Jabal Ameli wrote:
> when I run slapcat it return 
> dn: dc=sharif, dc=edu
> objectClass: top
> 
> dn: ou=groups, dc=sharif, dc=edu
> objectClass: top
> objectClass: organizationalUnit
> ou: groups
> 
> dn: ou=people, dc=sharif, dc=edu
> objectClass: top
> objectClass: organizationalUnit
> ou: people
> 
> but when i run ldapsearch -b "objectclass=*" -x
> it return :
> 
>  version: 2
> 
> #
> # filter: (objectclass=*)
> # requesting: ALL
> #
> 
> # search result
> search: 2
> result: 32 No such object
> 
> # numResponses: 1
>  
> 
> Does anyone know how I can resovle this problem?

-- 
Ian Logan
Computing & Networking
New Mexico State University
Email: ian@nmsu.edu Phone: 505-646-6034 Fax: 505-646-4560