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

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

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.