LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-12-2016, 07:57 PM   #1
psydFX
LQ Newbie
 
Registered: Feb 2016
Posts: 2

Rep: Reputation: Disabled
Implementing OpenLDAP for web not for OS


Hi,

I have experience with many systems, but new to Linux.

System: Centos
Daemon: OpenLDAP/phpLDAP

I would like to use Open LDAP as a resource for several websites for related organizations, but keep the security principals separate for the OS. I have found the documentation does not directly point to something (web searches were also ambiguous).

1. Has/Does anyone else do this?
2. Is there a reference?
3. Can you provide steps?

My apology in advance if this is a blatantly simple and obvious line of questions.

Thank you,
Steve
 
Old 02-12-2016, 08:39 PM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,646

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
It SHOULD be simple....

I have not done this, but the question interests me.
Certainly an application can do authentication independent of the operating system, in fact many applications clearly DO: certain ftp and web servers can use SQL back ends, why not LDAP.
If we can find the setup for that application to use LDAP, it should work.
The OS uses PAM, and if we no NOT integrate LDAP authentication into PAM the OS will NOT use LDAP.

This then leads me to think that the place to research this (after google, natch!) will be in the documentation for your web server. Which web server are you using?
(Not II I hope! Something like Apache HTTPD, or possibly NGINX, Monkey, etc.)
 
Old 02-13-2016, 12:59 AM   #3
psydFX
LQ Newbie
 
Registered: Feb 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
wpeckham,

Thanks for your insight. I think that not coupling the slapd daemon to the PAM is exactly the trick. (I had no idea what to call the local security access daemon).

OS: CentOS 6.7
httpd: 2.2.15-47.el6.centos.1
nginx: 1.9.4-centos6.15091112

Adding nginx on top was a recommendation made to me (the travesty of being a nEWb).

After reading up on CentOS PAM, I have found what I thought might be there - the step during installation/configuration that directs the OS to authenticate - ez, just don't do it. Then the LDAP is stand alone. From there, configuring listening for the daemon to service sites and a small local (web) interface for management should be somewhat simple, yes?
 
  


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
Implementing web-service facing broblem help need amar@solus Programming 2 03-17-2013 10:48 PM
Implementing Web Server with Xen Virtual + LVM splinux Linux - Server 7 06-27-2011 12:59 PM
[SOLVED] Implementing the Web Server in home. splinux Linux - Server 5 06-26-2011 11:01 AM
implementing RAID on WEB server unearthed Linux - Hardware 4 12-07-2007 05:50 PM
LXer: Implementing an embedded Linux web app framework LXer Syndicated Linux News 0 08-06-2006 02:21 AM

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

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