LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   LDAP authentication for squid squid 2.6.STABLE16 release 2.fc8 (http://www.linuxquestions.org/questions/linux-security-4/ldap-authentication-for-squid-squid-2-6-stable16-release-2-fc8-632411/)

farrukhndm 04-02-2008 07:54 AM

LDAP authentication for squid squid 2.6.STABLE16 release 2.fc8
 
Dear Linux Gurus!

I have installed Microsoft 2003 domain server which i am using as a PDC.and on other server i have installed Fedora core 8 2.6.stable16 installed there i have installed squid 2.6 stable 16 as a PROXY Server.

Now i want to authenticate my users by using LDAP protocol through my MS PDC Server machine.please tell me procedure from start.

1)will squid 2.6 already support for LDAP
2)if yes then how to configure squid.conf and other related files to make ACL for ldap authentications
3)whether i have to define username/groups of active directory for internet authentication but how can i do all these thing.
Please tell me as the full procedure in step 1,2,3,..... As i not senior in linux but can work well and wana do.

linux Gurus are thing why i put these

waiting.....Please Help me!!!!
Many Many thanks for giving your time and reading my query.
Again thanks

regards.

Farrukh Nadeem

acid_kewpie 04-02-2008 08:28 AM

check out the squdi ldap project, shoudl cover everything you're asking for here. http://www.google.com/search?q=squid+ldap

farrukhndm 04-03-2008 02:57 AM

how to define users,groups of PDC in ACL
 
1)# vi /etc/squid/squid.conf
2)Add In Auth_param in squid.conf

auth_param basic program /usr/lib/squid/squid_ldap_auth -b "dc=nixcraft,dc=com" -f "uid=%s" -h ldap.nixcraft.com
acl ldapauth proxy_auth REQUIRED
http_access allow ldapauth
http_access deny all
3)#service squid restart

Please i am not clear how to use the above ....
1)In my case my domain is welgon1.com.pk
how define dc?? is it right way
dc=welgon1,dc=com,dc=pk

2)how to add user/group/OU of pdc in acl "ldapauth

waiting for reply


All times are GMT -5. The time now is 10:32 AM.