0
I am having an openLDAP which is having a database say dc=domain1,dc=com
.
Now I am trying to add 1 more, dc=domain2,dc=com
.
Below are the steps, we did to achieve this,
[root@host user]# service slapd stop
Stopping slapd: [ OK ]
[root@ host user ]# slapadd -f /etc/openldap/slapd.conf -l /tmp/domain2.ldif -S 001 -w
5ccd948f bdb_monitor_db_open: monitoring disabled; configure monitor database to enable
slapadd: line 1: database #1 (dc=domain1,dc=com) not configured to hold "dc=domain2,dc=com"; no database configured for that naming context
_######### 46.62% eta none elapsed none spd 935.8 k/s
Closing DB...
[root@ host user ]# service slapd start
Starting slapd: [ OK ]
Can someone suggest me how can I proceed ?
Here is my domain2.ldif contents:
dn: dc=domain2,dc=com
changetype: add
objectclass: top
objectclass: organization
dn: dc=mobileauth,dc=domain2,dc=com
changetype: add
objectclass: top
objectclass: dcObject
Thanks @grawity . we were able to get some points understood. – Vijayasundhar Nanjundan – 2019-05-06T12:54:25.813