LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-03-2012, 02:48 AM   #1
argi6argi
LQ Newbie
 
Registered: Oct 2007
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Slackware 13.37 + ftp server + Active Directory integration...


Hello everyone,

I have installed a full version of Slackware 13.37 in order to make an ftp server for my company. The company is Windows based so most of the servers are windows but I would like to import the Linux option. Since its up to me, I chosen Slackware that is the distro that I have used more in the past.

So, I have installed Slackware, recompiled the vsftpd with ldap module. Ftp is working fine with local accounts, so my concern is to have AD integration in order to avoid the local accounts that my supervisor will reject for sure.

Any ideas on how to proceed from this point on? I have read a lot of stuff that confused me. Do I need PAM? Do I need anything else? What I would like firstly, is to point me to the right way (need to install this and this and that) and I'll try to find out how to complete it.

Thanks in advance,
Argi.
 
Old 09-03-2012, 05:29 AM   #2
kjhambrick
Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware-64 -current
Posts: 57

Rep: Reputation: 25
Quote:
Originally Posted by argi6argi View Post

<snip>

... so my concern is to have AD integration in order to avoid the local accounts ...

<snip>

Do I need PAM? Do I need anything else? ...
Argi --

I've 'joined' CentOS Boxes to AD (via PAM) but I've never tried to
integrate Slackware with AD.

I run Slackware at home but have no Windows AD Server and we have
a number of customers running AD and CentOS but none with Slackware.

This looks promising:

http://canich.net/slackware/krb5.html

There are a lot of patches involved but it seems to address all the
essential ingredients.

-- kjh

<NoFlamesPlease>

p.s. I love Slackware myself and this looks like an interesting
experiment, but since you're starting a new project and since it's
for your employer, maybe CentOS might be the way to go i ?

Handy resource:

http://www.google.com/url?sa=t&rct=j...VUw4Tg&cad=rja

</NoFlamesPlease>
 
Old 09-03-2012, 06:28 AM   #3
chemfire
Member
 
Registered: Sep 2012
Posts: 70

Rep: Reputation: Disabled
I don't know about vsftp. Its pretty easy to make work without pam on Slackware with proftpd. You will need to add the MIT Kerb5 package. Configure /etc/kerb5.conf to use your domain controller as the KDC. Configure Samaba and join your domain. Set up your nsswhich.conf to use winbindd for users and groups. I used to replace the login program with login.kerb5 and setup ssh to also use kerb, these are optional but nice because than you can login to the box not just ftp with your ADs credentials. Add the domains admins group to /etc/sudoers as appropriate. You will need to configure proftd to use kerberose as well; that is pretty well documented.

I wish could be of more help but I have moved on from the employer I built for and it was back on like Slackware 10.2. I doubt things have changed much though, you should be able to make it work. Hope these pointers help.
 
Old 09-03-2012, 06:41 AM   #4
argi6argi
LQ Newbie
 
Registered: Oct 2007
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks a lot guys for your help.

I will try the Slackware as it is already installed and if this doesn't work, I might give it a try with CentOS.
 
Old 09-03-2012, 06:26 PM   #5
TheMadIndian
Member
 
Registered: Dec 2007
Distribution: Fedora Slackware CentOS slax RHEL
Posts: 114

Rep: Reputation: 23
I wrote something on here awhile back on AD integration for slackware, just use current packages and you should be fine

http://www.linuxquestions.org/questi...9/#post3766986
 
Old 09-04-2012, 01:55 AM   #6
argi6argi
LQ Newbie
 
Registered: Oct 2007
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TheMadIndian View Post
I wrote something on here awhile back on AD integration for slackware, just use current packages and you should be fine

http://www.linuxquestions.org/questi...9/#post3766986
Thanks. I had already seen your post. I just thought that there might be some changes due to samba/ftp that the two posts are mentioned to
Now that you say that the process is the same, I will take a closer look.
 
Old 09-04-2012, 03:09 AM   #7
kjhambrick
Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware-64 -current
Posts: 57

Rep: Reputation: 25
Argi --

Tom Canich (who also wrote the HOWTO I referenced) maintains a kerberos SlackBuild for 13.37:

http://slackbuilds.org/repository/13.37/network/krb5/

I have not tried it but might be helpful.

-- kjh
 
  


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 integration cccc Debian 2 03-19-2011 08:29 AM
ftp server with active directory sumitrai Linux - Newbie 1 09-17-2009 12:22 AM
Active Directory Integration how-to: kebabbert Solaris / OpenSolaris 0 09-14-2008 03:56 PM
Active Directory Authentication for FTP server element247 Linux - Server 3 03-23-2007 01:34 PM


All times are GMT -5. The time now is 07:31 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