LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-22-2017, 02:14 PM   #1
pob579
LQ Newbie
 
Registered: Nov 2017
Posts: 4

Rep: Reputation: Disabled
AD user authentication to Apache


Hello,
working on implementation of new Intranet solution in large environment based on Apache (that should replace current IIS).

Just got a doc with a planning from solution vendor.
My current question is about user authentication. I am network admin.
The vendor mentions in his doc that it's possible to use AD authentication if the IT dep can link a user name and domain name for the user in the CSV of importation of employee's record (???). I guess it will be just a headache..

Can somebody clarify the point above?

Then I made a Google search and found the solution here on Linuxsecrets:

https://www.linuxsecrets.com/entry/9...tion-in-apache

I quickly read it and it looks that just configuring LDAP module on Linux with the right DOMAIN NAME will do the trick?
Did I understand it correctly?
Thanks!

Last edited by pob579; 11-22-2017 at 05:27 PM.
 
Old 11-23-2017, 06:04 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by pob579 View Post
The vendor mentions in his doc that it's possible to use AD authentication if the IT dep can link a user name and domain name for the user in the CSV of importation of employee's record (???). I guess it will be just a headache..

Can somebody clarify the point above?
Nobody can clarify the above point for you because you give no useful information. You do not tell us if the authentication is done at the Apache level or at the application level. Check with your vendor.

Quote:
Originally Posted by pob579 View Post
I quickly read it and it looks that just configuring LDAP module on Linux with the right DOMAIN NAME will do the trick?
Did I understand it correctly?
Again nobody can tell you because, as I said above, we don't know if your application is using an Apache module or doing the authentication internally.

Using LDAP / AD authentication with Apache is highly possible although I'm assuming that if your vendors application makes use of employee records and you have multiple users then you'll have to at some stage do the actual mapping to prevent users seeing others data.
 
Old 11-23-2017, 07:33 AM   #3
pob579
LQ Newbie
 
Registered: Nov 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TenTenths View Post
Nobody can clarify the above point for you because you give no useful information. You do not tell us if the authentication is done at the Apache level or at the application level. Check with your vendor.

Using LDAP / AD authentication with Apache is highly possible although I'm assuming that if your vendors application makes use of employee records and you have multiple users then you'll have to at some stage do the actual mapping to prevent users seeing others data.
First, thanks for the answer...
I guess somebody who actually uses Apache in AD environment can answer with real life details. As mentioned there are many posts on Internet that mention only utilization of LDAP module configuration for authentication in Apache using AD login. Didn't see any that mention some CSV file containing AD user names. That is why I asked. One thing is clear that the vendor have very limited knowledge on AD and Linux coexistence and offers some primitive ideas (just my thinking).
The CSV should be managed on daily bases (users come and go). So I guess it is not an appropriate solution.

> You do not tell us if the authentication is done at the Apache level or at the application level.

The idea is that any AD user logged in to AD should be able to open home page of the INTRANET site without any further credentials tapping. Then the users will have access only to their permitted areas on website.

As an alternative the vendor mentions local user DB. This just confirms that authentication in Apache should happen in Apache level and not App's level.

CPanel will be used by managers for adding user rights to website resources.

Thanks again.

Last edited by pob579; 11-23-2017 at 07:58 AM.
 
Old 11-23-2017, 09:16 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by pob579 View Post
I guess somebody who actually uses Apache in AD environment can answer with real life details.
Yeah, maybe somebody who with real life experience. I guess integrating AD with Apache, Nagios, Jira, Confluence, Splunk, etc. doesn't count as "real life" enough for you.

Quote:
Originally Posted by pob579 View Post
The idea is that any AD user logged in to AD should be able to open home page of the INTRANET site without any further credentials tapping. Then the users will have access only to their permitted areas on website.
Ok, things get a little clearer. The fact that "users will have access only to their permitted areas" indicates that some form of mapping or permissioning needs to take place between the AD user and the website user. For example, when integrating LDAP/AD authentication with Splunk permissioning is done by mapping an AD group to an internal application role but it's Splunk itself that handles the entry of username/password (unless you implement SSO). The same thing may apply in this case.

With Nagios, authentication is done by Apache and then there are application settings that handle the mapping of AD groups to permissions.

I'd provide you the examples I use with Nagios and AD but I'm sure you'd rather someone with "real life" experience will come along and help you.
 
Old 11-23-2017, 09:30 AM   #5
pob579
LQ Newbie
 
Registered: Nov 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Just look at this beautiful explanation...

http://fm4dd.com/security/apache-lda...-directory.htm

I just expected that somebody uses such implementation in large prod environment and elaborate a bit the experience.
 
Old 11-24-2017, 09:28 PM   #6
pob579
LQ Newbie
 
Registered: Nov 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
TenTenths,
thanks for sharing... didn't have any intention to say something not polite (by "real life" ).

There is a lot of messy stuff around, but it's upper management that trying to push this specific vendor.
I just suggested to them to ask for the DEMO that will be clear to decision makers and obviously for the technical stuff.
 
  


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
[SOLVED] Apache authentication: allow LDAP group OR user named guest, but not all LDAP users AlucardZero Linux - Server 1 05-25-2011 03:21 PM
please help me with apache user authentication logic ... demia Linux - Server 1 05-11-2009 04:23 AM
Apache - authentication for user and group mamtasahai1 Linux - Server 8 10-08-2008 03:58 AM
Use Apache Basic Authentication with user-created form ClarkWGriswold Programming 3 01-09-2008 03:51 PM
Apache and system user authentication filburt1 Linux - Newbie 1 07-27-2006 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:33 AM.

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