LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2009, 04:39 PM   #1
treed
Member
 
Registered: Sep 2003
Posts: 45

Rep: Reputation: 15
VSFTPD over ldap


Okay I am trying to get vsftpd to work over ldap.
Here is my configuration for /etc/pam.d/vsftpd
auth required /lib/security/pam_ldap.so
account sufficient /lib/security/pam_ldap.so
account required /lib/security/pam_unix.so
password sufficient /lib/security/pam_ldap.so


The machine is configured to work over ldap and that works. I can login with ssh over ldap but not vsftpd. I am missing something?
 
Old 06-27-2009, 05:12 PM   #2
treed
Member
 
Registered: Sep 2003
Posts: 45

Original Poster
Rep: Reputation: 15
Working over ldap

This is my /etc/pam.d/vsftpd:
auth required /lib/security/pam_ldap.so
account sufficient /lib/security/pam_ldap.so
account required /lib/security/pam_unix.so
password sufficient /lib/security/pam_ldap.so


Here is my vsftpd.conf file:
local_enable=YES
pam_service_name=vsftpd
userlist_enable=YES
listen_address=10.248.49.56
download_enable=YES
syslog_enable=YES

This will be for later use
#ssl_enable=YES
#allow_anon_ssl=YES
#ssl_tlsv1=YES
#rsa_private_key_file=/etc/pki/tls/private/vsftpd.pem
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
chroot_list_enable=NO
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd authentication against ldap users haariseshu Linux - Server 2 03-03-2009 11:27 AM
ssh,vsftpd and ldap anindyabhattacharjee Linux - Enterprise 1 01-02-2009 05:27 AM
problem on vsftpd authentication againts ldap haariseshu Linux - Software 0 07-26-2008 09:07 AM
VSFTPD to authentocate to LDAP server randy1970 Linux - Newbie 1 02-09-2006 04:09 PM
LDAP, VSFTPD Not authenticating. dlublink Linux - Networking 3 01-19-2005 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration