Hi all,
I'm trying to make ny vsftpd againts ldap for vitualusers. All the user entries are putted in ldap. But while trying to login with vsftpd it's resulted with the following error:


[root@DIDEL_TCILS_MAIL01 ~]# ftp 192.168.117.27
Connected to 192.168.117.27.
220 Welcome to panafnet.com
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (192.168.117.27:root): vasuda [myusername as in ldap]
331 Please specify the password.
Password: [myuserpassword as in ldap]
500 OOPS: cannot locate user entry:vasuda
Login failed.
ftp>


-------------------------------
My /etc/pam.d/vsftpd file:

auth sufficient /lib/security/pam_ldap.so
auth required pam_unix2.so
account sufficient /lib/security/pam_ldap.so
account required pam_unix2.so
password sufficient /lib/security/pam_ldap.so
password required pam_unix2.so

/etc/pam.d/login file:

auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_nologin.so
auth sufficient /lib/security/pam_ldap.so
auth required /lib/security/pam_unix_auth.so use_first_pass
account sufficient /lib/security/pam_ldap.so
account required /lib/security/pam_unix_acct.so
password required /lib/security/pam_cracklib.so
password sufficient /lib/security/pam_ldap.so
password required /lib/security/pam_unix_passwd.so use_first_pass md5 shadow
session required /lib/security/pam_unix_session.so

/etc/pam.d/passwd file

auth include system-auth
account include system-auth
password include system-auth



If anybody can guess where i'm making mistake please guide me...

Thanks a lot...
-Hari.