[cups.development] Re: [cups.commit] [CUPS] r5710 - branches/kerberos/cups

Jelmer Vernooij jelmer at samba.org
Sun Jul 9 15:46:36 PDT 2006


Hi Mike,

On Sun, 2006-07-09 at 17:49 -0400, Michael Sweet wrote:
> cups-dev at easysw.com wrote:
> > -#  define HTTP_MAX_VALUE	256	/* Max header field value length */
> > +#  define HTTP_MAX_VALUE	2048	/* Max header field value length */

> You can't change this constant without breaking binary compatibility.
> In addition, you're increasing the size of the http_t structure to
> something like 64k... :)
> 
> What you'll need to do is add a char * to the *end* of the http_t
> structure and update httpGetField() and httpSetField() to handle
> HTTP_FIELD_WWW_AUTHENTICATE values specially, copying as much as
> possible to the old field for backwards-compatibility...
Thanks for the comments (putenv as well) - I'll fix the code. 

At the moment, I'm still stuck getting server side GSSAPI to work. The
first data from the client can now be parsed correctly, the server can
obtain its own credentials and the two combined are accepted by GSSAPI.
However, I haven't yet been able to unpack the clients ticket to get at
the username.

I'll also try to figure out whether it's feasible to add a Kerberos test
to the testsuite. Are there any tests for the other authentication
mechanisms? I wasn't sure where such a test would fit in best.

My holidays have finally started (last exam was on July 7), so I'll be
spending much more time on CUPS-Krb5 and trying to catch up on my
schedule (I'm about 10 days off). 

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.cups.org/pipermail/cups/attachments/20060709/43d0f2f9/attachment.bin>


More information about the cups mailing list