View Single Post
  #1  
Old 28th July 2008, 10:22
haariseshu haariseshu is offline
Junior Member
 
Join Date: Jun 2008
Posts: 9
Thanks: 5
Thanked 0 Times in 0 Posts
Question problem on vsftpd authentication againts ldap

Hi all,
I'm trying to make my vsftpd to authenticate for ldap users. But when authenticating vsftpd resulting 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
331 Please specify the password.
Password:
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



slapd log

Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 fd=14 ACCEPT from IP=192.168.117.27:54906 (IP=0.0.0.0:389)
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=0 BIND dn="cn=Manager,dc=panafnet,dc=com" method=128
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=0 BIND dn="cn=Manager,dc=panafnet,dc=com" mech=SIMPLE ssf=0
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=0 RESULT tag=97 err=0 text=
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=1 SRCH base="dc=panafnet,dc=com" scope=2 deref=0 filter="(uid=vasuda)"
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=2 BIND anonymous mech=implicit ssf=0
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=2 BIND dn="cn=vasuda,ou=Telemedicine,dc=panafnet,dc=com" method=128
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: slap_global_control: unrecognized control: 1.3.6.1.4.1.42.2.27.8.5.1
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=2 BIND dn="cn=vasuda,ou=Telemedicine,dc=panafnet,dc=com" mech=SIMPLE ssf=0
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=2 RESULT tag=97 err=0 text=
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=3 BIND anonymous mech=implicit ssf=0
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=3 BIND dn="cn=Manager,dc=panafnet,dc=com" method=128
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=3 BIND dn="cn=Manager,dc=panafnet,dc=com" mech=SIMPLE ssf=0
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=3 RESULT tag=97 err=0 text=
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 op=4 UNBIND
Jul 27 16:14:04 DIDEL_TCILS_DL01 slapd[1755]: conn=42 fd=14 closed


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

Thanks a lot...
-Hari.
Reply With Quote
Sponsored Links