print to windows share but authenticate users differently

Erik Sjölund erik.sjolund at home.se
Tue Nov 1 07:20:08 PST 2005


I've read that you can use a line like

DeviceURI smb://user:password@server/printer

in /etc/cups/printers.conf on the linux computer to print to a windowsshared printer.

But if the users on the linux computer each have their own account on the windows server, which username should you use? There need to be one user who would allow all print jobs to get authenticated as him.

Is there a nice trick to let every user print authenticated as themselves?

I know you could let all users print with something like,

cat file.ps | smbclient -N  -U user%password //server/printer -c 'print -'

It worked nice but it's somewhat inconvenient.

Does anyone have a trick to let the windowsshared printer show up
as a normal printer in cups, but in a way that forces each user to supply their own username/passwords somehow?

cheers,
Erik Sjölund

ps. I don't have administrative rights on the windows shared printer. ds




More information about the cups mailing list