LDAP module does not work with chroot
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 --
Phil Mayers <p.mayers@imperial.ac.uk> writes:
On 13/07/17 08:30, Olivier wrote:
ldap_connect_to_host: getaddrinfo failed: hostname nor servname provided, or not known
Name resolution isn't working. Check you have the relevant config files e.g. nssswich.conf, resolv.conf and related, inside the chroot.
Of course. Thank you. Olivier
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
participants (2)
-
Olivier -
Phil Mayers