Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 30
Apache LDAP Group


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:

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

This is my config:

<IfDefine SVN>
  <IfModule !mod_dav_svn.c>
    LoadModule dav_svn_module   modules/
  <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://,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
Any ideas and/or links to other documentation is greatly appreciated.


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration