OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[discuss] Problem with apache/ldap group authentication

From: John Coonrod (jcthp.org)
Date: Mon Oct 27 2003 - 21:33:24 CST


OK! I got it working. Here is what's required:
AuthName "Mylan Level 1"
AuthType Basic
AuthLDAPURL "ldap://localhost:389/dc=mylan,dc=net"
AuthLDAPGroupAttribute "memberUid"
AuthLDAPGroupAttribute "Uid"
AuthLDAPGroupAttributeIsDN off
require group cn=myteam,ou=group,dc=mylan,dc=net

(I wrote earlier today...)
I've setup my 9.1 server for openldap authentication per the documents
on this site, and everything worked as advertised.

I've then enabled mod_auth_ldap in apache2 and everything works there
EXCEPT "require group" which just doesn't seem to work at all. I've
tried many different .htaccess settings without joy.

Has anyone found a way to make this work?

Thanks!
--
------------------------------------------------------------------------
/Dr. John Coonrod, Vice President, The Hunger Project
15 East 26th Street, New York, NY 10010, www.thp.org/