[CentOS] slapd auxpropfunc error no mechanism available

Tue Jun 29 14:12:52 UTC 2010
m.roth at 5-cent.us <m.roth at 5-cent.us>

sync wrote:
>
> I am trying to setup OpenLDAP on CentOS 5.3 i386 for a client of mine.
> everytime I try running 'service ldap start',
> I get the following in syslog:
>
> root at xx ~: tailf /var/log/messages
> .....slaptest: sql_select option missing
> ....slaptest: auxpropfunc error no mechanism available
> ....slapd[4392]: sql_select option missing
> ....slapd[4392]: auxpropfunc error no mechanism available
> ....ldap: slapd startup failed
>
>
> I have checked the permissions on /etc/ldap.conf and /etc/openldap.conf
> and the two are chmod'd ldap:ldap
>
> Can anyone give me pointers?

This is *not* a permissions problem. Read the message - it's saying you
have an error in your slapd configuration file. Also, you can run slaptest
by itself, to check the config, and you can add debug levels (-d 3, or
whatever) to identify the lines, I believe I remember.

        mark