Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 103163

Summary: Guide to OpenLDAP - search for rootdn should always fail on an empty database
Product: [OLD] Docs-user Reporter: Michael Ploujnikov <ploujj>
Component: OtherAssignee: Docs Team <docs-team>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***