Bluehost.com Web Hosting $6.95

using apache and mod_auth_ldap to restrict access by groups

This is a discussion on using apache and mod_auth_ldap to restrict access by groups within the Windows Web Servers forums, part of the Web Server and Related Forums category; I'm using the mod_auth_ldap with apache to attempt to block access to a directory based on group membership. I'...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-17-2004
jaime
 
Posts: n/a
Default using apache and mod_auth_ldap to restrict access by groups

I'm using the mod_auth_ldap with apache to attempt to block access to a
directory based on group membership. I've successfully bound to the
active directory server and authenticated with my user id but I cannot
seem to get the filter right to find the group memberships by id. I
have no idea what the syntax should be. Here is what I have:

require filter "(&(groupmembership=ABC*))"

Can this be done? How do I find out if they are a member of a group if
there are many groups listed?

  #2 (permalink)  
Old 02-02-2005
shalofin@gmail.com
 
Posts: n/a
Default Re: using apache and mod_auth_ldap to restrict access by groups

Have you tried:

require group cn=ABC, o=fpl

I haven't gotten LDAP talking to AD yet, but will need to do a similar
setup (restricting by group). If the line above doesn't work I will
repost once I get my system working. I think the live above will
create the correct filter for LDAP.

I am using
http://www.strategy.gov.sk/manual-2.....html#examples
for reference on this.

jaime wrote:
> I'm using the mod_auth_ldap with apache to attempt to block access to

a
> directory based on group membership. I've successfully bound to the
> active directory server and authenticated with my user id but I

cannot
> seem to get the filter right to find the group memberships by id. I
> have no idea what the syntax should be. Here is what I have:
>
> require filter "(&(groupmembership=ABC*))"
>
> Can this be done? How do I find out if they are a member of a group

if
> there are many groups listed?


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:09 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0