freeradius 3.0.4 can't contact LDAP server

Michael Ströder michael at
Sun Jan 17 17:58:05 CET 2016

Blangille Denis wrote:
> I'm using freeradius 3.0.4 on CentOS 7 with a LDAP server, ApacheDS M20.
> I have configure radius.conf, clients.conf and ldap file module.
> The debug command radiusd -XC returns the configuration is good.
> But it returns : rlm_ldap: Falling back to build time libldapversion info. Query for LDAP_OPT_API_INFO returned -1.
> rlm_ldap: libldap vendor: OpenLDAP version: 20439.
> and the server can't contact LDAP server at the starting.
> I'm test with a ldapsearch command with the same information and i have no error.

Are you using LDAPS or LDAP with StartTLS? If yes, is the CA cert for validating
the LDAP server cert properly configured?

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4245 bytes
Desc: S/MIME Cryptographic Signature
URL: <>

More information about the Freeradius-Users mailing list