title: Creating second database/domain in OpenLDAP
body: <p>I have an LDAP server with <code>"dc=domain1,dc=com"</code> as the olcSuffix.  I would like to create a second domain <code>"dc=domain2,dc=com"</code> on the same server.</p>
  
  <p>Using this LDIF file:</p>
  
  <pre>
  dn: olcDatabase={3}bdb
  objectClass: olcDatabaseConfig
  objectClass: olcBdbConfig
  olcDatabase: {3}bdb
  olcSuffix: dc=domain2,dc=com
  ...
  </pre>
  
  <p>I got an error :
   <code>"no global superior knowledge" error because dc=domain2,dc=com does not fit below the existing dc=domain1,dc=com tree.</code></p>
  
  <p>My question is how do I run two separate domains side by side in openldap?  Do I have to create a <code>"dc=com"</code> root and move the existing <code>"dc=domain1"</code> beneath that and then create <code>"dc=domain2"</code>, or is there someway to support both trees independently in the same server?</p>