[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cups Authentifitierung



Also sprach Gerhard Reuteler <gerhard.reuteler@aon.at> (Fri, 1 Apr 2005
14:08:10 +0200):
> Hallo Liste,
> versuche unter http://localhost:631/ einen Drucker einzurichten und
> werde als nicht authentifiziert abgewimmelt. Kann mich nicht erinnern,
> früher diesem Problem begegnet zu sein. In /etc/cups/cupsd.conf
> 
> AuthType  None
> AuthClass Anonymous

diese auth's sind fuer <Location /path>, also in deinem fall
<Location /admin> zu machen. ich hab mich hier jedenfalls entschieden
etwas sicherheit reinzubringen:

-----------------cupsd.conf---------------------
[...]
<Location /admin>
#
# You definitely will want to limit access to the administration
# functions. The default configuration requires a local connection from
# a user who is a member of the system group to do any admin tasks.  You
# can change the group name using the SystemGroup directive.
#
#
AuthType Basic
AuthClass Group
AuthGroupName lpadmin
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.2.50
Allow From 192.168.2.52
Encryption IfRequested
</Location>
[...]
---------------------------fin----------------------

dann den user mit "# adduser <name> lpadmin" zur berechtigten gruppe
hinzu und port 631 mit einem HTTP 1.1 tauglichen wbrowser ansteuern.
 
ich muss aber gestehen, dass ich bei erstinstallationen mit der
cupsdconfig nicht selten auf (auth)probleme stosse - bis alle <Location>
eintraege angepasst sind. ganz ohne auth bin ich noch nicht gefahren. 

sl ritch.



Reply to: