LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-16-2006, 09:24 PM   #1
velu.net
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
OpenLDAP


Hi,

I am new to OpenLDAP. Trying to get OpenLDAP to run. Did my configurations for the slapd.conf, ldap.conf but openldap does not start when i issue this command from my Gentoo box:

# /etc/init.d/slapd start
* Starting ldap-server ... [ !! ]


Can anyone advise me on what is wrong? Here is my slapd.conf file.

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema

TLSCertificateFile /etc/ssl/ldap.pem
TLSCertificateKeyFile /etc/openldap/ssl/ldap.pem
TLSCACertificateFile /etc/ssl/ldap.pem

pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args

database ldbm
suffix "dc=example,dc=com"
rootdn "cn=root,example,dc=com"
rootpw secret

directory /var/lib/openldap-ldbm
checkpoint 32 30 # <kbyte> <min>

index objectClass eq


This is my ldap.conf

BASE dc=example, dc=com
URI ldap://localhost:389/
TLS_REQCERT allow


TQ
 
Old 11-16-2006, 09:34 PM   #2
velu.net
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Lightbulb Found out why it did not start



Hi,

One part of me is happy, the othr feels dumb... I realised that I had made mistake in my slapd.conf file.

database bdb
suffix "dc=example"
rootdn "cn=root,dc=example"


I replaced this portion of the slapd.conf and ldap starts without problem.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenLDAP replication.. sunhui Linux - Networking 0 10-02-2006 11:17 AM
openldap.so.2 mrlucio79 Fedora 2 08-24-2006 03:28 PM
AD, OpenLDAP bentman78 Linux - Networking 1 03-15-2005 01:34 PM
OPENLDAP config bhughesiii Linux - Networking 3 02-21-2005 02:57 PM
openldap quarry_06 Linux - Networking 7 11-21-2004 02:11 PM


All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration