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

Re: newbie problem



Hi John,

Now when I try using the -x option here is what I get.
The command I use is
ldapsearch -x -b '' -s base "(objectclass=*)"
----------------------------------------------------
version: 2

#
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 0 Success

# numResponses: 1
------------------------------------------------------
Although I know there are entries in the database, Can anyone tell me what I
am doing wrong.
I add an entry into the database using
ldapadd -x -D "cn=root,o=Western Outdoor Interactive,c=IN" -W -v -f
address.ldif
The Output I get is
-----------------------------------------------------------
ldap_initialize( <DEFAULT> )
Enter LDAP Password:
add objectClass:
        inetOrgPerson
add cn:
        Manoj Vijaykumar
add sn:
        Vijaykumar
add telephoneNumber:
        91-2361311
add mail:
        manoj@theargoncompany.com
add localityName:
        Mumbai
adding new entry "cn=Manoj Vijaykumar,o=Western Outdoor Interactive,c=IN"
modify complete
-------------------------------------------------------------
Which I assume means that the entry got added succesfully.
Also if I use the search command
ldapsearch -x -b 'cn=root,o=Western Outdoor Interactive,c=IN' -s base
"(objectclass=*)"
I get this response
--------------------------------------------------------------
version: 2

#
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object
matchedDN: o=Western Outdoor Interactive, c=IN

# numResponses: 1
-----------------------------------------------------------------
Thanks in Advance.

Regards,
Keith

----- Original Message -----
From: "John Morrissey" <jwm@horde.net>
To: <openldap-software@OpenLDAP.org>
Sent: Thursday, August 01, 2002 11:26 PM
Subject: Re: newbie problem


> On Thu, Aug 01, 2002 at 09:41:06PM +0530, Keith Fernandez wrote:
> % appreciate all your help. Now when I do a
> %
> % ldapsearch "objectclass=*"
> %
> % I get this error
> % ---------------------------------------------
> % ldap_sasl_interactive_bind_s: No such object
> % ---------------------------------------------
>
> man ldapsearch. Disable SASL with -x.
>
> john
> --
> John Morrissey          _o            /\         ----  __o
> jwm@horde.net        _-< \_          /  \       ----  <  \,
> www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__
>
>