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

Re: back-sql: custom attribute list: segmentation fault



Guenther Starnberger wrote:
On Mon, 2004-03-08 at 14:23, Nikola Ivancevic wrote:

Hi,



I'm using OpenLDAP (2.2.6) with back-sql and postgresql (7.3.4).
My LDAP tree structure is very similar to the back-sql example. There is one root dcObject (dn: dc=panline,dc=net). Trying JXplorer (a Java LDAP GUI browser) and performing a simple search I have caused the slapd server to segfault. I have found that


ldapsearch -b "dc=panline,dc=net" "(&(objectClass=*)(gecos=test))"

works fine, but

ldapsearch -b "dc=panline,dc=net" "(&(objectClass=*)(gecos=test))" gecos


Sounds similiar to the bug which I reported some days ago:
http://www.openldap.org/its/index.cgi/Software%20Bugs?id=3005

ITS#3005 seems to be already fixed in OPENLDAP_REL_ENG_2_2 and HEAD.

Let me add that you should check if "gecos" attribute is defined in your schema files AND in the meta-data for the type of entry that causes the crash. If it is, then it might be something different, but I suggest that in any case you try ITS#3005 changes first, by checking out HEAD/re22 code.

p.


-- Dr. Pierangelo Masarati mailto:pierangelo.masarati@sys-net.it LDAP Architect, SysNet s.n.c. http://www.sys-net.it



   SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497