Database must be initialized before the LDAP is initialized.