I added these 2 lines containing @LOCAL to the Location / and /admin

   0 root@oystercatcher:/etc/cups#grep -C2 LOCAL cupsd.conf
   BrowseAllow all
   BrowseLocalProtocols CUPS dnssd
   BrowseAddress @LOCAL

   # Default authentication type, when authentication is required...
   --
   <Location />
     Order allow,deny
     Allow @LOCAL
   </Location>

   --
   <Location /admin>
     Order allow,deny
     Allow @LOCAL
   </Location>

   0 root@oystercatcher:/etc/cups#

with /admin/conf still requiring a user

   0 root@oystercatcher:/etc/cups#grep -A5 admin/conf cupsd.conf
   <Location /admin/conf>
     AuthType Default
     Require user @SYSTEM
     Order allow,deny
   </Location>

And this user is lpadmin:

   0 root@oystercatcher:/etc/cups#grep -B1  jan cupsd.conf
   SystemGroup lpadmin
   ServerAdmin j...@aims.ac.za
   0 root@oystercatcher:/etc/cups#grep lpadmin /etc/group  
   lpadmin:x:109:jan
   0 root@oystercatcher:/etc/cups#

I tested this and anyone can view / or /admin by browsing to 
https://192.168.42.6:631/
and /admin/conf (e.g. click Add a printer), I can now log in, and another user 
not in
the group lpadmin can not continue so that part is good. 

However, I still have Listen oystercatcher.aims.ac.za:631 and accessing via 
hostname,
not IP, I get  400 Bad Request.

I can continue my server setup, but the ubuntu wiki and server documentation is 
still lacking,
and there is still something wrong (or misunderstood or mis-configured by me) 
with the Listen directive
in cupsd.conf for the hostname access.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/559624

Title:
  CUPS will not function as network Print Server

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to