I'm trying to understand PHP's ldap function in order to debug an app.
The authentication flow is like following:
ldap_connect($host, $port);
ldap_set_option($ds, $option);
ldap_bind($ds, $rdn, $pwd);
ldap_search($smth);
ldap_get_entries($smtgelse);
ldap_close($ds);
The error I get is:
The gateway did not receive a timely response from the upstream server or application.
I suspect a firewall to block the response, but I put a logger to see which statment is blocking, it's the ldap_bind
one's.
If it's a network issue it should block on the ldap_connect
statment shouldn't it?