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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2014, 06:55 AM   #1
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
LDAP authentication : Slackware server vs. Ubuntu client?


Hi,

As far as I know, LDAP authentication is not used in practice on Slackware due to the lack of PAM. That's a field I'm not familiar with, and I have a general question. If my client machines are running Ubuntu (more exactly ElementaryOS 0.2, an excellent Ubuntu 12.04 derivative), can I setup LDAP authentication against a Slackware server without having to jump through burning loops? Is it only the client machine that has to be "PAMified"?

Cheers,

Niki
 
Old 05-28-2014, 07:11 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Slackware by default ships only openldap-client, so you should build yourself an openldap-server package (in the example linked the openldap-client SlackBuild is taken as base): you can see here for an example of slapd.conf.

That should suffice for just authenticating against the server.
 
Old 05-28-2014, 12:37 PM   #3
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by ponce View Post
Slackware by default ships only openldap-client, so you should build yourself an openldap-server package (in the example linked the openldap-client SlackBuild is taken as base): you can see here for an example of slapd.conf.

That should suffice for just authenticating against the server.
On the server, do I also have to build Linux-PAM, pam_ldap, nss_ldap and shadow, as described in the article ?
 
Old 05-28-2014, 12:41 PM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
no.
supposing you don't have any services (http or whatever) running on it that need to authenticate on the ldap server running on the same box, those are just for the clients that need to authenticate logins on the server (but you are better off integrating that stuff with vbatts' work with PAM).
in this scenario, you just do ldap queries on the server, so PAM isn't involved.

Last edited by ponce; 05-28-2014 at 01:14 PM.
 
1 members found this post helpful.
Old 05-28-2014, 02:10 PM   #5
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
OK thanks !
 
  


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
LDAP client authentication using AD windows server 2008 Rajesh Nair Linux - Security 1 01-30-2013 01:27 PM
windows client authentication through redhat ldap server anaresh55 Linux - Server 4 05-10-2012 02:07 AM
Configuring Ubuntu 9.10 as client to use Samba/LDAP server for user authentication Xyan Ubuntu 1 01-24-2010 01:22 AM
Setting up LDAP authentication server on Slackware Yalla-One Slackware 2 03-28-2006 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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