The CUPS server is a CentOS-6 box. I should have mentioned I can
explicitly add the queue manually - it's only the "automagic" method of
dns-sd that doesn't work

ie on the Ubuntu laptop

"Printers->Add->ipp://cups.server.name/printers/queueName"

works just fine, the queue is added and I can print to it

* cups-browsed is running
* avahi-daemon is running on the laptop and is not needed on the server. I am 
WAN connected to the server, so broadcast/multicast methods are never going to 
work - that's the entire point of me trying dns-sd :-). Instead we have 
manually installed dns-sd related DNS records pointing to the CUPS server
* avahi-discover wasn't installed on the laptop. After I installed it (also 
installed avahi-discover as a dependency), running it produced a GUI containing 
lots of local broadcast-based stuff (eg iphones, vnc, ssh; both ipv4/ipv6). 
Right at the bottom was "WAN", opening that showed our corporate DNS domain, 
but double-clicking on it didn't do anything - nor did a sniffer show any 
dns-sd* lookups. There is no "Internet Printer" nor "ipp*" section 

I have winbind installed (the Ubuntu laptop is AD integrated) and can
see it doing Active-Directory related DNS SRV lookups, so DNS is
definitely working, and if I manually lookup records like

dig ptr b._dns-sd._udp.our.domain

...then I get directed appropriately, and following the chain down the
rabbit hole I end up with the appropriate TXT and SRV records needed to
use that IPP queue. But as the laptop doesn't do the initial dns-sd
lookups, that cannot happen

The /etc/cups/cups-browsed.conf file has CreateIPPPrinterQueues
commented out, I uncommented that and restarted cupsd/cups-browsed and
saw some DNS lookups for  _services._dns-sd._udp.our.domain - but we
don't have any records in there (and Macs don't seem to use that)


** Attachment added: "cups-browsed.conf"
   
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1346118/+attachment/4159702/+files/cups-browsed.conf

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to system-config-printer in Ubuntu.
https://bugs.launchpad.net/bugs/1346118

Title:
  Printers app doesn't seem to do dns-sd

Status in “system-config-printer” package in Ubuntu:
  Incomplete

Bug description:
  I've just spent some time reconfiguring our DNS so that Macs could
  discover our CUPS print queues using dns-sd/bonjour

  I was surprised when I discovered this Ubuntu 14.04 laptop couldn't do
  the same thing. I have got a sniffer up watch all DNS traffic, and yet
  when I enter the "Printers" app to Add a printer, it shows no evidence
  of hanging whilst doing a scan, and certainly shows no DNS lookups for
  the standard PTR/SRV/TXT records used in dns-sd

  Is this supported by Ubuntu? I used to use Fedora and vaguely feel
  this worked in Gnome3?

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: system-config-printer-gnome 1.4.3+20140219-0ubuntu2.1
  ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
  Uname: Linux 3.13.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CupsErrorLog:
   E [21/Jul/2014:11:36:09 +1200] [Client 25] Returning IPP 
client-error-document-format-not-supported for Print-Job 
(ipp://localhost/printers/Generic-text-only) from localhost
   E [21/Jul/2014:11:42:31 +1200] [Job 13] Aborting job because it has no files.
   E [21/Jul/2014:12:02:08 +1200] [Client 26] Returning IPP 
client-error-bad-request for Create-Job (ipp://localhost:631/printers/MFC7340) 
from localhost
   E [21/Jul/2014:20:55:27 +1200] [Client 17] pam_authenticate() returned 7 
(Authentication failure)
   E [21/Jul/2014:20:55:31 +1200] [Client 17] pam_authenticate() returned 7 
(Authentication failure)
  CurrentDesktop: Unity
  Date: Mon Jul 21 21:12:08 2014
  InstallationDate: Installed on 2014-05-01 (80 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  Lpstat:
   device for Cups-Email: ipp://192.168.248.3:631/printers/Cups-Email
   device for Cups-PDF: ipp://whanau.org:631/printers/Cups-Email
   device for MFC7340: ipp://192.168.248.3:631/printers/MFC7340
   device for PRN-L1-IS-BW: ipps://crom.ap.trimblecorp.net/printers/PRN-L1-IS-BW
  MachineType: Dell Inc. Latitude E7440
  PackageArchitecture: all
  Papersize: a4
  PpdFiles: PRN-L1-IS-BW: Generic PostScript Printer Foomatic/Postscript 
(recommended)
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-32-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  SourcePackage: system-config-printer
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/18/2014
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 03HFCG
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd02/18/2014:svnDellInc.:pnLatitudeE7440:pvr01:rvnDellInc.:rn03HFCG:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E7440
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1346118/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to