Search squid archive

Kerberos Heimdal Server Authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello my setup is as follows :
Freebsd 11 Heimdal Kerberos Server and DNS properly configured (testlab enviroment for example.com domain)
Freebsd 11 squid proxy server
Windows Client


I have created a keytab from the Kerberos Server for http/squid.example.com
Proxy server machine has no problem kinit ing with the keytab file and gets a ticket

# klist
Credentials cache: FILE:/tmp/krb5cc_0
        Principal: http/squid.example.com@xxxxxxxxxxx

  Issued                Expires               Principal
May  9 15:38:36 2018  May 10 01:38:37 2018  krbtgt/EXAMPLE.COM@xxxxxxxxxxx

My squid.conf is as follows concerning the authentication :
auth_param negotiate program /usr/local/libexec/squid/negotiate_kerberos_auth
auth_param negotiate children 10 startup=1
auth_param negotiate keep_alive on

Trying to use :
 # /usr/local/libexec/squid/negotiate_kerberos_auth_test squid.example.com
| awk '{sub(/Token:/,"YR"); print $0}END{print "QQ"}'
| /usr/local/libexec/squid/negotiate_kerberos_auth -r -s http/squid.example.com

fails with :
| negotiate_kerberos_auth_test: gss_init_sec_context() failed:  An unsupported mechanism was requested. unknown mech-code 0 for mech unknown
BH gss_accept_sec_context() failed:  A token was invalid. unknown mech-code 0 for mech unknown
BH quit command


Any ideas ?

Thank you ,
Bariamis Panagiotis


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux