victor
12.12.01, 12:01
Hallo,
ich hab da ein Problem mit Cups und Samba. Ich bin seit mehreren Tagen dabei einen Sambaserver so einzurichten, dass auch Windowsuser den Drucker (einen Brother HL-1050 LaserAs; Treiber bei Cups: Brother HL-1050 + ljet 4) nutzen können; ich selber nutze ihn direkt per IPP. Die Doku zu Cups habe ich selbstverständlich gelsen und auch im Netz gesucht, aber irgendwie scheint es bei Problemen mit Samba und Cups keine weitere Hilfe zu geben... :( Vielleicht entdeckt ja hier jemand was ich falsch mache - hier die Dateien (wir haben hier im übrigen ein 192.168.255.x Netz mit .3 als Server(arachni)):
--- smb.conf ---
[global]
remote announce = 192.168.255.255/kiwi
debug level = 1
log file = /var/log/samba/smb.%m.log
domain master = Yes
read raw = No
security = user
unix password sync = Yes
passwd program = /usr/bin/passwd %u
server string = SERVER
workgroup = KIWI
os level = 99
public = yes
browseable = yes
load printers = yes
printing = cups
# printcap name = cups
# printcap name = printcap.cups
[printers]
comment = Brother HL-1050 LaserAs
path = /var/spool/samba
printable = Yes
print command = lpr-cups -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command = cancel %p-%j
# printer driver = Brother HL-1050 series
# printer driver location = \\arachni\print$
browseable = no
public = yes
guest ok = yes
create mode = 0700
hosts allow = 127.0.0.1 192.168.255.249 192.168.255.243 192.168.255.42
# valid users = root, victor, markus, tarsinion, vicbrother
[print$]
comment = Druckertreiber
path = /etc/samba/printer/%a
public = yes
writable = no
browsable = no
---smb.conf ---
--- cupsd.conf ---
LogLevel debug2
TempDir /var/spool/cups/tmp
DocumentRoot /usr/share/doc/cupsys
DefaultCharset iso-8859-15
DefaultLanguage de
Port 631
BrowseAddress 192.168.255.255
BrowseOrder Deny,Allow
BrowseDeny All
BrowseAllow 127.0.0.1
BrowseAllow 192.168.255.*
<Location />
AuthType None
#Encryption IfRequested
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.255.*
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.255.*
#Encryption IfRequested
</Location>
--- cupsd.conf ---
Vielen Dank für Eure Bemühungen,
wünscht Euer Victor
ich hab da ein Problem mit Cups und Samba. Ich bin seit mehreren Tagen dabei einen Sambaserver so einzurichten, dass auch Windowsuser den Drucker (einen Brother HL-1050 LaserAs; Treiber bei Cups: Brother HL-1050 + ljet 4) nutzen können; ich selber nutze ihn direkt per IPP. Die Doku zu Cups habe ich selbstverständlich gelsen und auch im Netz gesucht, aber irgendwie scheint es bei Problemen mit Samba und Cups keine weitere Hilfe zu geben... :( Vielleicht entdeckt ja hier jemand was ich falsch mache - hier die Dateien (wir haben hier im übrigen ein 192.168.255.x Netz mit .3 als Server(arachni)):
--- smb.conf ---
[global]
remote announce = 192.168.255.255/kiwi
debug level = 1
log file = /var/log/samba/smb.%m.log
domain master = Yes
read raw = No
security = user
unix password sync = Yes
passwd program = /usr/bin/passwd %u
server string = SERVER
workgroup = KIWI
os level = 99
public = yes
browseable = yes
load printers = yes
printing = cups
# printcap name = cups
# printcap name = printcap.cups
[printers]
comment = Brother HL-1050 LaserAs
path = /var/spool/samba
printable = Yes
print command = lpr-cups -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command = cancel %p-%j
# printer driver = Brother HL-1050 series
# printer driver location = \\arachni\print$
browseable = no
public = yes
guest ok = yes
create mode = 0700
hosts allow = 127.0.0.1 192.168.255.249 192.168.255.243 192.168.255.42
# valid users = root, victor, markus, tarsinion, vicbrother
[print$]
comment = Druckertreiber
path = /etc/samba/printer/%a
public = yes
writable = no
browsable = no
---smb.conf ---
--- cupsd.conf ---
LogLevel debug2
TempDir /var/spool/cups/tmp
DocumentRoot /usr/share/doc/cupsys
DefaultCharset iso-8859-15
DefaultLanguage de
Port 631
BrowseAddress 192.168.255.255
BrowseOrder Deny,Allow
BrowseDeny All
BrowseAllow 127.0.0.1
BrowseAllow 192.168.255.*
<Location />
AuthType None
#Encryption IfRequested
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.255.*
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.255.*
#Encryption IfRequested
</Location>
--- cupsd.conf ---
Vielen Dank für Eure Bemühungen,
wünscht Euer Victor