How to create a root suffix on ldap server using CLI.
If the root suffix we want to create was o=example

# ldapadd -x -D "cn=directory manager" -W
Enter LDAP Password:
dn: cn=o\3Dexample,cn=mapping tree,cn=config
nsslapd-state: backend
objectClass: top
objectClass: extensibleObject
objectClass: nsMappingTree
cn: "o=example"
cn: o=example
nsslapd-backend: Example

adding new entry "cn=o\3Dexample,cn=mapping tree,cn=config"

Read More