LinuxQuestions.org
Visit Jeremy's Blog.
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 05-06-2008, 03:38 AM   #1
zerocool22
Member
 
Registered: Feb 2008
Posts: 95

Rep: Reputation: 15
apache active directory require group..


Hey i have a windows Active directory and a linux server with apache, i have succesfully modded it with mod_auth_pam so it can authenticate to active directory.

I have set in Active directory users with unix attributes
----------------------------------------------------------
john GID 155
jake GID 155
timmy GID 200

In linux i have set up a .htaccess file as such:
--------------------------------------------
Authtype basic
Authname " Give active directory credentials in"
require group 155

Then i i go to the directory with a browser, i get the credentials popup but when i try to log in with john or jake. It doesnt work?

My var/log/messages says: authentication succeeds
My httpd/conf/logs/error_log says: user john/jake not in required group?

I tried to do create a group in active directory called "bosses" and give a GID of 155 to it with the unix attributes tab. But that doesnt seem to work either?

How do you get this to work?
 
  


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
apache active directory zerocool22 Linux - Server 1 03-13-2008 07:48 AM
Apache2 Require user with Require group Russianspi Linux - Server 2 01-30-2008 11:21 AM
Problem authenticating Apache - LDAP - Active Directory using a AD group mrcoffee11 Linux - Server 0 11-10-2007 06:53 AM
Sudo - Active Directory group not recognized nilecirb Linux - Networking 4 08-28-2006 11:09 PM
apache authenticate to Active Directory zuessh Linux - Software 1 07-08-2005 03:29 PM

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

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