You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I running PHP 8.0 on Ubuntu machine. My socket (using FreeDSx/ldap LdapServer) always quit after starting.
After short debugging: The timeout in stream_socket_accept fails. After removing this Parameter, the socket running.
Hi @mdll . Apologies for such a late response, personal life has been quite busy lately.
What is the configuration you're using the launch the LdapServer class? Are you using the default port? If you're using the default port, you'd need to run the code as a user that can bind / listen on port 389 (typical user does not have these permissions). Or perhaps the port is being restricted in some other way.
Hi,
I running PHP 8.0 on Ubuntu machine. My socket (using FreeDSx/ldap LdapServer) always quit after starting.
After short debugging: The timeout in stream_socket_accept fails. After removing this Parameter, the socket running.
src/FreeDSx/Socket/SocketServer.php - Line 126:
$socket = @\stream_socket_accept($this->socket, $timeout);
->$socket = @\stream_socket_accept($this->socket);
Any idea why?
BR
Daniel
The text was updated successfully, but these errors were encountered: