[Date Prev][Date Next] [Chronological] [Thread] [Top]

meta_back_db_open: no targets defined



Hello,

I hope this is the right forum for technical questions. If not I apologise in advance. I have been surfing for an answer for a while and was hoping that I am just missing something simple and someone can point me in the right direction.

The scenario :
I have several active directory domains where individual user accounts are managed. I am trying to setup slapd to use the meta backend so that my ldap server can act as a single sign on source for internal tools such as web pages, jabber, and the like.

During the start of slapd it looks like I'm either missing something in my config or I have a typo that I haven't been able to find. To me, it looks like slapd won't start because I'm not giving it anything to do (no targets). I've also been using slaptest to convert a slapd.conf file since documentation on the cn=config files is a little hard to find.

The Setup:
- CentOS release 6.3
- openldap-2.4.23-26.el6_3.2.x86_64
- openldap-servers-2.4.23-26.el6_3.2.x86_64

The Error Log:
Dec  5 08:20:56 example-host slapd[3487]: slapd startup: initiated.
Dec 5 08:20:56 example-host slapd[3487]: backend_startup_one: starting "cn=config"
Dec  5 08:20:56 example-host slapd[3487]: config_back_db_open
Dec 5 08:20:56 example-host slapd[3487]: backend_startup_one: starting "dc=example,dc=com" Dec 5 08:20:56 example-host slapd[3487]: meta_back_db_open: no targets defined Dec 5 08:20:56 example-host slapd[3487]: backend_startup_one (type=meta, suffix="dc=example,dc=com"): bi_db_open failed! (1)
Dec  5 08:20:56 example-host slapd[3487]: slapd shutdown: initiated
Dec 5 08:20:56 example-host slapd[3487]: slapd destroy: freeing system resources.
Dec  5 08:20:56 example-host slapd[3487]: slapd stopped.

My slapd.conf:
include         /etc/openldap/schema/core.schema

loglevel -1

modulepath /var/lib/openldap
moduleload back_meta.la
moduleload back_ldap.la
lastmod off

database      config
rootdn        "cn=root,cn=config"
rootpw        "secret"

database      meta
suffix        "dc=example,dc=com"

uri           "ldap://dom01.example.com/dc=us,dc=example,dc=com";
default-target

uri           "ldap://dom02.example.com/dc=eu,dc=example,dc=com";