![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Hello, I am currently using my Linux system in a Microsoft/Windows dominated environment. This means that even the printing service is accessible via the smb protocol only when using CUPS on my own machine.
Using the Windows-based printing system requires me to authenticate using a user name and a password. This is achieved by having a line like
DeviceURI smb://user:password/printer
in your /etc/cups/printers.conf. This means, my password is written in clear plain text in a configuration file on every Linux system I want to print from.
How do I protect my Windows password? Is there some PAM magic available? Using hashes instead of plain text? As my Linux system uses its own login system, the local password does not match the Windows password.