Mailinglist Archive: opensuse-packaging (144 mails)

< Previous Next >
Re: [opensuse-packaging] cups: upgrade from 1.4.x to version 1.5.0
  • From: Werner Flamme <werner.flamme@xxxxxx>
  • Date: Thu, 03 Nov 2011 12:12:40 +0100
  • Message-id: <4EB27728.6040100@ufz.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Johannes Meixner [06.10.2011 12:21]:

Hello,

in the OBS project "Printing" there is now CUPS version 1.5.0 for
various openSUSE and SLE versions.


I appreciate any testing and feedback regarding CUPS 1.5.0.

Johannes,

finally I found a real bug! And a workaround...

In /etc/cups/cupsd.conf, I have lines like:

ServerName printlpz1l.intranet.ufz.de
ServerAlias printlpz1l
ServerAlias 141.65.124.19

Whenever I try to access <https://printlpz1l.intranet.ufz.de:631>, I
get "Bad Request". But: I can access <https://printlpz1l:631> or
<https://141.65.124.19:631> without problems.

lpstat -h printlpz1l.intranet.ufz.de -a
- -> error

lpstat -h printlpz1l
- -> long list

Five minutes ago, I added

ServerAlias printlpz1l.intranet.ufz.de

to /etc/cups/cupsd.conf and voilĂ  - the host is accessible with its
FQDN. Via web as well as via lpstat.

Obviously, CUPS allows access to the ServerAlias only, and refuses
access to ServerName. In /var/log/cups/error_log I see lines like

Request from "141.65.31.19" using invalid Host: field
"printlpz1l.intranet.ufz.de"

That's an interesting bug. They may have invested a lot of brain power
for that :-) BTW, The entry after ServerName is the "real" hostname...

Regards,
Werner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6ydygACgkQk33Krq8b42PJ5QCfTCZronLjems0eVOWXFEsG++w
XcUAn0Vb6WMrHv8bOcSRJSjexA3/uplG
=px1E
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups