Pedro Andrés Aranda Gutiérrez <firstname.lastname@example.org> writes: > Package: cupsys-bsd > Version: 1.2.1-2 > > I know this is a strange combination but I have encountered > a situation which invalidates what paragraph "10.4 Domain > Name Service (DNS)" of the Debian reference says. This is > important, because it influences the way Debian installer > works: > > After installation, I had on my /etc/hosts > > 127.0.0.1 localhost > 127.0.1.1 paag > > I'm migrating from a UNIX platform and in my company, the > LPD servers have access lists in order to make sure that > registered users on registered machines get access to the > printers. Being a registered user, I installed CUPS and > the LPD backend. > > My printing jobs got rejected, because the LPD backend > sent 'localhost' as originating client to the LPD server. > The user name was correct, but since the ACL only allowed > print jobs from "paag@paag", my printing jobs where discarded. > > The answer to the problem has been to rewrite my /etc/hosts > so that it reads: > > 127.0.0.1 paag localhost > > in the first line. And BTW, this is the only way I can print. It's failing because the reverse hostname lookup failed. This might indicate a DNS issue on your network. Does your DNS do PTR lookups? For my system, as an example: $ hostname hardknott $ hostname -f hardknott.home.whinlatter.ukfsn.org $ host -t A hardknott hardknott.home.whinlatter.ukfsn.org has address 10.0.0.1 $ host -t PTR 10.0.0.1 220.127.116.11.in-addr.arpa domain name pointer hardknott.home.whinlatter.ukfsn.org. Also test: $ host -t A localhost $ host -t PTR 127.0.0.1 and then repeat for the server. Can you post the results of all the above here? This may be also be related to this bug: http://www.cups.org/str.php?L989+P0+S0+C0+I0+E0+Qrleigh Could you try these three settings in cupsd.conf: HostNameLookups On HostNameLookups Off HostNameLookups Double These affect the CUPS name lookup behaviour. It does special case localhost in some circumstances, which caused the above bug. Regards, Roger -- Roger Leigh Printing on GNU/Linux? http://gutenprint.sourceforge.net/ Debian GNU/Linux http://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
Description: PGP signature