Autentikasi Squid dengan LDAP
Squid ku akhirnya bisa berkomunikasi dengan server LDAP. Hippie!
auroraborealis:/var/log/squid# /usr/lib/squid/ldap_auth -b "ou=paume,o=itb,c=id" -D "cn=admin,ou=paume,o=itb,c=id" -w "rahasia" -h localhost uid=%s
admin admin
OK
#vi squid.conf
auth_param basic program /usr/lib/squid/ldap_auth -b "ou=paume,o=itb,c=id" -D "cn=admin,ou=paume,o=itb,c=id" -w "rahasia" -f "(uid=%s)" -h localhost
#/etc/init.d/squid restart
Sekarang, bagaimana caranya agar yang dicocokkan adalah atribut user ID dan atribut digital certificate (dalam bentuk binary). Nah lho!?!
auroraborealis:/var/log/squid# /usr/lib/squid/ldap_auth -b "ou=paume,o=itb,c=id" -D "cn=admin,ou=paume,o=itb,c=id" -w "rahasia" -h localhost uid=%s
admin admin
OK
#vi squid.conf
auth_param basic program /usr/lib/squid/ldap_auth -b "ou=paume,o=itb,c=id" -D "cn=admin,ou=paume,o=itb,c=id" -w "rahasia" -f "(uid=%s)" -h localhost
#/etc/init.d/squid restart
Sekarang, bagaimana caranya agar yang dicocokkan adalah atribut user ID dan atribut digital certificate (dalam bentuk binary). Nah lho!?!
1 Comments:
auroraborealis:/var/log/squid# /usr/lib/squid/ldap_auth -b "ou=paume,o=itb,c=id" -D "cn=admin,ou=paume,o=itb,c=id" -w "rahasia" -h localhost -f uid=%s
admin admin
OK
Post a Comment
<< Home