[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
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 rhafer@suse.de
> Full_Name: Ralf Haferkamp
> Version: 2.1.25, 2.2.4
> OS: SUSE Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (212.95.106.42)
>
>
> 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
> be_entry_open
> 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
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support