Hi
Marcio,
That looks OK. TT
means the helper requires additional data from the client which I did not
prepare a test for. In my case I get the AF response.
#
/opt/squid-trunk/sbin/negotiate_kerberos_auth_test opensuse42.suse.home | awk
'{sub(/Token:/,"YR"); print $0}END{print "QQ"}' |
/opt/squid-trunk/sbin/negotiate_kerberos_auth -r -k squid.keytab -s
HTTP/opensuse42.suse.home
AF
oRQwEqADCgEAoQsGCSqGSIb3EgECAg== markus group=
BH quit
command
Anyway the basic
check looks good. You now just need to run the helper with squid. I will
see if I can create a test which deals with the TT response
too.
Regards
Markus
"Marcio Demetrio Bacci" <marciobacci@xxxxxxxxx> wrote in message
news:CA+0Tdyr+2jEL7p09yrtJQ516M-2uE-q=Zayd3F5J0A=25zcacQ@xxxxxxxxxxxxxx... Hi Markus, thank you for help me. Regards,When I type the klist command, the result is: Ticket cache: FILE:/tmp/krb5cc_0 Default principal: robert@xxxxxxxxxxxxx Valid starting Expires Service principal 28-08-2016 22:40:53 29-08-2016 08:40:53 krbtgt/CMS.ENSINO.BR@xxxxxxxxxxxxx renew until 29-08-2016 22:40:41 But, I have the following result to command bellow: /usr/lib64/squid/negotiate_kerberos_auth_test proxy.cms.ensino.br| awk '{sub(/Token:/,"YR"); print $0}END{print "QQ"}' | /usr/lib64/squid/negotiate_kerberos_auth -r -s HTTP/proxy.cms.ensino.br Result: TT oYGbMIGYoAMKAQGhCAYGKwYBBQIFooGGBIGDBQEwFKESBBBDTUIuRU5TSU5PLkVCLkJSfmkwZ6ADAgEFoQMCAR6iERgPMjAxNjA4MjkwMTM2MDVaowUCAwK7P6QRGA8yMDE2MDgyOTAxMzYwNVqlBQIDBhpppgMCAQepFRsTPHVuc3BlY2lmaWVkIHJlYWxtPqoLMAmgAwIBAKECMAA= BH quit command The HTTP/proxy.cms.ensino.br is in keytab files I don't have the "test_negotiate_auth.sh" file in src/auth/negotiate/kerberos, but I have /usr/lib64/squid/negotiate_kerberos_auth_test, thus I'm using it. My Linux distribution is CentOS 7 2016-08-28 15:24 GMT-03:00 Markus Moeller <huaraz@xxxxxxxxxxxxxxxx>:
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users