View previous topic :: View next topic |
Author |
Message |
horace Tux's lil' helper
Joined: 13 Jul 2005 Posts: 95
|
Posted: Fri Oct 10, 2008 11:18 am Post subject: CUPS: le credenziali fornite non sono sufficienti [RISOLTO] |
|
|
Ciao a tutti,
da stamattina non riesco più ad accede alla stampante di rete condivisa da cups tramite samba. Recentemente ho cambiato gli indirizzi della mia rete locale, passando da 192.168.1.0/24 a 172.16.210.0/28 wired + 172.16.210.240/28 wireless, ma ho riportato correttamente i cambiamenti nei vari file di configurazione.
Purtroppo non riesco ad accede alla stampante condivisia, segnalando un
Code: |
Le credenziali fornite non sono sufficienti ad accedere alla stampante. Specificare nuove credenziali?
|
user e password sono quelli che uso per accedere alla risorse di samba, che funziona perfettamente. Il client è Windows XP SP3. Di seguito riporto il mio cupsd.conf
Code: |
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info
# Administrator user group...
SystemGroup lpadmin
# 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 172.16.210.*
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
Allow From 172.16.210.*
</Location>
# Restrict access to the admin pages...
<Location /admin>
# Encryption Required
Order allow,deny
Allow from 172.16.210.*
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an adminstrator to authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
AuthType None #Basic
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
|
qualcuno sa aiutarmi?
Last edited by horace on Fri Oct 10, 2008 6:03 pm; edited 1 time in total |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Fri Oct 10, 2008 3:36 pm Post subject: |
|
|
ferma samba, ferma cups, cancella la cache e riavviali _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
horace Tux's lil' helper
Joined: 13 Jul 2005 Posts: 95
|
Posted: Fri Oct 10, 2008 6:04 pm Post subject: |
|
|
sono un idiota, dovete rotolullarmi!
allora, cancellare le directory /var/cache/samba e /var/cache/cups ha portato alla luce il problema, cioè che non avevo cambiato l'indirizzo in /etc/hosts!!!!
grazie, risolto, sono un idiota |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Fri Oct 10, 2008 6:57 pm Post subject: |
|
|
veramente è samba che ha questo problema della cache dalla 2.0 e non lo ha ancora risolto (in pratica usa sempre le stesse informazioni, se cambi macchina o reinstalli windows poi è un casino per accedere da od a linux, lo ho scoperto a suo tempo dopo una giornata di bestemmie).
Nel tuo caso ti ha nascosto il vero problema. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|