Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103163 - Guide to OpenLDAP - search for rootdn should always fail on an empty database
Summary: Guide to OpenLDAP - search for rootdn should always fail on an empty database
Status: RESOLVED DUPLICATE of bug 115130
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 11:06 UTC by Michael Ploujnikov
Modified: 2005-12-19 05:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Ploujnikov 2005-08-20 11:06:15 UTC
Code Listing 2.7: Test the SLAPd daemon
 This describes a step which will always fail on an empty database:

ldapsearch -D "cn=Manager,dc=genfic,dc=com" -W

Reproducible: Always
Steps to Reproduce:
1. setup and start openldap by steps 2.1 - 2.6
2. ldapsearch -D "cn=Manager,dc=genfic,dc=com" -W
Actual Results:  
Enter LDAP Password: 
# extended LDIF
#
# LDAPv3
# base <> with scope sub
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

# numResponses: 1

Expected Results:  
should find an the requested dn
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2005-12-19 05:02:36 UTC
Sorry, our LDAP guide is out-of-date :-(.

*** This bug has been marked as a duplicate of 115130 ***