LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-13-2007, 02:46 PM   #1
asommer
Member
 
Registered: Mar 2003
Location: North Carolina
Distribution: Gentoo
Posts: 168

Rep: Reputation: 30
Apache LDAP Group


Hello,

I've configured Apache to use LDAP to authenticate users, and it works great. What I want to do is restrict access to users in a specific group. I've added the directives that I believe will do that, but everything I've tried still lets any user login.

I've followed the info here:

http://httpd.apache.org/docs/2.0/mod....html#reqgroup

http://httpd.apache.org/docs/2.0/mod...groupattribute


I'm using a Gentoo 2006.1 system with Apache 2.0.58 and an OpenLDAP 2.2.13 server.

This is my config:

Code:
<IfDefine SVN>
  <IfModule !mod_dav_svn.c>
    LoadModule dav_svn_module   modules/mod_dav_svn.so
  </IfModule>
  <Location /svn>
    DAV svn
    SVNPath /var/svn/
    AuthType Basic
    Options Indexes FollowSymLinks
    AllowOverride None
    order allow,deny
    allow from all
    AuthName "Authorize Me"
    AuthLDAPURL ldaps://adam-test01.salem.edu:636/dc=salem,dc=edu?uid?sub?(objectClass=posixAccount)
    AuthLDAPBindDN "cn=Manager,dc=salem,dc=edu"
    AuthLDAPBindPassword password
    Require valid-user
    SVNIndexXSLT "/svnindex.xsl"
    #AuthLDAPGroupAttribute uniqueMember
    AuthLDAPGroupAttributeIsDN on
    Require group cn=SVNGroup,ou=Groups
  </Location>
</IfDefine>
Any ideas and/or links to other documentation is greatly appreciated.
 
  


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
apache program writes files in the apache group, how can I change? muskiediver Linux - Security 5 01-17-2007 12:27 PM
Duplicate users in both local group and LDAP? PhillipHuang Linux - Software 1 11-09-2006 03:03 AM
Managing user Accounts with Group Policies, LDAP AdamSBS Linux - Software 2 08-24-2005 08:10 PM
LDAP based group problems looseCannon Solaris / OpenSolaris 3 12-02-2004 03:42 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM


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