ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergei Epiphanov <serpiph@nikiet.ru>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] nmb в сети
Date: Mon, 15 Oct 2012 11:09:37 +0400
Message-ID: <2138329.CjU08dRlqC@epiphanov.bkpi82.nikiet.ru> (raw)

Добрый день!

Помогите разобраться с проблемой, уже не знаю где копать. В локальной сети 
есть samba-сервер. Я решил обновить ядро на сервере и перезагрузил машину с 
новым ядром. Теперь творится какая-то чепуха: nmb-сервис не хочет отвечать на 
запросы по порту 137 при поиске главной машины в сети. До перезагрузки под 
новым ядром проблемы не было, то есть команда 'nmblookup -M -- -' выдавала, 
что этот сервер является главным. Теперь же этот ответ получаю только на 
samba-сервере, то есть локально. 'tcpdump -i net0 host 192.168.10.10' 
показывает, что сервер получает UDP-пакет, но вот ответа от сервера нет. 
192.168.10.10 - это мой комп. Где может порыться проблема - не знаю. В логах 
сервер пишет, что становится главным и всё. На самом деле на поиск главного 
отзывается совсем другой компьютер. Система - текущий Сизиф.

Никакие iptables не работают, правил нет. ssh-доступ и доступ к ресурсам через 
smb работают нормально.

Вот выкусь из настроек:

[global]
        dos charset = CP866
        workgroup = WORK
        server string = BKPI-82 document server
        interfaces = 192.168.10.150/24
        auth methods = guest, sam, winbind
        map to guest = Bad User
        algorithmic rid base = 100000
        guest account = smbguest
        log file = /var/log/samba/log.%m
        hostname lookups = Yes
        max log size = 50
        load printers = No
        socket options = SO_BROADCAST TCP_NODELAY SO_REUSEADDR
        show add printer wizard = No
        os level = 255
        preferred master = Yes
        browse list = Yes
        enhanced browsing = Yes
        dns proxy = No
        idmap config SUZ:range = 10000-20000
        idmap config SUZ:backend = tdb
        idmap config SUZ:default = yes
        idmap config * : range = 10000-20000
        idmap config * : backend = tdb
        use sendfile = Yes
        printing = lprng
        print command = lpr -r -P'%p' %s
        lpq command = lpq -P'%p'
        lprm command = lprm -P'%p' %j
        lppause command = lpc hold '%p' %j
        lpresume command = lpc release '%p' %j
        queuepause command = lpc stop '%p'
        queueresume command = lpc start '%p'

# uname -a
Linux hostname 3.6.1-un-def-alt2 #1 SMP PREEMPT Mon Oct 8 12:38:57 UTC 2012 
i686 GNU/Linux
#

-- 
С уважением, Епифанов Сергей

             reply	other threads:[~2012-10-15  7:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15  7:09 Sergei Epiphanov [this message]
2012-10-15  7:31 ` Anton Gorlov
2012-10-15  7:44   ` Sergei Epiphanov
2012-10-15  7:50     ` Anton Gorlov
2012-10-15  9:25       ` Sergei Epiphanov
2012-10-16 13:20       ` Sergei Epiphanov
2012-10-15  7:43 ` Sergei Epiphanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2138329.CjU08dRlqC@epiphanov.bkpi82.nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git