Подскажите подключил к компьютеру с Fedora 10 принтер
cat /etc/printcap
Код: Выделить всё
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
LASER-SHOT-LBP-1120|Canon LASER SHOT LBP-1120:rm=mo.stim.ru:rp=LASER-SHOT-LBP-1120:
Все принтер определился нормально.
В конфиге самбы следующее
Код: Выделить всё
[global]
unix charset = utf8
display charset = cp1251
workgroup = work
netbios name = server
netbios aliases = samba
server string = Files Server
interfaces = lo, eth0, 127.0.0.1, 192.168.2.0/255.255.255.0, 192.168.3.0/255.255.255.0
smb passwd file = /etc/samba/smbpasswd
passdb backend = tdbsam
username map = /etc/samba/smbusers
password level = 4
username level = 4
client lanman auth = Yes
log file = /var/log/samba/log.%m
max log size = 1024
name resolve order = lmhosts wins bcast
time server = Yes
deadtime = 30
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
hostname lookups = Yes
path = /samba/spool
printer admin = autosystem
hosts allow = 127., 192.168.2., 192.168.3.
printer name = LASER-SHOT-LBP-1120
case sensitive = No
[printers]
comment = ATS
path = /samba/spool/printer
create mask = 0775
printable = Yes
use client driver = Yes
browseable = No
[print$]
path = /samba/spool/printer
write list = autosystem, ifedorenko, vsinyaev
inherit permissions = Yes
Права на шары
Код: Выделить всё
drwxrwxrwx 3 vsinyaev admins 4.0K 2009-04-01 18:03 spool/
drwxrwxrwx 2 vsinyaev admins 4.0K 2009-04-01 18:22 printer/
testparm проходит нормально
Load smb config files from /etc/samba/smb.conf
WARNING: The "printer admin" option is deprecated
Processing section "[printers]"
Processing section "[homes]"
Processing section "[admins]"
Processing section "[managers]"
Processing section "[Software]"
Processing section "[Scripts]"
Processing section "[Drivers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
Конфиг cupsd.conf не трогал.
Код: Выделить всё
Vim: Warning: Output is not to a terminal
MaxLogSize 0
LogLevel info
SystemGroup sys root
Listen localhost:631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
DefaultAuthType Basic
<Location />
Order allow,deny
</Location>
<Location /admin>
Encryption Required
Order allow,deny
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Так вот проблема в том что отправляю на печать, ошибки ни какой не пишется у пользователей, но вот принтер и не печатает.
В логе только это messages
Код: Выделить всё
Apr 1 18:04:30 mo smbd[22685]: [2009/04/01 18:04:30, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:30 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:04:30 mo smbd[22685]: [2009/04/01 18:04:30, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:30 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:04:47 mo smbd[22685]: [2009/04/01 18:04:47, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:47 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:04:47 mo smbd[22685]: [2009/04/01 18:04:47, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:47 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:04:47 mo smbd[22685]: [2009/04/01 18:04:47, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:47 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:04:47 mo smbd[22685]: [2009/04/01 18:04:47, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:47 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:04:47 mo smbd[22685]: [2009/04/01 18:04:47, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:47 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:04:47 mo smbd[22685]: [2009/04/01 18:04:47, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:47 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:04:47 mo smbd[22685]: [2009/04/01 18:04:47, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:47 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:04:47 mo smbd[22685]: [2009/04/01 18:04:47, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:47 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:04:47 mo smbd[22685]: [2009/04/01 18:04:47, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:47 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:04:47 mo smbd[22685]: [2009/04/01 18:04:47, 0] printing/print_cups.c:cups_connect(78)
Apr 1 18:04:47 mo smbd[22685]: Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
Apr 1 18:12:00 mo smbd[26772]: [2009/04/01 18:12:00, 0] printing/print_cups.c:cups_job_submit(982)
Apr 1 18:22:07 mo smbd[26901]: [2009/04/01 18:22:07, 0] printing/print_cups.c:cups_job_submit(982)
В /var/log/cups/access_log
Код: Выделить всё
localhost - - [01/Apr/2009:18:12:00 -0400] "POST /printers/LASER-SHOT-LBP-1120 HTTP/1.1" 200 223898 Print-Job client-error-document-format-not-supported
localhost - - [01/Apr/2009:18:22:07 -0400] "POST /printers/LASER-SHOT-LBP-1120 HTTP/1.1" 200 220306 Print-Job client-error-document-format-not-supported
В cat /var/log/cups/error_log
Код: Выделить всё
I [01/Apr/2009:18:12:00 -0400] [Job ???] Request file type is application/octet-stream.
E [01/Apr/2009:18:12:39 -0400] Resume-Printer: Unauthorized
I [01/Apr/2009:18:12:39 -0400] Saving printers.conf...
I [01/Apr/2009:18:12:39 -0400] Printer "LASER-SHOT-LBP-1120" started by "root".
I [01/Apr/2009:18:16:04 -0400] Scheduler shutting down normally.
I [01/Apr/2009:18:16:04 -0400] Saving job cache file "/var/cache/cups/job.cache"...
I [01/Apr/2009:18:16:04 -0400] Listening to 127.0.0.1:631 (IPv4)
I [01/Apr/2009:18:16:04 -0400] Listening to /var/run/cups/cups.sock (Domain)
I [01/Apr/2009:18:16:04 -0400] Loaded configuration file "/etc/cups/cupsd.conf"
I [01/Apr/2009:18:16:04 -0400] Using default TempDir of /var/spool/cups/tmp...
I [01/Apr/2009:18:16:04 -0400] Configured for up to 100 clients.
I [01/Apr/2009:18:16:04 -0400] Allowing up to 100 client connections per host.
I [01/Apr/2009:18:16:04 -0400] Using policy "default" as the default!
I [01/Apr/2009:18:16:04 -0400] Full reload is required.
I [01/Apr/2009:18:16:04 -0400] Loaded MIME database from '/etc/cups': 35 types, 38 filters...
I [01/Apr/2009:18:16:04 -0400] Loading job cache file "/var/cache/cups/job.cache"...
I [01/Apr/2009:18:16:04 -0400] Full reload complete.
I [01/Apr/2009:18:16:04 -0400] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [01/Apr/2009:18:16:04 -0400] Listening to 127.0.0.1:631 on fd 4...
I [01/Apr/2009:18:16:04 -0400] Listening to /var/run/cups/cups.sock on fd 5...
I [01/Apr/2009:18:16:04 -0400] Resuming new connection processing...
I [01/Apr/2009:18:22:07 -0400] [Job ???] Request file type is application/octet-stream.
Прошу особо не ругать первый раз настраиваю печать по сети в Linux.