artal - 7:09 am on Jun 18, 2013 (gmt 0)
After been trying to get what I want, I decide to do it by filtering with ldap group so only user that are in certain IP´s and are in a certain ldap group can access the intranet.
This is the code for that to happen.
AuthName "Red Intranet"
deny from all
allow from 172.31.1 172.31.2 172.31.3 172.31.4 172.31.5
Require group 'zIntranet'
The verification with the ldap group (zIntranet) works fine but know I have some problem.
the problem is as follows:
I´m accessing from an address that is in the 172.31.1.0/24 who is listed in the "allow from" tag but when I try to log in, it ask for username an password and it should not ask for it because i´m in the "allow from" tag. Someone know why? I´m putting something wrong?
Hope someone can help me.