RHDS - Server crashes when manually configuring a replica with an incorrect replicated suffix.

Solution In Progress - Updated -

Issue

A manual configuration of a replica is crashing the RHDS instance:

$ cat /var/tmp/consumer_conf.ldif
dn: cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config
objectclass: top
objectclass: nsds5replica
objectclass: extensibleObject
cn: replica
nsds5replicaroot: o=test
nsds5replicaid: 65535
nsds5replicatype: 2
nsds5ReplicaBindDN: cn=replication manager,cn=config
nsds5flags: 0

$
$ ldapmodify -x -D "cn=Directory Manager" -W -H ldaps://localhost:5636 -a -f /var/tmp/consumer_conf.ldif
Enter LDAP Password:
adding new entry "cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config"
ldap_result: Can't contact LDAP server (-1)
$
$ sudo coredumpctl list ns-slapd
TIME                          PID UID GID SIG     COREFILE EXE                SIZE
Thu 2024-02-15 11:55:21 CET 44125 389 389 SIGSEGV present  /usr/sbin/ns-slapd 2.1M
$

Environment

Red Hat Directory Server 12
Red Hat Enterprise Linux 9
Red Hat Directory Server 11
Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content