Good afternoon colleagues. It does not turn out to adjust in any way
interaction vsftpd and edir. Here mine vsftpd.conf
anonymous_enable=NO
local_enable=YES
local_umask=022
vsftpd_log_file =/var/log/vsftpd.log
connect_from_port_20=YES
write_enable=YES
pam_service_name=vsftpd

And here/etc/pam.d/vsftpd


auth required pam_listfile.so item=user sense=deny file =/etc/ftpusers
onerr=succeed
*auth required pam_listfile.so item=user sense=allow file =/etc/
ftpusersallow onerr=fail
auth sufficient pam_unix2.so
auth required pam_ldap.so use_first_pass
account sufficient pam_unix2.so
account required pam_ldap.so
password sufficient pam_unix2.so
password required pam_ldap.so
session sufficient pam_unix2.so
session required pam_ldap.so

At an input on ftp I enter a name of the user from edir and its password,
system answers, what not the correct password or a name. Where I am not
right? Thanks for the answer.