[cups.bugs] [LOW] STR #3701: ServerName doesn't correctly work in some cases

Jason Aladellocchio aladellocchio at gmail.com
Wed Oct 27 20:49:14 PDT 2010


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

I've got a cups server that has in it's /etc/cups/cupsd.conf
a

ServerName cups.example.com

line (the actual 'real' server name is different (lets say
realservername.example.com), cups is a dns cname to it, we want all cups
stuff to work via the cname however for easier management/organisation).  


Normally using the web interface https://cups.example.com:631/   works
quite well and all the links given on pages are to
https://cups.example.com:631/something/    so we keep working on the
correct url   but when creating a new printer/editing printer settings
after the very last step rather than being sent back to
https://cups.example.com:631/printers/printername  we get directed to
https://realservername.example.com:631/printers/printername

This a bit annoying in our case since we use a proper signed ssl cert
which is valid for cups.example.com but not realservername.example.com so
we get a bunch of invalid ssl cert errors etc.

I'd imagine there is a bit of redirect code at the end of the add/modify 
printer wizard that is incorrectly using the machinename when making it's
next url rather than the ServerName setting but I don't know enough about
the code to track down just where it's broken.

Link: http://www.cups.org/str.php?L3701
Version: 1.4.4





More information about the cups-devel mailing list