LDAP is enabled on my server for authentication. I would like to use vsftpd on that server, but there is a very big delay during authentication and I am wondering if this is not an issue with vsftpd software. It seems that even if I log in as anonymous user, vsftpd tries to access LDAP server. On my server, I see these error logs during authentication:<br>
<br>Nov 24 15:52:44 localhost vsftpd[25813]: nss_ldap: failed to bind to LDAP server ldap://<a href="http://10.1.1.5/">10.1.1.5/</a>: Can't contact LDAP server<br>Nov 24 15:52:44 localhost vsftpd[25813]: nss_ldap: reconnecting to LDAP server (sleeping 8 seconds)...<br>
<br>After a delay of more than a minute, vsftpd will authorize anonymous user, but this very long delay is causing me a lot of grief. What is even more surprising is that I ran tcpdump to see the vsftpd communication to the LDAP server, but the LDAP server never receives any packets from my Fedora 12 server. It looks like vsftpd thinks it needs to contact the server, but never does. What is also surprising is that I can ssh to that server and ssh is configured to use the LDAP server. So, the LDAP server is reachable from that server.<br>
<br>Not sure how to troubleshoot this issue or if I am the only one with this problem.<br><br>Martin<br>