Hi all,
2.HEAD currently doesn't build on opensolaris, in at least some
cases due to it not properly detecting kerberosv5 variants.
The attached patch is a backport of some 3.HEAD changes which allows
2.HEAD to build on opensolaris
Please review and, if it seems OK to you, apply.
--
/kinkie
Index: src/peer_proxy_negotiate_auth.c
===================================================================
RCS file: /squid/squid/src/peer_proxy_negotiate_auth.c,v
retrieving revision 1.3
diff -r1.3 peer_proxy_negotiate_auth.c
168a169
> #define DEFAULT_SKEW (krb5_deltat) 600
186c187,188
< #else
---
> #endif
> #if HAVE_HEIMDAL_KERBEROS
252a255,258
> #elif HAVE_KRB5_GET_MAX_TIME_SKEW && HAVE_HEIMDAL_KERBEROS
> skew = krb5_get_max_time_skew(kparam.context);
> #elif HAVE_MAX_SKEW_IN_KRB5_CONTEXT && HAVE_HEIMDAL_KERBEROS
> skew = kparam.context->max_skew;
254,258c260
< #if HAVE_KRB5_GET_MAX_TIME_SKEW
< skew = krb5_get_max_time_skew(kparam.context);
< #else
< skew = kparam.context->max_skew;
< #endif
---
> skew = DEFAULT_SKEW;