kvspb / nginx-auth-ldap

LDAP authentication module for nginx
BSD 2-Clause "Simplified" License
739 stars 253 forks source link

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

Open alfador1 opened 5 years ago

alfador1 commented 5 years ago

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?

dolgovas commented 4 years ago

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