RHDS 12 - Cannot create a new Root Suffix using LDIF.

Solution Verified - Updated -

Issue

Trying to create a root suffix using LDIF is failing with RHDS 12 ( RHEL 9 ).

$ cat /var/tmp/root_suffix.ldif
dn: cn="dc=example,dc=com",cn=mapping tree,cn=config
changetype: add
cn: dc=example,dc=com
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree
nsslapd-state: backend
nsslapd-backend: UserData
$

$ ldapmodify -x -D "cn=Directory Manager" -W -H ldap://localhost:389 -y /root/DM.txt -f /var/tmp/root_suffix.ldif
adding new entry "cn="dc=example,dc=com",cn=mapping tree,cn=config"
ldap_add: Server is unwilling to perform (53)

$

Environment

Red Hat Directory Server 12
Red Hat Enterprise Linux 9

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