nginx-auth-ldap icon indicating copy to clipboard operation
nginx-auth-ldap copied to clipboard

ldap_result() failed (-1: Can't contact LDAP server)

Open alfador1 opened this issue 5 years ago • 1 comments

Hello, I keep getting this error despite adding max_down_retries 10000 That didn't fix anything for me. Authentication works, but the error log is flooded with that error. Can someone help?

alfador1 avatar Jun 17 '19 08:06 alfador1

I have this trouble too everything work, but nginx spammed this error I see this error periodicly in 30 seconds

my config

ldap_server srv1 {
        url "ldaps://ldaps.lan:3269...";
        binddn "binddn";
        binddn_passwd "pwd";
        require valid_user;
}

auth_ldap_cache_enabled on;
auth_ldap_cache_expiration_time 100000;
auth_ldap_cache_size 10000;

nginx-version

# nginx -v
nginx version: nginx/1.17.10

dolgovas avatar May 21 '20 10:05 dolgovas