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

jmsfnch 967410 at bugs.launchpad.net
Fri Jul 27 15:22:05 UTC 2012


Whilst attempting the fix outlined in #21 / #25 / #26 I found this:


root at exabytes:/home/james# rpcclient localhost
Unknown parameter encountered: "lpq"
Ignoring unknown parameter "lpq"
Enter root's password:
rpcclient $> enumprinters
        flags:[0x800000]
        name:[\\LOCALHOST\]
        description:[\\LOCALHOST\,,HP_C4480]
        comment:[HP_C4480]


Am I correct in thinking the printer has somehow lost its name?  "name:[\\LOCALHOST\]" 


Attempting to change the name regardless results in the error:

rpcclient $> setprintername HP_C4480 HP_C4480
result was WERR_ACCESS_DENIED


The results are the same for both users 'root' and 'james' (a member of lpadmin).

smb.conf contains...
   printer admin = @lpadmin, james


Is anyone able to shed some light on what's happening here?  Many
thanks.

-- 
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