PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Cups



mr.lover
01.10.09, 15:09
Hallo zusammen,

ich weiss nicht ob das jetzt ein Bug im CUPS ist oder allgemein ein Problem von Windos oder es fehlt ne einstellung in der cups.conf.
Ich hab CUPS installiert und über die Weboberfläche einen Drucker hinzugefügt.
Wenn ich den Netzwerkdrucker auf XP-Kiste einfüge, kommt die Meldung unter Drucker und Faxgeräte "Zugrieff verweigert; keine verbindung bla bla". Troz der Meldung kann ich mit der XP-Kiste drucken. Testseiten, Office Dokumenten druckt er. Nur die Fehler Meldung ist da. Hab mal den Drucker entfernt und nochmal eingefüht. Bringt nix...

die cups.conf



ServerName LinuxW1

ServerAdmin root@LinuxW1

AccessLog /var/log/cups/access_log

#Classification classified
#Classification confidential
#Classification secret
#Classification topsecret
#Classification unclassified

#ClassifyOverride off

DataDir /usr/share/cups


#DefaultCharset utf-8

DefaultLanguage de

DocumentRoot /usr/share/doc/packages/cups

ErrorLog /var/log/cups/error_log

#FileDevice No

#FontPath /usr/share/cups/fonts

LogLevel info

#MaxLogSize 0

#PageLog /var/log/cups/page_log

PreserveJobHistory Yes

#PreserveJobFiles No

#AutoPurgeJobs No


#MaxCopies 100

#MaxJobs 500

#MaxJobsPerPrinter 0


#MaxJobsPerUser 0


#MaxPrinterHistory 10


#Printcap /etc/printcap
Printcap /etc/printcap


#PrintcapFormat BSD
#PrintcapFormat Solaris


#PrintcapGUI /usr/bin/glpoptions


#RequestRoot /var/spool/cups

#RemoteRoot remroot

#ServerBin /usr/lib/cups

#ServerRoot /etc/cups

# ServerTokens None
# ServerTokens ProductOnly CUPS
# ServerTokens Major CUPS/1
# ServerTokens Minor CUPS/1.1
# ServerTokens Minimal CUPS/1.1.23
# ServerTokens OS CUPS/1.1.23 (uname)
# ServerTokens Full CUPS/1.1.23 (uname) IPP/1.1
#

#ServerTokens Minor

#
# FaxRetryLimit: the number of times a fax job is retried.
# The default is 5 times.
#

#FaxRetryLimit 5

########
######## Encryption Support
########

#
# ServerCertificate: the file to read containing the server's certificate.
# Defaults to "/etc/cups/ssl/server.crt".
#

#ServerCertificate /etc/cups/ssl/server.crt

#
# ServerKey: the file to read containing the server's key.
# Defaults to "/etc/cups/ssl/server.key".
#

#ServerKey /etc/cups/ssl/server.key


#User lp
#Group lp
User lp
Group lp
RunAsUser Yes

#RIPCache 8m

#TempDir /var/spool/cups/tmp

#FilterLimit 0

#Port 80
#Port 443
Port 631

#HostNameLookups On

#KeepAlive On


#KeepAliveTimeout 60

#MaxClients 100


#MaxClientsPerHost 0

#
# MaxRequestSize: controls the maximum size of HTTP requests and print files.
# Set to 0 to disable this feature (defaults to 0.)
#

#MaxRequestSize 0

#
# Timeout: the timeout before requests time out. Default is 300 seconds.
#

#Timeout 300


Browsing On

#BrowseProtocols cups


#BrowseAddress x.y.z.255
#BrowseAddress x.y.255.255
#BrowseAddress x.255.255.255
#BrowseAddress 255.255.255.255
#BrowseAddress @LOCAL
BrowseAddress @IF(eth0)

#
# BrowseShortNames: whether or not to use "short" names for remote printers
# when possible (e.g. "printer" instead of "printer@host".) Enabled by
# default.
#

#BrowseShortNames Yes

#BrowseAllow address
#BrowseDeny address

BrowseAllow @LOCAL
BrowseDeny All

#BrowseInterval 30

#
# BrowseOrder: specifies the order of BrowseAllow/BrowseDeny comparisons.
#

#BrowseOrder allow,deny
#BrowseOrder deny,allow

#
# BrowsePoll: poll the named server(s) for printers
#

#BrowsePoll address:port



#BrowsePort 631

dress destination-address
#BrowseRelay @IF(src) @IF(dst)

#BrowseTimeout 300

#ImplicitClasses On


#ImplicitAnyCLasses Off


# Enabled by default.
#

#HideImplicitMembers On



#SystemGroup lp



#RootCertDuration 300





<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From @LOCAL
Allow From 172.21.0.0
</Location>

#<Location /classes>

#</Location>

#<Location /classes/name>

#</Location>

#<Location /jobs>

#</Location>

#<Location /printers>

#</Location>

#<Location /printers/name>


## Anonymous access (default)
#AuthType None

## Require a username and password (Basic authentication)
#AuthType Basic
#AuthClass User

## Require a username and password (Digest/MD5 authentication)
#AuthType Digest
#AuthClass User

## Restrict access to local domain
#Order Deny,Allow
#Deny From All
#Allow From .mydomain.com
#</Location>

<Location /admin>


AuthType BasicDigest
AuthClass Group
AuthGroupName sys

## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 172.21.0.*/16

#Encryption Required
</Location>

#
# End of "$Id: cupsd.conf.in,v 1.17 2005/01/03 19:29:45 mike Exp $".
#



und die printers.conf



# Printer configuration file for CUPS v1.1.23
# Written by cupsd on Thu Oct 1 13:45:44 2009
<Printer HP3700Color>
Info Farblaserdrucker
Location Controlling bei Hr. Musterman
DeviceURI ipp://172.21.0.215
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<DefaultPrinter HP4014n>
Info Schwarzweis Laser Drucker
Location FSZ
DeviceURI ipp://172.21.1.115
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>



Hat jemand schon diesen Problme gehabt?!?!?!
Googel Spuckt auch nichts gescheites raus..

O/S = suse 10.1
cups 1.1.23

mfg

muell200
01.10.09, 17:01
die cups.conf
[CODE]
#<Location /printers>

#</Location>


du musst die rechte im abschnitt /printers setzen..



Googel Spuckt auch nichts gescheites raus..
[CODE]

dann suchst du falsch... :)

[QUOTE=mr.lover;1726640]
O/S = suse 10.1
cups 1.1.23


fuer weiter hilfe brauchen wir mehr infos...

wie willst du auf den drucker zugreifen ( ueber samba, http,... )

ES GEHT NICHT - IST KEINE FEHLERMELDUNG

und poste die logs ( samba, cups, system.... )