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.
Thanks.
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.
You don't provide enough input to allow others to support you. All anyone could tell you, based on the information you provided, is that you have a problem. Looking at the server's logs could provide some useful insight, though.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: pierangelo.masarati@sys-net.it ---------------------------------------
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. E.g.:
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.
Regards, Buchan
openldap-software@openldap.org