Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th July 2008, 11: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
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SASL authentication problem _Alien__ HOWTO-Related Questions 17 24th June 2010 14:15
Samba Ldap Problem ZenMatrix Server Operation 1 10th August 2008 08:02
LDAP Problem pinguingilo Installation/Configuration 4 22nd December 2007 22:32
SMTP authentication problem mphayesuk General 2 13th December 2007 12:33
Mail server attack princebenin Server Operation 1 19th November 2007 15:02


All times are GMT +2. The time now is 07:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.