* [Comm] Траблы с самбой
@ 2008-09-30 14:47 Kulik Dmitriy
2008-09-30 15:17 ` Andriy Dobrovol`s`kii
0 siblings, 1 reply; 9+ messages in thread
From: Kulik Dmitriy @ 2008-09-30 14:47 UTC (permalink / raw)
To: community
при запуске
[root@alliance ~]# service smb start
Starting CIFS services: NetBIOS over TCP/IP server, Samba server
и дальше никакой реакции. и возврата в консоль не выполняется
log.nmbd >>>>>>>>>>>>>>>>>>>
[2008/09/30 17:37:33, 0] nmbd/nmbd_serverlistdb.c:write_browse_list(350)
write_browse_list: Fatal error - cannot find my workgroup WORKGROUP
[2008/09/30 17:37:38, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(282)
dump_workgroups()
dump workgroup on subnet 192.168.2.1: netmask= 255.255.255.0:
ALTDOMAIN(1) current master browser = UNKNOWN
ALLIANCE 40819a03 (Samba server on alliance (v. 3.0.30-ALT))
[2008/09/30 17:37:38, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(282)
dump_workgroups()
dump workgroup on subnet 192.168.1.2: netmask= 255.255.255.0:
ALTDOMAIN(1) current master browser = UNKNOWN
ALLIANCE 40819a03 (Samba server on alliance (v. 3.0.30-ALT))
[2008/09/30 17:37:38, 0] nmbd/nmbd_serverlistdb.c:write_browse_list(350)
write_browse_list: Fatal error - cannot find my workgroup WORKGROUP
[2008/09/30 17:38:42, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(282)
dump_workgroups()
dump workgroup on subnet 192.168.2.1: netmask= 255.255.255.0:
ALTDOMAIN(1) current master browser = UNKNOWN
ALLIANCE 40819a03 (Samba server on alliance (v. 3.0.30-ALT))
[2008/09/30 17:38:42, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(282)
dump_workgroups()
dump workgroup on subnet 192.168.1.2: netmask= 255.255.255.0:
ALTDOMAIN(1) current master browser = UNKNOWN
ALLIANCE 40819a03 (Samba server on alliance (v. 3.0.30-ALT))
[2008/09/30 17:38:42, 0] nmbd/nmbd_serverlistdb.c:write_browse_list(350)
write_browse_list: Fatal error - cannot find my workgroup WORKGROUP
есть 2 сетевых интерфеса
eth0 (192.168.2.1/24) он смотрит в сеть(самба должна только на нем крутится)
eth1(192.168.1.2/24) этот смотрит в мир
конфиг самбы
# Global parameters
[global]
server string = Samba 3.0.30-ALT
workgroup = Alliance
dos charset = CP866
unix charset = UTF8
display charset = UTF8
#workgroup = ALLIANCE
#netbios name = SERVER
interfaces = eth0
log file = /var/log/samba/log.%m
max log size = 50
dns proxy = no
ldap ssl = no
# preferred master = Yes
os level = 33
# local master = yes
use sendfile = yes
map to guest = Bad User
public = yes
browseable = yes
[nod32mirror]
create mask = 0744
read only = Yes
guest ok = Yes
path = /var/ftp/nod32mirror
comment =
browsable = yes
# writable = yes
[incoming]
path = /var/ftp/incoming
read only = Yes
guest ok = yes
browseable = yes
# writable = yes
[public]
path = /var/ftp/share
read only = yes
guest ok = yes
browseable = yes
# writable = yes
[install]
path = /var/ftp/install
guest ok = yes
read only = yes
browseable = yes
# writable = yes
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Траблы с самбой
2008-09-30 14:47 [Comm] Траблы с самбой Kulik Dmitriy
@ 2008-09-30 15:17 ` Andriy Dobrovol`s`kii
2008-09-30 15:51 ` Владимир
0 siblings, 1 reply; 9+ messages in thread
From: Andriy Dobrovol`s`kii @ 2008-09-30 15:17 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Tue, Sep 30, 2008 at 5:47 PM, Kulik Dmitriy <lnkvisitor.ts@ wrote:
> при запуске
> конфиг самбы
Исправьте конфиг. Прочтите доку и заработает...
>
> # Global parameters
> [global]
> server string = Samba 3.0.30-ALT
> workgroup = Alliance
> dos charset = CP866
> unix charset = UTF8
> display charset = UTF8
> #workgroup = ALLIANCE
> #netbios name = SERVER
> interfaces = eth0
> log file = /var/log/samba/log.%m
> max log size = 50
> dns proxy = no
> ldap ssl = no
> # preferred master = Yes
> os level = 33
> # local master = yes
> use sendfile = yes
> map to guest = Bad User
> public = yes
> browseable = yes
--
Regards,
Andrii Dobrovol`s`kyj
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Траблы с самбой
2008-09-30 15:17 ` Andriy Dobrovol`s`kii
@ 2008-09-30 15:51 ` Владимир
2008-09-30 16:12 ` Kulik Dmitriy
0 siblings, 1 reply; 9+ messages in thread
From: Владимир @ 2008-09-30 15:51 UTC (permalink / raw)
To: ALT Linux Community general discussions
testparm
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Траблы с самбой
2008-09-30 15:51 ` Владимир
@ 2008-09-30 16:12 ` Kulik Dmitriy
2008-09-30 16:31 ` Andriy Dobrovol`s`kii
0 siblings, 1 reply; 9+ messages in thread
From: Kulik Dmitriy @ 2008-09-30 16:12 UTC (permalink / raw)
To: ALT Linux Community general discussions
[root@alliance samba]# testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
dos charset = CP866
unix charset = UTF8
display charset = UTF8
workgroup = ALLIANCE
interfaces = eth0
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
os level = 33
dns proxy = No
ldap ssl = no
guest ok = Yes
use sendfile = Yes
[root@alliance samba]# [root
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Траблы с самбой
2008-09-30 16:12 ` Kulik Dmitriy
@ 2008-09-30 16:31 ` Andriy Dobrovol`s`kii
2008-09-30 16:43 ` Kulik Dmitriy
0 siblings, 1 reply; 9+ messages in thread
From: Andriy Dobrovol`s`kii @ 2008-09-30 16:31 UTC (permalink / raw)
To: ALT Linux Community general discussions
2008/9/30 Kulik Dmitriy <lnkvisitor.ts@>:
> [root@alliance samba]# testparm
> Load smb config files from /etc/samba/smb.conf
> Loaded services file OK.
> Server role: ROLE_STANDALONE
> Press enter to see a dump of your service definitions
>
> [global]
> dos charset = CP866
> unix charset = UTF8
> display charset = UTF8
> workgroup = ALLIANCE
> interfaces = eth0
> map to guest = Bad User
> log file = /var/log/samba/log.%m
> max log size = 50
> os level = 33
> dns proxy = No
> ldap ssl = no
> guest ok = Yes
> use sendfile = Yes
У Вас проблема не в синтаксисе. Прочтите доку.
--
Regards,
Andrii Dobrovol`s`kyj
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Траблы с самбой
2008-09-30 16:31 ` Andriy Dobrovol`s`kii
@ 2008-09-30 16:43 ` Kulik Dmitriy
2008-09-30 16:55 ` Andrii Dobrovol`s`kii
0 siblings, 1 reply; 9+ messages in thread
From: Kulik Dmitriy @ 2008-09-30 16:43 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
Andriy Dobrovol`s`kii пишет:
> 2008/9/30 Kulik Dmitriy <lnkvisitor.ts@>:
>
>> [root@alliance samba]# testparm
>> Load smb config files from /etc/samba/smb.conf
>> Loaded services file OK.
>> Server role: ROLE_STANDALONE
>> Press enter to see a dump of your service definitions
>>
>> [global]
>> dos charset = CP866
>> unix charset = UTF8
>> display charset = UTF8
>> workgroup = ALLIANCE
>> interfaces = eth0
>> map to guest = Bad User
>> log file = /var/log/samba/log.%m
>> max log size = 50
>> os level = 33
>> dns proxy = No
>> ldap ssl = no
>> guest ok = Yes
>> use sendfile = Yes
>>
> У Вас проблема не в синтаксисе. Прочтите доку.
>
Мой оригинальный конфиг в аттаче, который работал до переброски
интерфейсов eth0<->eth1 и IP с 192.168.1.1 на 192.168.2.1
[-- Attachment #2: smb.cfg --]
[-- Type: text/plain, Size: 1359 bytes --]
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2007/02/11 12:09:09
# Global parameters
[global]
server string = Samba 3.0.30-ALT
workgroup = Alliance
dos charset = CP866
unix charset = UTF8
display charset = UTF8
#workgroup = ALLIANCE
#netbios name = SERVER
interfaces = eth1
log file = /var/log/samba/log.%m
max log size = 50
dns proxy = no
ldap ssl = no
# preferred master = Yes
os level = 33
# local master = yes
use sendfile = yes
map to guest = Bad User
public = yes
browseable = yes
[nod32mirror]
create mask = 0744
read only = Yes
guest ok = Yes
path = /var/ftp/nod32mirror
comment =
browsable = yes
# writable = yes
[incoming]
path = /var/ftp/incoming
read only = Yes
guest ok = yes
browseable = yes
# writable = yes
[public]
path = /var/ftp/share
read only = yes
guest ok = yes
browseable = yes
# writable = yes
[install]
path = /var/ftp/install
guest ok = yes
read only = yes
browseable = yes
# writable = yes
[ftp$]
path = /var/ftp
guest ok = yes
browseable = yes
writable = yes
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Траблы с самбой
2008-09-30 16:43 ` Kulik Dmitriy
@ 2008-09-30 16:55 ` Andrii Dobrovol`s`kii
2008-10-02 12:59 ` Kulik Dmitriy
0 siblings, 1 reply; 9+ messages in thread
From: Andrii Dobrovol`s`kii @ 2008-09-30 16:55 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 937 bytes --]
Kulik Dmitriy пишет:
>> У Вас проблема не в синтаксисе. Прочтите доку.
>>
> Мой оригинальный конфиг в аттаче, который работал до переброски
> интерфейсов eth0<->eth1 и IP с 192.168.1.1 на 192.168.2.1
Не буду спорить работало оно или нет, но чтоб оно слушало на
конкретных интерфейсах нужно как минимум указать:
bind interfaces only = Yes
и в interfaces, по моему опыту, нужно указывать lo. Примерно так:
interfaces = eth1, lo
Вобщем, почитайте таки документацию. И есть рассылка samba@ lists
dot altlinux.org. Там быстрее разберутся что у Вас происходит...
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 525-7824 Department of Gas Electronics
Fax: (380-44) 525-2329 Institute of Physics of NASU
*********************dobrATjabber.iop.kiev.ua************************
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Траблы с самбой
2008-09-30 16:55 ` Andrii Dobrovol`s`kii
@ 2008-10-02 12:59 ` Kulik Dmitriy
2008-10-02 18:58 ` Alexander Yereschenko
0 siblings, 1 reply; 9+ messages in thread
From: Kulik Dmitriy @ 2008-10-02 12:59 UTC (permalink / raw)
To: ALT Linux Community general discussions, Samba, Sysadmins
Andrii Dobrovol`s`kii пишет:
> Kulik Dmitriy пишет:
>
>>> У Вас проблема не в синтаксисе. Прочтите доку.
>>>
>>>
>> Мой оригинальный конфиг в аттаче, который работал до переброски
>> интерфейсов eth0<->eth1 и IP с 192.168.1.1 на 192.168.2.1
>>
> Не буду спорить работало оно или нет, но чтоб оно слушало на
> конкретных интерфейсах нужно как минимум указать:
> bind interfaces only = Yes
> и в interfaces, по моему опыту, нужно указывать lo. Примерно так:
> interfaces = eth1, lo
> Вобщем, почитайте таки документацию. И есть рассылка samba@ lists
> dot altlinux.org. Там быстрее разберутся что у Вас происходит...
>
судя по логам
[2008/10/02 15:51:59, 5] printing/print_cups.c:cups_cache_reload(94)
reloading cups printcap cache
[2008/10/02 15:51:59, 10] printing/print_cups.c:cups_connect(65)
connecting to cups server localhost:631
Понадобился самбе какогото CUPS сервер.... Установка онного решила
проблему...
А как отключить в самбе поддержку принтеров?
load printers = no не помагает.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Траблы с самбой
2008-10-02 12:59 ` Kulik Dmitriy
@ 2008-10-02 18:58 ` Alexander Yereschenko
0 siblings, 0 replies; 9+ messages in thread
From: Alexander Yereschenko @ 2008-10-02 18:58 UTC (permalink / raw)
To: ALT Linux Community general discussions
Доброе!
В сообщении от Thursday 02 October 2008 15:59:39 Kulik Dmitriy написал(а):
> судя по логам
> [2008/10/02 15:51:59, 5] printing/print_cups.c:cups_cache_reload(94)
> reloading cups printcap cache
> [2008/10/02 15:51:59, 10] printing/print_cups.c:cups_connect(65)
> connecting to cups server localhost:631
> Понадобился самбе какогото CUPS сервер.... Установка онного решила
> проблему...
> А как отключить в самбе поддержку принтеров?
>
> load printers = no не помагает.
Я делал так:
printcap name = /etc/printcap
load printers = no
Сразу успокаивается... :)
--
Alexander
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-10-02 18:58 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-30 14:47 [Comm] Траблы с самбой Kulik Dmitriy
2008-09-30 15:17 ` Andriy Dobrovol`s`kii
2008-09-30 15:51 ` Владимир
2008-09-30 16:12 ` Kulik Dmitriy
2008-09-30 16:31 ` Andriy Dobrovol`s`kii
2008-09-30 16:43 ` Kulik Dmitriy
2008-09-30 16:55 ` Andrii Dobrovol`s`kii
2008-10-02 12:59 ` Kulik Dmitriy
2008-10-02 18:58 ` Alexander Yereschenko
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git