Hi,

When I try to start slapd I get a failed message saying the config file is bad.  What I have below is what was uncommented in slapd.conf as it came in the package.   I installed Openldap via yum on my 1and1 VPS which has CentOS.  It would seem that the Openldap package for CentOS puts things in different places then in other distributions, and it also seems that this conf file is a bit more complex then what I see in introductory material on LDAP/Openldap, which isn't helping me to learn this. 

I'm wanting to use ldap to authenticate users on a website, and to ultimately use Shibboleth to federate logins (which requires ldap). I'm new to this and I'm not sure what the problem is with this file.  One thing I wanted to ask was since I'm looking to use ldap for website authentication, do I need these schema's? I know I can create a local schema which I think is what I need to do for my purpose.

If you have any suggestions or can point out what is wrong here, I would greatly appreciate it.

Thank you.

#########################################################################

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

# Allow LDAPv2 client connections.  This is NOT the default.
allow bind_v2

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

database bdb
suffix "dc=<mydomain>,dc=<org>"
rootdn "cn=XXXXXX,dc=<mydomain>,dc=<org>"
rootpw xxxxxxx

directory       /var/lib/ldap

# Indices to maintain for this database
index objectClass                       eq,pres
index ou,cn,mail,surname,givenname      eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub