LDAP module does not work with chroot

Olivier Olivier.Nicole at cs.ait.ac.th
Thu Jul 13 09:30:35 CEST 2017


Hi,

When I try to run FreeRadius chroot'ed, LDAP modules gives the error:

ldap_url_parse_ext(ldap://ldap.cs.ait.ac.th:389)
ldap_bind
ldap_simple_bind
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP ldap.cs.ait.ac.th:389
ldap_connect_to_host: getaddrinfo failed: hostname nor servname provided, or not known
ldap_err2string

but it runs fine if I do not chroot.

Any idea what that could be? A missing library in the chroot
environment?

TIA,

Olivier
-- 


More information about the Freeradius-Users mailing list