pass username and password to deviceURI

Thilo Bangert thilo at bangert.dk
Sun Feb 6 04:46:55 PST 2011


Hi,

on a cups server, i want to expose printers available via smb on a 
windows server. the windows server enforces group membership for 
specific printers.

the aim is to have linux clients only configured to poll the central 
cups server for available printers and only configure printers with 
drivers once on the central cups server.

at the same time, the username used to submit the job to the windows 
server should come from the client.

the procedure would be like this: the cups client asks for 
username/password and passes this to the central cups server. the cups 
server uses the username/password to submit the job to the central 
windows print server.

basically, i would like to pass a cupssubmitted username/password combo 
to DeviceURI instead of hardcoding this during device installation. My 
cups server runs centos 5 with cups 1.3.7 - but if a newer version of 
cups would be needed, this could be accommodated.

the ultimate aim is to configure printer drivers for the linux 
environment only once, instead for each linux client, while at the same 
time, keeping the current method of policy enforcement on the windows 
print server in place.

Any suggestions, helpful hints and tricks welcome.
Thanks

Thilo




More information about the cups mailing list