LINUX.ORG.RU

Ответ на: комментарий от anonymous

То есть ладно, самбу я подняла, WINS вроде под ней работает, все ок. Теперь хочу как-нибудь загасить самбу (или ее видимую для юзеров часть) чтоб винс остался. как? вопрос два: как проверить что WINS действительно работает?

anonymous
()
Ответ на: комментарий от anonymous

Собственно samba состоит из 2х демонов, непонятно что и зачем нуна "загасить". Работу винса а также и всего вообще мона проверить tcpdump-ом.

anonymous
()
Ответ на: комментарий от anonymous

вот пожалуйста, кусок лога tcpdump'a

12:43:40.369416 < kenzo.netbios-ns > gate.netbios-ns:NBT UDP PACKET(137): QUERY; REQUEST; UNICAST 12:43:40.369683 > gate.netbios-ns > kenzo.netbios-ns:NBT UDP PACKET(137): QUERY; NEGATIVE; RESPONSE; UNICAST 12:43:40.393111 B kenzo.netbios-ns > 192.168.0.255.netbios-ns:NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 12:43:40.393344 B arp who-has kenzo tell anton_b

в это время я обратилась к компу чела (anton_b). Т.е я сначала обращаюсь к WINS который якобы должен работать на компутере gate он ответил отрицательно. После этого kenzo посылает бродкастовые сообщения с целью узнать . Узнает (последняя строчка). т.е винс не функционирует.

Вот кусок из конфиги самбы касаемые настройки WINS: --------------------- # All NetBIOS names must be resolved to IP Addresses # 'Name Resolve Order' allows the named resolution mechanism to be specified # the default order is "host lmhosts wins bcast". "host" means use the unix # system gethostbyname() function call that will use either /etc/hosts OR # DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf # and the /etc/resolv.conf file. "host" therefore is system configuration # dependant. This parameter is most often of use to prevent DNS lookups # in order to resolve NetBIOS names to IP Addresses. Use with care! # The example below excludes use of name resolution for machines that are NOT # on the local network segment # - OR - are not deliberately to be known via lmhosts or via WINS.

name resolve order = host wins lmhosts bcast

# Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server

wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both # wins server = w.x.y.z

# WINS Proxy - Tells Samba to answer name resolution queries on # behalf of a non WINS capable client, for this to work there must be # at least one WINS Server on the network. The default is NO. # wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. The built-in default for versions 1.9.17 is yes, # this has been changed in version 1.9.18 to no. dns proxy = no

----------------------------

что не так?

Leech.

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.