On 18-Jan-2010, Philip Haynes wrote: > Add the line; > > HostNameLookups On > > to your cupsd.conf file.
Thanks for the suggestion. However, that doesn't work for me: ===== $ grep HostNameLookups /etc/cups/cupsd.conf HostNameLookups On $ grep ServerName /etc/cups/client.conf # ServerName: the hostname of your server. By default CUPS will use the ServerName printserver $ host printserver printserver.local.whitetree.org has address 192.168.5.7 $ lpq lpq: error - no default destination available. $ tail /var/log/cups/error_log D [18/Jan/2010:16:46:15 +1100] Report: stringpool-alloc-bytes=8696 D [18/Jan/2010:16:46:15 +1100] Report: stringpool-total-bytes=25024 D [18/Jan/2010:16:46:16 +1100] cupsdAcceptClient: 13 from fuschia.local.whitetree.org:631 (IPv4) D [18/Jan/2010:16:46:16 +1100] cupsdReadClient: 13 POST / HTTP/1.1 D [18/Jan/2010:16:46:16 +1100] cupsdSetBusyState: Active clients D [18/Jan/2010:16:46:16 +1100] cupsdAuthorize: No authentication data provided. E [18/Jan/2010:16:46:16 +1100] Request from "fuschia.local.whitetree.org" using invalid Host: field "printserver" D [18/Jan/2010:16:46:16 +1100] cupsdReadClient: 13 Closing because Keep-Alive disabled D [18/Jan/2010:16:46:16 +1100] cupsdCloseClient: 13 D [18/Jan/2010:16:46:16 +1100] cupsdSetBusyState: Not busy ===== That is: the configuration file contains your suggested addition, and the server still refuses to allow connection to the host name even though that name correctly resolves to the print server host. -- \ “If you can do no good, at least do no harm.” —_Slapstick_, | `\ Kurt Vonnegut | _o__) | Ben Finney <b...@benfinney.id.au>
signature.asc
Description: Digital signature