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

Re: No such object error after converting from 2.0.27 to 2.3.32

On Monday, 7 May 2007, Brian Gaber wrote:
> Took the slapcat output from version 2.0.27 (ldbm) to version 2.3.32
> (bdm).  Used slapadd on 2.3.32 and am using Berkeley 4.2.52.  The
> slapadd works fine.  Then I issued chown ldap:ldap on the
> /var/lib/ldap-2.3.32 directory and files.  Any type of ldapsearch
> results in a 32 no such object.  The identical ldapsearch on the old
> ldap works fine.

Maybe you haven't set the value for BASE in /etc/openldap/ldap.conf (or the 
relevant default configuration file for the OpenLDAP library).

You may wish to define all applicable options on the commandline to avoid this 
confusion, until you are sure you have configured the defaults correctly. 

ldapsearch -x -h localhost -b dc=mycompany,dc=com

(instead of 'ldapsearch -x')

Also, inspecting the logs on the LDAP server may be of value.


Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader

Attachment: pgpQDRih8QmcC.pgp
Description: PGP signature