LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-21-2007, 08:22 AM   #1
element247
LQ Newbie
 
Registered: Jan 2007
Posts: 3

Rep: Reputation: 0
Active Directory Authentication for FTP server


I have a fedora core 5 box that is set up with sadms to act as an active directory client. Users can log in on the box, ssh into the box, but can not be authenticated via FTP.

I am using proftpd. When an active directory user attempts to FTP in, the authorization does not follow through.
Will mod_gss or mod_ldap fix this? Is there something else I need to do?

Help would be MUCH appreciated, thank you.
 
Old 03-22-2007, 03:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
essentially it's simplest to just utilize the pam framework to allow ldap. use system-config-authentication to use ldap and enter the details there. you will still need to customize /etc/ldap.conf after as the gui is really pretty shitty. it can be a bit tricky getting the usre base from ldap if you do want that (note that obtaining the usernames and details is actually seperate to authenticating those details - where i work, we use local unix accounts on a box, but authenticate those accounts against ldap.)
 
Old 03-23-2007, 12:16 PM   #3
element247
LQ Newbie
 
Registered: Jan 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Still no dice...I'm pretty sure I have the LDAP configured okay because the box itself will allow active directory authentication, just not through FTP.

/etc/ldap.conf reads:

ssl no
tls_cacertdir /etc/openldap/cacerts
pam_password md5
host venus.matcor-matsu.com
base dc=matcor-matsu,dc=com
bind_policy soft

am I missing something?
 
Old 03-23-2007, 01:34 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well the pam config file for your ftp server would need to reference the ldap module, chekc this.... http://www.computing.net/linux/wwwbo...rum/27181.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Active Directory Authentication zenix Suse/Novell 29 03-22-2007 10:00 AM
How to setup linux file server that integrates with Active Directory Authentication? redkintanar Linux - General 1 11-16-2006 07:45 AM
Active Directory authentication? cwhitmore Mandriva 3 03-09-2005 11:25 AM
active directory authentication mozilla Linux - Networking 2 02-21-2005 04:55 AM
samba-authentication with Active Directory sanjeevsagoo Linux - Networking 2 05-07-2004 03:09 AM


All times are GMT -5. The time now is 05:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration