Some days ago, I posted a message on how to configure a windows network printer in Debian.
Now the problem is when I change the user domain password, how to change it in cups via console without accessing to the web interface. Here it is:
$ sudo lpadmin -p printer -E -v smb://domain\user:password@server/printer
The -p parameter must be putted before any other or lpadmin will complain saying
lpadmin: Unable to connect to server: Bad file descriptor