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

Error with OpenLDAP



Hey Guys,

My configuration I'm not sure doesn't seems to be working too well, it was working this morning now its not. If you could analyze it for me and tell me how I can achieve 100% success with this would be great.

Thanks in advance for all the time extended

Regards,

Arun Nair

The current error that I'm getting is
*
[root@centserver ~]# service ldap start
Checking configuration files for slapd: WARNING: No dynamic config support for database sql.
backend_startup_one: bi_db_open failed! (1)
slap_startup failed (test would succeed using the -u switch)
[FAILED]
*


*My slapd.conf file is as under:
*
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
loglevel        -1

# Define global ACLs to disable default read access.
defaultaccess read
access to * by * read
access to * by self write

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral       ldap://root.openldap.org

pidfile         /var/run/openldap/slapd.pid
argsfile        /var/run/openldap/slapd.args
modulepath      /usr/lib/openldap
moduleload      back_sql.la

#######################################################################
# sql database definitions
#######################################################################
database sql
suffix dc=abc,dc=corp
rootdn cn=Manager,dc=abc,dc=corp
rootpw {CRYPT}2aFSZAS2uxw..
dbname ldap
dbuser ldap
dbpasswd password
subtree_cond "ldap_entries.dn LIKE CONCAT('%',?)"
insentry_query "INSERT INTO ldap_entries (dn,oc_map_id,parent,keyval) VALUES (?,?,?,?)"
has_ldapinfo_dn_ru no


TLSCertificateFile /etc/openldap/ldap.cert
TLSCertificateKeyFile /etc/openldap/ldap.key


*My odbc.ini configuration is as under: * *[ODBC Data Sources] *myodbc5 = MyODBC 5.1.5 Driver DSN

*[myodbc5]
*Driver          = /usr/lib/libmyodbc5.so
Description     = LDAP Connector
SERVER          = localhost
PORT            =
USER            = ldap
Password        = password
Database        = ldap
SOCKET          = /var/lib/mysql/mysql.sock