#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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/967410

Title:
  Windows clients cannot connect to shared printers

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to