Connecting your apache to ebox is very easy and nice. Here is a config that will allow users coming from the ip-range, but demand user and password for everbody else. It will use ebox ldap for verifying the users.


First set upp Apache to use ldap auth. Install the ldap mod and make shure that Apache is using ldap in the mods-enabled folder.


 <Location />
   Order Deny,Allow
   Deny from all
   Allow from
   AuthType basic
   AuthName "Login "
   AuthBasicProvider ldap
   AuthzLDAPAuthoritative off
   AuthLDAPBindDN "cn=admin,dc=ebox"  <--- change to match your config
   AuthLDAPBindPassword "ebox2jadkljalksjdiais0" <-- change to match your config
   AuthLDAPURL  "ldap://,dc=ebox?uid"  <-- change to match your config
   AuthLDAPGroupAttributeIsDN on
   Require valid-user
   Satisfy Any

ebox0Apache (last edited 2011-11-13 05:32:12 by c83-254-148-65)