Hi, well after several hours and hours of trying I'll need to ask for help! 
Here's the deal:
Currently I'm setting up a linux machine with squid-cache. So I have the linux machine running ubuntu server 8, it's working well, the squid proxy works fine if I set it to allow all requests from the internal network. So I know all of that is working and my ubuntu server is cool in terms of its network settings and all of that.
Now...
Obviously this needs to change now so that users authenticate with the proxy, which gives me control over their internet usage. We have an OS X Server running OpenDirectory (LDAPv3) and I want users to authenticate with that server. So if a user belongs to the group 'internet' and they go to a website, then they have to authenticate with the proxy using their LDAP username and pass, once authenticated and they are part of the group 'internet' then they can browse and go mad.
The trouble though is the authentication part. Up to this point I've tried various things and none seem to work. In squid.conf I changed the basic_auth to /usr/lib/squid/ldap_auth. I know this requires a string that contains the factors involved with verifying the username & passwords.
Then comes the part with the ACLs and how to set that so that the proxy always requires authentication and will allow a user once he/she is authenticated.
Any idea?! Cause I'm out of ideas and luck.
This is the first line where I specify to use ldap_auth in squid.conf:
auth_param basic program /usr/lib/squid/ldap_auth -b "cn=users,dc=saect,dc=private" -f uid=%s -D "cn=saectproxy,cn=users,dc=saect,dc=private" -w "saectproxy" -h 10.0.0.2
Later on in the ACL section:
acl ldap proxy_auth REQUIRED
Further on under http access section:
http_access allow ldap
I based this on howto using PAM authentication...
It's obviously wrong as it's not working but I'm not sure where to look in order to figure out what is the problem.
Any help will be MUCH appreciated
Here's the deal:
Currently I'm setting up a linux machine with squid-cache. So I have the linux machine running ubuntu server 8, it's working well, the squid proxy works fine if I set it to allow all requests from the internal network. So I know all of that is working and my ubuntu server is cool in terms of its network settings and all of that.
Now...
Obviously this needs to change now so that users authenticate with the proxy, which gives me control over their internet usage. We have an OS X Server running OpenDirectory (LDAPv3) and I want users to authenticate with that server. So if a user belongs to the group 'internet' and they go to a website, then they have to authenticate with the proxy using their LDAP username and pass, once authenticated and they are part of the group 'internet' then they can browse and go mad.
The trouble though is the authentication part. Up to this point I've tried various things and none seem to work. In squid.conf I changed the basic_auth to /usr/lib/squid/ldap_auth. I know this requires a string that contains the factors involved with verifying the username & passwords.
Then comes the part with the ACLs and how to set that so that the proxy always requires authentication and will allow a user once he/she is authenticated.
Any idea?! Cause I'm out of ideas and luck.
This is the first line where I specify to use ldap_auth in squid.conf:
auth_param basic program /usr/lib/squid/ldap_auth -b "cn=users,dc=saect,dc=private" -f uid=%s -D "cn=saectproxy,cn=users,dc=saect,dc=private" -w "saectproxy" -h 10.0.0.2
Later on in the ACL section:
acl ldap proxy_auth REQUIRED
Further on under http access section:
http_access allow ldap
I based this on howto using PAM authentication...
It's obviously wrong as it's not working but I'm not sure where to look in order to figure out what is the problem.
Any help will be MUCH appreciated