[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
meta_back_db_open: no targets defined
- To: <openldap-technical@openldap.org>
- Subject: meta_back_db_open: no targets defined
- From: Matthew Bik <mbik@isightpartners.com>
- Date: Wed, 5 Dec 2012 08:29:13 -0500
- Authentication-results: cf01.prod.isightpartners.int; dkim=neutral (message not signed) header.i=none
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=isightpartners.com; i=mbik@isightpartners.com; q=dns/txt; s=mx.201010; t=1354714176; x=1386250176; h=message-id:date:from:mime-version:to:subject: content-transfer-encoding; bh=FF8wxHHRDTzXPUaZDi8X1PG20qljX0sUBrBmitaE/J4=; b=a8cw/cZxD/V4R1h68/N0MdfLyCQFCo8GlaHoEL6WFTXp61HIBiCpuXuP cUm+38B4zAEVT4DeaBBpo05TkU05Bj/cBbtpjAe3ucipUuQjX3HXxsyJ9 JB9bOn47+Xxla65Db9rtzM3Y1o4p3n+UgtJ5QB/+jY9JqaFMxls/b00iW g=;
- Domainkey-signature: s=mx_201010; d=isightpartners.com; c=nofws; q=dns; h=Authentication-Results:Received:Message-ID:Date:From: Organization:User-Agent:MIME-Version:To:Subject: Content-Type:Content-Transfer-Encoding:Return-Path: X-Originating-IP; b=Mi/UjfGErs24ZKq5z22fo2KqJGkk2CCL2rcPG47QgSOyFamqonrTRWRF hkUDo0CauH+U4zozXR9V8m7FqLLOwr7ZToTYdH7emm73HeQ80a1qsjc8U pXguIldqdcQoIAyPyfV3XH98yIWx9NdsNqcAUu6xs/sMkfhexAxpRDCf5 g=;
- Organization: iSIGHT Partners, Inc
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1
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"