[Bug 967410] Re: Windows clients cannot connect to shared printers

James Brown ta2 at empulse.net
Wed Jul 18 01:48:53 UTC 2012


#21 worked for me too, but really needs a better explanation.

rpcclient needs to be run as superuser - it did not work for me until I
changed user to root (su root)

i did not try it, but I think "sudo rpcclient" should work as well if
you have enabled root directly.

typing "enumprinters 5"  resulted in one listing for each of the
printers in my system, but the result for each priner was

printername:[\\LOCALHOST\]
        portname:[]
        attributes:[0x0]
        device_not_selected_timeout:[0x0]
        transmission_retry_timeout:[0x0]

"enumprinters"  (without the "5") yielded this with the correct name for each printer:
  
      flags:[0x800000]
        name:[\\LOCALHOST\HP-LaserJet-1100]
        description:[\\LOCALHOST\HP-LaserJet-1100,,HP LaserJet 1100]
        comment:[HP LaserJet 1100]

typing "setprintername HP-LaserJet-1100 HP-LaserJet-1100"  resulte din a
success message.

typing  "enumprinters 5" now lists the printer with the correct name.
and I can connect normally from the Windows clients.

I do not know what the "5" means, but apparantly the upgrade did
something to zero out the existing settings.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/967410

Title:
  Windows clients cannot connect to shared printers

Status in “samba” package in Ubuntu:
  Confirmed
Status in “samba” source package in Precise:
  Confirmed
Status in “samba” source package in Quantal:
  Confirmed

Bug description:
  Since installing 12.04 I can no longer connect my windows XP clients to my laser printers on the Ubuntu system using samba. 
  It works on 11.10 using the exact same smb.conf file.  
  I can see the printers from the windows clients, I can select it, I install the drivers locally from the windows pc.  When I click next I get the message "Windows cannot connect to the printer. Either the printer name was typed incorrectly or the specified printer has lost its connection to the sever". 

  This is a deal breaker for me.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/967410/+subscriptions




More information about the foundations-bugs mailing list