Tech Blog
dn: dc=dc,dc=com
o: ldap
objectclass: dcObject
objectclass: organization
2)Then execute the command to import the database.
ldapadd -f base.ldif -x -D cn=root,dc=dc,dc=com -W
It will prompt you to enter the password. If you add it, you will be prompted to add a new node.
Enter LDAP Password:
adding new entry “dc=dc,dc=com”
3) phpldapadmin When the control panel refreshes, it is found that the root node has become an editable state.