[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Quick Start Guide - newbie question
> ldapsearch -x -b 'dc=example,dc=com' '(objectclass=*)'
Sorry, that should of course be:
ldapsearch -x -b 'dc=bakerbates,dc=com' '(objectclass=*)'
which returns:
version: 2
#
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 0 Success
# numResponses: 1
Still none the wiser if that means it's working though. If I point my
Outlook LDAP address book at the server, and try searching for names I've
put in with ldapadd, I getno results either.
JJ
> -----Original Message-----
> From: Jonathan Baker-Bates [mailto:jonathan@bakerbates.com]
> Sent: 05 February 2004 15:55
> To: openldap-software@OpenLDAP.org
> Subject: Quick Start Guide - newbie question
>
>
> Hi - this is a pretty ridiculous question, but in Section 3 of
> the Quick Start Guide ("See if it Works") it describes running
> the command:
>
> ldapsearch -x -b 'dc=example,dc=com' '(objectclass=*)'
>
> and then says:
>
> "This command will search for and retrieve every entry in the
> database... You are now ready to add more entries using
> ldapadd(1) or another LDAP client"
>
> So, er, HOW do you tell if it's working then?
>
> When I added my first entry with ldapadd -x -D
> "cn=Manager,dc=bakerbates,dc=com" -W -f new.ldif, I got:
>
> Enter LDAP Password:
> adding new entry "dc=bakerbates,dc=com"
>
> adding new entry "cn=Manager,dc=bakerbates,dc=com"
>
> When I run the above search command, I get:
>
> version: 2
>
> #
> # filter: (objectclass=*)
> # requesting: ALL
> #
>
> # search result
> search: 2
> result: 32 No such object
>
> # numResponses: 1
>
> So, does that mean it's working or not? To me it looks like it's
> not, but I could be wrong. It would be nice if the Guide gave me a clue!
>
> Thanks for any help.
>
> Jonathan
>
>
>
>