[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
Server Team, which is subscribed to samba in 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



More information about the Ubuntu-server-bugs mailing list