I am starting this discussion topic again as requested in the title of the discussion topic above.
I am also having the problem outlined where my /var file system is growing to a point of filling up the partition because of errors in the php error log as such:
PHP Warning: ldap_search(): Search: Can't contact LDAP server in /var/www/html/moodle/auth/ldap/auth.php on line 715
I have confirmed I have ldap access as before without any problems and I am able to run the LDAP sync task. without a errors. The bind user has not changed and has access to the context that is configured ( obviously since it is able to connect fine ). I am using secure ldap to connect to the AD server. I have double checked settings in my ldap plugin authentication and do not see any issues the may be the cause. The errors occur every second and have several entries per second.
I am running moodle 3.5.1 with PHP 7.2.8
Has anyone been able to fix this problem? Could use your help