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

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to