[Date Prev][Date Next]
RE: slapcat segfaults in certain backglue setups (ITS#2924)
> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of email@example.com
> Full_Name: Ralf Haferkamp
> Version: 2.1.25, 2.2.4
> OS: SUSE Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (220.127.116.11)
> When I use an back-ldap database as a subordinate of some
> bdb- of ldbm-
> Database. slapcat will segfault after the contents of the
> bdb/ldbm Database have
> been dumped.
> I was not able to produce a reasonable backtrace yet, but it
> seems to crash in
> backglue.c inside the glue_tool_entry_first function when
> trying to call
> for back-ldap (which does for good reasons not provide the function).
Thanks, this is now fixed in HEAD. Please test.
> Wouldn't it be good to completely ignore the subordinate
> stuff when operating with the slaptools?
You always have the option to do this, if you e.g. use slapcat -n to cat a
specific backend, the subordinate stuff is ignored. However, it's still
desirable to have the subordinate functionality when you're doing a bulk
load; it saves you from having to split your input LDIF into multiple files.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support