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

Re: (ITS#4347) ldap hang for update

Hi Pierangelo,

thanks for your help. Please see below..


Pierangelo Masarati wrote:

On Tue, 2006-01-17 at 21:48 +0000, li@research.att.com wrote:

Full_Name: Li Su
Version: 3.0

There is no version 3.0 (AFAIK); current version is 2.3.

Somehow in config it saids LDAPv3.
The slapd or ldapsearch, ldapmodify I'm using is version 2.2.13

OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

When I do ldapsearch on a big objectclass which has about 6000 entires,

An objectClass cannot have 6000 entries; the objectClass is an attribute
of each entry. Of course, 6000 entries can have the same objectClass.
Is this what you mean? I suggest you try to explain your problem mking
sure you use appropriate terms, especially when they have a clearly
defined meaning in the X500/LDAP data model.

You are right.  The 6000 entries have the same objectClass.

the update or add to any objectclass.

Sounds like you're using the LDBM backend, and hitting the giant lock issue. If this is the case, then it's working as intended. I'd note that it's unlikely you can use the LDBM with OpenLDAP 3.0 (if there'll ever be one) because LDBM is deprecated since OpenLDAP 2.2, I believe, and will disappear from OpenLDAP with version 2.4.

Basic scenario is: When I search on ldap with the command, ldapsearch -x -p port -h host -b base objectClass=myclass | more

Then the following command is blocked:
ldapmodify -x -p port -h host -D dn -W -f  file

Is this to do with config file? How to fix?

Use back-bdb or back-hdb, if you're using back-ldbm; otherwise clarify your problem. Since up to now you didn't bring any evidence of a bug in OpenLDAP software, I suggest we continue this discussion on the openldap-software mailing list. This ITS will be closed.


Ing. Pierangelo Masarati Responsabile Open Solution OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office: +39.02.23998309 Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it