Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества? Помогите нам с документацией!
0 Пользователей и 1 Гость просматривают эту тему.
[global]workgroup = POL-1netbios name = Ubuntuserver string =security = sharelog file = /var/log/samba/log.%mos level = 255local master = yespreferred master = yesusershare allow guests = yesinterfaces = lo, eth1bind interfaces only = yes[Parus]comment = База Парусpath = /DATA1/Parusvalid users = Parusread only = No[Garant]comment = Garantpath = /DATA2/Public/Consultantvalid users = Parusread only = No
Oct 27 13:52:21 ubuntu smbd[14319]: Share 'IPC$' has wide links and unix extensions enabled. These parameters are incompatible. Wide links will be disabled for this share.Oct 27 13:52:25 ubuntu smbd[14320]: [2010/10/27 13:52:25, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:52:25 ubuntu smbd[14320]: Unable to connect to CUPS server localhost:631 - Connection refusedOct 27 13:52:25 ubuntu smbd[14321]: [2010/10/27 13:52:25, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:52:25 ubuntu smbd[14321]: Unable to connect to CUPS server localhost:631 - Connection refusedOct 27 13:52:31 ubuntu smbd[14322]: [2010/10/27 13:52:31, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:52:31 ubuntu smbd[14322]: Unable to connect to CUPS server localhost:631 - Connection refusedOct 27 13:52:31 ubuntu smbd[14323]: [2010/10/27 13:52:31, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:52:31 ubuntu smbd[14323]: Unable to connect to CUPS server localhost:631 - Connection refusedOct 27 13:52:39 ubuntu smbd[14324]: [2010/10/27 13:52:39, 0] param/loadparm.c:9783(widelinks_warning)Oct 27 13:52:39 ubuntu smbd[14324]: Share 'IPC$' has wide links and unix extensions enabled. These parameters are incompatible. Wide links will be disabled for this share.Oct 27 13:53:24 ubuntu smbd[14325]: [2010/10/27 13:53:24, 0] param/loadparm.c:9783(widelinks_warning)Oct 27 13:53:24 ubuntu smbd[14325]: Share 'IPC$' has wide links and unix extensions enabled. These parameters are incompatible. Wide links will be disabled for this share.Oct 27 13:53:24 ubuntu smbd[14326]: [2010/10/27 13:53:24, 0] param/loadparm.c:9783(widelinks_warning)Oct 27 13:53:24 ubuntu smbd[14326]: Share 'IPC$' has wide links and unix extensions enabled. These parameters are incompatible. Wide links will be disabled for this share.Oct 27 13:54:14 ubuntu smbd[14424]: [2010/10/27 13:54:14, 0] param/loadparm.c:9783(widelinks_warning)Oct 27 13:54:14 ubuntu smbd[14424]: Share 'IPC$' has wide links and unix extensions enabled. These parameters are incompatible. Wide links will be disabled for this share.Oct 27 13:55:40 ubuntu smbd[14448]: [2010/10/27 13:55:40, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:55:40 ubuntu smbd[14448]: Unable to connect to CUPS server localhost:631 - Connection refusedOct 27 13:55:40 ubuntu smbd[14449]: [2010/10/27 13:55:40, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:55:40 ubuntu smbd[14449]: Unable to connect to CUPS server localhost:631 - Connection refusedOct 27 13:56:00 ubuntu smbd[14451]: [2010/10/27 13:56:00, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:56:00 ubuntu smbd[14451]: Unable to connect to CUPS server localhost:631 - Connection refusedOct 27 13:56:00 ubuntu smbd[14452]: [2010/10/27 13:56:00, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:56:00 ubuntu smbd[14452]: Unable to connect to CUPS server localhost:631 - Connection refusedOct 27 13:56:44 ubuntu smbd[14453]: [2010/10/27 13:56:44, 0] param/loadparm.c:9783(widelinks_warning)Oct 27 13:56:44 ubuntu smbd[14453]: Share 'IPC$' has wide links and unix extensions enabled. These parameters are incompatible. Wide links will be disabled for this share.Oct 27 13:58:05 ubuntu smbd[14454]: [2010/10/27 13:58:05, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:58:05 ubuntu smbd[14454]: Unable to connect to CUPS server localhost:631 - Connection refusedOct 27 13:58:05 ubuntu smbd[14455]: [2010/10/27 13:58:05, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:58:05 ubuntu smbd[14455]: Unable to connect to CUPS server localhost:631 - Connection refusedOct 27 13:58:07 ubuntu smbd[14457]: [2010/10/27 13:58:07, 0] param/loadparm.c:9783(widelinks_warning)Oct 27 13:58:07 ubuntu smbd[14457]: Share 'IPC$' has wide links and unix extensions enabled. These parameters are incompatible. Wide links will be disabled for this share.Oct 27 13:58:08 ubuntu smbd[14458]: [2010/10/27 13:58:08, 0] param/loadparm.c:9783(widelinks_warning)Oct 27 13:58:08 ubuntu smbd[14458]: Share 'IPC$' has wide links and unix extensions enabled. These parameters are incompatible. Wide links will be disabled for this share.Oct 27 13:59:06 ubuntu smbd[14459]: [2010/10/27 13:59:06, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:59:06 ubuntu smbd[14459]: Unable to connect to CUPS server localhost:631 - Connection refusedOct 27 13:59:06 ubuntu smbd[14460]: [2010/10/27 13:59:06, 0] printing/print_cups.c:103(cups_connect)Oct 27 13:59:06 ubuntu smbd[14460]: Unable to connect to CUPS server localhost:631 - Connection refused
Конфиг Самбы:
Цитата: Stiket от 27 Октября 2010, 11:11:07Конфиг Самбы:Это результат testparm? Или художественные вырезки?
root@ubuntu:/home/sysadmin# testparmLoad smb config files from /etc/samba/smb.confrlimit_max: rlimit_max (1024) below minimum Windows limit (16384)Processing section "[Parus]"Processing section "[Garant]"Loaded services file OK.Server role: ROLE_STANDALONEPress enter to see a dump of your service definitions[global] workgroup = POL-1 server string = interfaces = lo, eth1 bind interfaces only = Yes security = SHARE log file = /var/log/samba/log.%m os level = 255 preferred master = Yes usershare allow guests = Yes[Parus] comment = База Парус path = /DATA1/Parus valid users = Parus read only = No[Garant] comment = Garant path = /DATA2/Public/Consultant valid users = Parus read only = No
> Unable to connect to CUPS server localhost:631 - Connection refusediptables-saveв студию.
ps ax
> Share has wide links and unix extensions enabled.В гугл.> Unable to connect to CUPS server localhost:631 - Connection refusediptables-saveв студию.
Generated by iptables-save v1.4.4 on Thu Nov 11 13:52:40 2010*nat:PREROUTING ACCEPT [56701:5816667]:POSTROUTING ACCEPT [694:59992]:OUTPUT ACCEPT [1694:121081]-A PREROUTING -d 78.140.6.16/32 -p tcp -m tcp --dport 5432 -j DNAT --to-destination 10.10.10.1:5432-A PREROUTING -d 78.140.6.16/32 -p tcp -m tcp --dport 22872 -j DNAT --to-destination 10.10.10.1:22872-A POSTROUTING -o eth0 -j MASQUERADECOMMIT# Completed on Thu Nov 11 13:52:40 2010# Generated by iptables-save v1.4.4 on Thu Nov 11 13:52:40 2010*mangle:PREROUTING ACCEPT [2709333:1983440160]:INPUT ACCEPT [579577:77535747]:FORWARD ACCEPT [2120905:1904983515]:OUTPUT ACCEPT [539834:560154063]:POSTROUTING ACCEPT [2660827:2465157994]COMMIT# Completed on Thu Nov 11 13:52:40 2010# Generated by iptables-save v1.4.4 on Thu Nov 11 13:52:40 2010*filter:INPUT ACCEPT [560249:74040232]:FORWARD ACCEPT [858485:358023289]:OUTPUT ACCEPT [539834:560154063]-A INPUT -i lo -j ACCEPT-A INPUT -p gre -j ACCEPT-A FORWARD -i eth1 -o eth0 -j ACCEPTCOMMIT# Completed on Thu Nov 11 13:52:40 2010
CUPS это "для печати" а не "через сеть".aptitude show cupsчто говорит?
root@ubuntu:/home/sysadmin# aptitude show cupsPackage: cupsState: not installedVersion: 1.4.1-5ubuntu2.7Priority: необязательныйSection: netMaintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>Uncompressed Size: 7 729kDepends: libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.7), libcups2 (>= 1.4.0), libcupscgi1 (>= 1.4.1-5ubuntu2.1), libcupsdriver1 (>= 1.4.0), libcupsimage2 (>= 1.4.0), libcupsmime1 (>= 1.4.0), libcupsppdc1 (>= 1.4.0), libdbus-1-3 (>= 1.0.2), libgcc1 (>= 1:4.1.1), libgnutls26 (>= 2.7.14-0), libgssapi-krb5-2 (>= 1.6.dfsg.2), libijs-0.35, libkrb5-3 (>= 1.6.dfsg.2), libldap-2.4-2 (>= 2.4.7), libpam0g (>= 0.99.7.1), libpaper1, libpoppler5, libslp1, libstdc++6 (>= 4.1.1), libusb-0.1-4 (>= 2:0.1.12), zlib1g (>= 1:1.1.4), debconf (>= 1.2.9) | debconf-2.0, poppler-utils (>= 0.11.0-0ubuntu3), perl-modules, procps, ghostscript, lsb-base (>= 3), cups-common (>= 1.4.1), cups-client (>= 1.4.1-5ubuntu2.7), ssl-cert (>= 1.0.11), adduser, bc, ttf-freefontRecommends: foomatic-filters (>= 4.0), cups-driver-gutenprint, ghostscript-cupsSuggests: cups-bsd, cups-ppdc, foomatic-db-engine, foomatic-db, hplip, xpdf-korean | xpdf-japanese | xpdf-chinese-traditional | xpdf-chinese-simplified, cups-pdf, smbclient (>= 3.0.9), udevConflicts: cupsddk-drivers (< 1.4.0), cupsys (< 1.3.7-6), cupsys-bsd (< 1.3.7-5)Breaks: foomatic-filters (< 4.0)Replaces: cupsddk-drivers (< 1.4.0), cupsys (< 1.3.7-6), cupsys-bsd (< 1.3.7-5)Provides: cupsddk-drivers, cupsysDescription: Common UNIX Printing System(tm) - server The Common UNIX Printing System (or CUPS(tm)) is a printing system and general replacement for lpd and the like. It supports the Internet Printing Protocol (IPP), and has its own filtering driver model for handling various document types. This package provides the CUPS scheduler/daemon and related files. The terms "Common UNIX Printing System" and "CUPS" are trademarks of Easy Software Products (www.easysw.com), and refer to the original source packages from which these packages are made.root@ubuntu:/home/sysadmin#
Страница сгенерирована за 0.019 секунд. Запросов: 21.