You are not logged in.

#1 2020-08-29 13:50:19

pptp
Member
Registered: 2020-04-15
Posts: 22

lpr to samba printer with user/pwd

From my Arch laptop, I access a printer via smbclient (user+password).
The printer was correctly configured via lpadmin.
In particular, /etc/cups/printers.conf contains a line

AuthInfoRequired username,password

I can access it via smbclient, and programs using GTK unix print dialog can use my keyring to authenticate via fdo-dbus.
However, I cannot simply print with the lpr command (which uses smbspool).
If I try to use smbspool directly, it gives error

"Session setup failed: NT_STATUS_LOGON_FAILURE"     Held for authentication.

Do you know a way to make lpr work?

Offline

Board footer

Powered by FluxBB