ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergei Epiphanov <serpiph@nikiet.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Вопрос по SAMBA
Date: Fri, 15 Jul 2011 10:47:58 +0400
Message-ID: <201107151047.58192.serpiph@nikiet.ru> (raw)
In-Reply-To: <4E1EBE89.8050209@altlinux.org>

В сообщении от 14 июля 2011 14:01:45 автор Alexander Bokovoy написал:
> > socket address = 192.168.1.1 127.0.0.1
> 
> Зачем??? То есть, соединения от 192.168.2/24 приниматься не будут.

Выяснил в помощи, что в socket address можно указать только один адрес и 
только он будет использоваться для всех операций, что мне не подходит совсем.

Кстати, я сейчас обнаружил, что команда 'nmblookup -M -- -' ищет главные 
браузеры доменов только по одному интерфейсу и только по тому, который указан 
первым в строке 'interfaces='.  Такое ощущение, что программа единожды 
открывает сокет на адресе, указанном первым в 'interfaces=', после чего ведёт 
запросы в сети, не задумываясь, что надо бы менять адреса отправки при 
переходе к другому интерфейсу. То есть (часть конфига и запрос, net0 - 
192.168.1.1/24, net1 - 192.168.2.1/24):
1)
<пусто>
запрос идёт в одну сеть и выдает ответ только по одной сети (у меня net1)
2)
interfaces = net0, net1
запрос идёт в сеть net0 и выдает ответ только по сети net0
3)
interfaces = net1, net0
запрос идёт в сеть net1 и выдает ответ только по сети net1

А почему??? Вот из справки swat:
"interfaces (G)

    This option allows you to override the default network interfaces list 
that Samba will use for browsing, name registration and other NetBIOS over 
TCP/IP (NBT) traffic. By default Samba will query the kernel for the list of all 
active interfaces and use any interfaces except 127.0.0.1 that are broadcast 
capable.

    The option takes a list of interface strings. Each string can be in any of 
the following forms: ..."

То есть налицо бага в samba. Или не так?

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

  reply	other threads:[~2011-07-15  6:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-14  4:53 Sergei Epiphanov
2011-07-14 10:01 ` Alexander Bokovoy
2011-07-15  6:47   ` Sergei Epiphanov [this message]
2011-07-15  7:44     ` Alexander Bokovoy
2011-07-15 10:38       ` Sergei Epiphanov
2011-07-15 11:25         ` Alexander Bokovoy

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=201107151047.58192.serpiph@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