Issue 8617 - Seg-fault while using meta database and rwm overlay together
Summary: Seg-fault while using meta database and rwm overlay together
Status: UNCONFIRMED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.42
Hardware: All All
: --- enhancement
Target Milestone: 2.7.0
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-15 22:51 UTC by jaroslaw.wencel@gmail.com
Modified: 2021-07-13 16:18 UTC (History)
0 users

See Also:


Attachments
Jaroslaw-Wencel-170315.tgz (11.08 KB, application/x-compressed)
2020-03-23 02:34 UTC, Quanah Gibson-Mount
Details

Note You need to log in before you can comment on or make changes to this issue.
Description jaroslaw.wencel@gmail.com 2017-03-15 22:51:20 UTC
Full_Name: Jaroslaw Wencel
Version: 2.4.42
OS: Ubuntu 16.04.1
URL: 
Submission from: (NULL) (46.227.243.233)


Hi

I'm trying to develop configuration which includes Active Directory catalogue
into main LDAP tree I have in my configuration. Everything works well while
using slapd-meta as long as I do not try to combine it with rwm overlay.

LDAP crashes while invoking modrdn change (refer to attached crashme.ldif) with
the configuration as in config.ldif.

modrdn change works well until I add dn:
olcOverlay={0}rwm,olcDatabase={1}meta,cn=config to the configuration.

I'm using OpenLDAP 2.4.42 installed from Ubuntu repositories (latest version
from 16.04.01). 
I have uploaded ftp://ftp.openldap.org/incoming/Jaroslaw-Wencel-170315.tgz to
the ftp server, archive file contains:
- config.ldif - dump of ldap configuration from the moment modrdn operation
crashes the server
- crashme.ldif - the ldif file I'm using for invoking modrdn operation
- crash.logs - slapd daemon log

Please let me know if you have any further questions

Thanks
Jaroslaw Wencel
Comment 1 Quanah Gibson-Mount 2017-03-16 18:38:57 UTC
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2017-03-17 16:33:57 UTC
--On Wednesday, March 15, 2017 11:51 PM +0000 jaroslaw.wencel@gmail.com 
wrote:

> Full_Name: Jaroslaw Wencel
> Version: 2.4.42
> OS: Ubuntu 16.04.1
> URL:
> Submission from: (NULL) (46.227.243.233)
>
>
> Hi
>
> I'm trying to develop configuration which includes Active Directory
> catalogue into main LDAP tree I have in my configuration. Everything
> works well while using slapd-meta as long as I do not try to combine it
> with rwm overlay.
>
> LDAP crashes while invoking modrdn change (refer to attached
> crashme.ldif) with the configuration as in config.ldif.
>
> modrdn change works well until I add dn:
> olcOverlay={0}rwm,olcDatabase={1}meta,cn=config to the configuration.
>
> I'm using OpenLDAP 2.4.42 installed from Ubuntu repositories (latest
> version from 16.04.01).
> I have uploaded
> ftp://ftp.openldap.org/incoming/Jaroslaw-Wencel-170315.tgz to the ftp
> server, archive file contains:
> - config.ldif - dump of ldap configuration from the moment modrdn
> operation crashes the server
> - crashme.ldif - the ldif file I'm using for invoking modrdn operation
> - crash.logs - slapd daemon log
>
> Please let me know if you have any further questions

Hi,

Thanks for the report! There are a number of known existing issues with 
slapo-rwm, so the detail provided here is quite useful.

Regards,
Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>


Comment 3 Quanah Gibson-Mount 2020-03-23 02:34:59 UTC
Created attachment 656 [details]
Jaroslaw-Wencel-170315.tgz
Comment 4 Quanah Gibson-Mount 2021-01-11 17:46:19 UTC
Invalid configuration, rwm should not be combined with back-meta.

Future work: Abort slapd if such an invalid configuration is encountered.