11/06/2016

Proxy Server :: Squid3 Proxy มีปัญหา Authen ชื่อไม่ผ่าน

Proxy Server :: Squid3 Proxy มีปัญหา Authen ชื่อไม่ผ่าน
Proxy Server :: Squid3 Proxy มีปัญหา Authen ชื่อไม่ผ่าน เด่งให้ใส่ชื่อและ รหัส เข้า Web ไม่ได้
เกิดจากการทำ Domain ใหม่โดยการยึดจาก Domain Controller(Server4)

แก้ไขโดยระบุ Version ให้กับ config ของ Squid3
Code เดิม
  1. auth_param basic program /usr/lib/squid3/squid_ldap_auth -R -b "dc=sci,dc=com" -D "cn=ldap-user,cn=Users,dc=sci,dc=com" -w "password" -f "sAMAccountName=%s" -h 192.168.0.253
  2.     auth_param basic children 5
  3.     auth_param basic realm Squid proxy-caching web server
  4.     auth_param basic credentialsttl 5 minutes


Code ใหม่
  1. auth_param basic program /usr/lib/squid3/squid_ldap_auth -V 3 -R -b "dc=sci,dc=com" -D "cn=ldap-user,cn=Users,dc=sci,dc=com" -w "password" -f "sAMAccountName=%s" -h 192.168.0.253
  2.     auth_param basic children 5
  3.     auth_param basic realm Squid proxy-caching web server
  4.     auth_param basic credentialsttl 5 minutes

No comments:

Post a Comment