User Authentication: Problem within "location" directiva

Alvaro alvaro.brizuelabudin at gmail.com
Wed Apr 10 10:10:57 PDT 2013


Hello,

I'm traying to set up security and athentication in a new CUPS. What i want is to use a secure auth method and as a first step require authentication form everything, with this i mean for resourses from "/" to everything.
I set up a single admin digest user with: "lppasswd -a admin" and then in the location directives i made:

<Location />
  AuthType Digest
  Order allow,deny
  Allow all
</Location>
<Location /admin>
  Order allow,deny
  Allow all
</Location>
<Location /classes>
  Order allow,deny
  Allow all
</Location>
<Location /admin/conf>
  Order allow,deny
  Allow all
</Location>

When i enter in the root "/" authentication works fine, but when i try to enter in other menues lke "/admin" authentication is required again and authentication windows is displayed but when i enter the username and password doest work, authentication fails and ask for username and password again. Not even with the root username and password works.

Thank you.





More information about the cups mailing list