Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AuthInfoRequired username,password never asks for password #3291

Closed
michaelrsweet opened this issue Aug 17, 2009 · 1 comment
Closed

AuthInfoRequired username,password never asks for password #3291

michaelrsweet opened this issue Aug 17, 2009 · 1 comment

Comments

@michaelrsweet
Copy link
Collaborator

@michaelrsweet michaelrsweet commented Aug 17, 2009

Version: 1.3.9
CUPS.org User: perher

After updating /etc/cups/printers.conf by adding AuthInfoRequired username,password to my default printer (virtual PDF printer locally) and then restarting CUPS. I can still print with lpr without it asking for any password.

The cupsGetOption API for "auth-info-required" returns "username,password" so authentication should be required.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Aug 17, 2009

CUPS.org User: mike

You misunderstand the purpose of auth-info-required. Basically, auth-info-required is used when the remote end requires authentication - there is no way for us to locally authenticate, and in fact the local connection may require different credentials for printing.

You can pass your auth-info-required credentials using the "-o auth=info=username,password" option, where "username" and "password" are the username and password, respectively. However, if you want to have a locally authenticated print queue, you want to setup a local policy as described in the online help:

http://localhost:631/help/policies.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant