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
--On Monday, March 21, 2011 9:07 AM -0700 Noel Akins nakins@sbcglobal.net wrote:
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. If you have any suggestions or can point out what is wrong here, I would greatly appreciate it.
I suggest you start slapd with additional debugging levels so you can see what it is unhappy about.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org