Re à tous,
Bon alors, comme dit au dessus, en modifiant le paramètre Listen, j’ai pu enfin voir que CUPS était vraiment accessible, et que c’était par le biais de ce fichier là, mais je n’arrive toujours pas à y accéder en passant directement par l’IP.
Maintenant, en faisant : IPDUSERVEUR:631, j’ai dans mon navigateur :
[code]Mise à niveau obligatoire
Vous devez accéder à cette page par l’URL https://172.16.0.34:631/.[/code]
Et une fois la nouvelle page passée en https, j’ai le navigateur qui me dit :
VOici mon fichier /etc/cups/cupsd.conf (j’ai mis en gras les éléments que j’ai modifié):
(je l’ai mis en citation pour permettre une visualisation de la balise gras)
[quote] “$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $”
Sample configuration file for the CUPS scheduler. See “man cupsd.conf” for a
complete description of this file.
Log general information in error_log - change “warn” to “debug”
for troubleshooting…
LogLevel warn
Deactivate CUPS’ internal logrotating, as we provide a better one, especially
LogLevel debug2 gets usable now
MaxLogSize 0
Only listen for connections from the local machine.
Listen *:631
Listen /var/run/cups/cups.sock
Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
Default authentication type, when authentication is required…
DefaultAuthType Basic
Web interface setting…
WebInterface Yes
[b]# Restrict access to the server…
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow from 172.16.0.12
Allow from @LOCAL
#Encryption Required
Restrict access to the admin pages…
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow from 172.16.0.12
Allow from @LOCAL
#Encryption Required
[/b]
Restrict access to configuration files…
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Set the default printer/job policies…
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
Job-related operations must be done by the owner or an administrator…
Order deny,allow
Require user @OWNER @SYSTEM
Order deny,allow
All administration operations require an administrator to authenticate…
AuthType Default
Require user @SYSTEM
Order deny,allow
All printer operations require a printer operator to authenticate…
AuthType Default
Require user @SYSTEM
Order deny,allow
Only the owner or an administrator can cancel or authenticate a job…
Require user @OWNER @SYSTEM
Order deny,allow
Order deny,allow
Set the authenticated printer/job policies…
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
Job-related operations must be done by the owner or an administrator…
AuthType Default
Order deny,allow
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
All administration operations require an administrator to authenticate…
AuthType Default
Require user @SYSTEM
Order deny,allow
All printer operations require a printer operator to authenticate…
AuthType Default
Require user @SYSTEM
Order deny,allow
Only the owner or an administrator can cancel or authenticate a job…
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
Order deny,allow
End of “$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $”.
[/quote]