SearchSearch   

Apache 2.2 + ldap tip

 
   Webmaster Forums (Home) -> Apache RSS
Next:  help with mod_proxy  
Author Message
Some Other Guy

External


Since: Aug 02, 2007
Posts: 1



(Msg. 1) Posted: Thu Aug 02, 2007 12:36 pm
Post subject: Apache 2.2 + ldap tip
Archived from groups: alt>apache>configuration (more info?)

Hi.

I have been attempting to get apache to use our Apple Xserve's LDAP
server for authenticating users in .htaccess files. It seemed like I had
everything set up right, but i was getting "GROUP: <username> not in
required group(s)." errors in the log file. I tried everything i could
think of, and I found a reference to it on google. The guy there said
that he was having the same problem and he discovered that if you remove
the "auth_sys_group" module, it works. I did so, and now ldap
authentication works like a champ.

Here is a copy of my *working* .htaccess file:

AuthName "Keeping out the riff-raff"
AuthzLDAPAuthoritative off
AuthType Basic
AuthBasicProvider ldap
AuthLDAPURL ldap://xserv.your-domain/cn=users,dc=xserve,dc=your-stuff-here
require valid-user

Anyway, it seems to be working for me, and since it took so much
searching to find the solution to this problem, I figured that I should
post this in the hopes that it helps someone else out there Smile

-rich
Back to top
Display posts from previous:   
       Webmaster Forums (Home) -> Apache
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum