* [Comm] problem with LinNeighborhood
@ 2004-12-18 18:27 Denis G. Samsonenko
2004-12-18 19:45 ` Vitaly Lipatov
0 siblings, 1 reply; 3+ messages in thread
From: Denis G. Samsonenko @ 2004-12-18 18:27 UTC (permalink / raw)
To: community
Добрый день!
В последнее время перестал нормально работать LinNeighborhood: не
показывает компьютеры в сети. В то же время Xffm делает это нормально
на этой же машине.
Вот что выдаёт журнал LinNeighborhood:
GetSMBGroups:nmblookup -M LAND_12 -S -d1
querying LAND_12 on 10.3.255.255
10.3.12.116 LAND_12<1d>
Looking up status of 10.3.12.116
SUNRISE <00> - M <ACTIVE>
GetSMBGroups:smbclient -L SUNRISE -W LAND_12 -U% -d1
Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Server Comment
--------- -------
FOREGEN ws_28
HEAVY-METALL
RA
STRELETZ
SUNRISE
TAIGA
VV
Workgroup Master
--------- -------
10
А вот, что получается, если выполнить упомянутые в логе комманды
напрямую из консоли:
[denis@ogion denis]$ nmblookup -M LAND_12 -S -d1
querying LAND_12 on 10.3.255.255
10.3.12.116 LAND_12<1d>
Looking up status of 10.3.12.116
SUNRISE <00> - M <ACTIVE>
LAND_12 <00> - <GROUP> M <ACTIVE>
SUNRISE <03> - M <ACTIVE>
SUNRISE <20> - M <ACTIVE>
SUNEAGLE <03> - M <ACTIVE>
LAND_12 <1e> - <GROUP> M <ACTIVE>
SUNRISE <01> - M <ACTIVE>
LAND_12 <1d> - M <ACTIVE>
..__MSBROWSE__. <01> - <GROUP> M <ACTIVE>
MAC Address = 00-04-61-61-F5-E1
[denis@ogion denis]$ smbclient -L SUNRISE -W LAND_12 -U% -d1
Domain=[LAND_12] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Domain=[LAND_12] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
FOREGEN ws_28
HEAVY-METALL
RA
STRELETZ
SUNRISE
TAIGA
VV
Workgroup Master
--------- -------
10
8-1 SAKHALIN
AKSHAM GULI-GULI
CAMPHQ BTR
<...>
LAND_11 COMPUFORCE1
LAND_12 SUNRISE
LAND_3 CELIK
MLAND EMG
<...>
WORKGROUP GERA
[denis@ogion denis]$
Как видно, что-то у LinNeighborhood не ладится, т.к. в консоли выше
указанные комманды отрабатывают вроде бы нормально.
Может ли кто подсказать, из-за чего возникла такая проблема?
Всего доброго,
Денис.
---------------
earthsea@ngs.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] problem with LinNeighborhood
2004-12-18 18:27 [Comm] problem with LinNeighborhood Denis G. Samsonenko
@ 2004-12-18 19:45 ` Vitaly Lipatov
2004-12-19 12:02 ` Denis G. Samsonenko
0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Lipatov @ 2004-12-18 19:45 UTC (permalink / raw)
To: community
On Saturday 18 December 2004 21:27, Denis G. Samsonenko wrote:
> Добрый день!
>
> В последнее время перестал нормально работать LinNeighborhood:
> не показывает компьютеры в сети. В то же время Xffm делает это
> нормально на этой же машине.
>
> Вот что выдаёт журнал LinNeighborhood:
>
> GetSMBGroups:nmblookup -M LAND_12 -S -d1
> querying LAND_12 on 10.3.255.255
> 10.3.12.116 LAND_12<1d>
> Looking up status of 10.3.12.116
> SUNRISE <00> - M <ACTIVE>
> GetSMBGroups:smbclient -L SUNRISE -W LAND_12 -U% -d1
Что за пользователь указан?
>
> Sharename Type Comment
> --------- ---- -------
> Error returning browse list: NT_STATUS_ACCESS_DENIED
Эта машина такого пользователя не знает.
--
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] problem with LinNeighborhood
2004-12-18 19:45 ` Vitaly Lipatov
@ 2004-12-19 12:02 ` Denis G. Samsonenko
0 siblings, 0 replies; 3+ messages in thread
From: Denis G. Samsonenko @ 2004-12-19 12:02 UTC (permalink / raw)
To: community
Добрый день!
Цитирую Vitaly Lipatov <lav@altlinux.ru>:
> > В последнее время перестал нормально работать LinNeighborhood:
> > не показывает компьютеры в сети. В то же время Xffm делает это
> > нормально на этой же машине.
> >
> > Вот что выдаёт журнал LinNeighborhood:
> >
> > GetSMBGroups:nmblookup -M LAND_12 -S -d1
> > querying LAND_12 on 10.3.255.255
> > 10.3.12.116 LAND_12<1d>
> > Looking up status of 10.3.12.116
> > SUNRISE <00> - M <ACTIVE>
> > GetSMBGroups:smbclient -L SUNRISE -W LAND_12 -U% -d1
> Что за пользователь указан?
Никакой пользователь не указан.
> > Sharename Type Comment
> > --------- ---- -------
> > Error returning browse list: NT_STATUS_ACCESS_DENIED
> Эта машина такого пользователя не знает.
Не знает, ну и бог с ним. Главное, что список Workgroup Master
почему-то обрывается на первой же паре:
Workgroup Master
--------- -------
10
Хотя он должен быть примерно таким:
Workgroup Master
--------- -------
10
8-1 SAKHALIN
AKSHAM GULI-GULI
CAMPHQ BTR
CHAOS CHRISTINE
<...>
LAND_11 COMPUFORCE1
LAND_12 TAIGA
LIBERAL 4UDIK
<...>
UYP-GROUP UYP-LLIYPIK
WORKGROUP GGF-GFOCM1JZ884
Такой список выдаётся, когда я делаю
smbclient -L TAIGA -W LAND_12 -U% -d1 из терминала, в то время как
LinNeighborhood при выполнении этой же комманды список обрывает и
соответственно компьютеров локальной сети не видит.
Если задать какого-нибудь пользователя, то список получается пустым.
И вообще LinNeighborhood сразу начинает с вызова "nmblookup -M LAND_12
-S -d1", в то время как Xffm вызывает сначала "nmblookup -M -- -"
получая при этом список типа
querying __MSBROWSE__ on 10.3.255.255
10.3.12.109 __MSBROWSE__<01>
10.3.11.151 __MSBROWSE__<01>
10.3.81.238 __MSBROWSE__<01>
и вызывая следом nmblookup -A 10.3.12.109 и т.д., в результате получая
список групп и их мастеров.
LinNeighborhood же ищет сначала мастера для заданной в конфиге группы
и затем анализирует выдаваемый мастером этой группы список груп и
соответствующих им мастеров. Если при этом данный список по каким-то
причинам пуст, то соответственно никакого списка компьютеров мы так и
не увидим, хотя они есть и тот же Xffm их находит.
Во! Только что удалось вытребовать с LinNeighborhood искомый список в
полном объёме. Как я понял, всё дело портита первая строка из списка:
Workgroup Master
--------- -------
10
т.е. имя группы пустое, а имя мастера "10". Как-то LinNeighborhood не
переваривает это и продолжение списка уже не выводит.
Сейчас же эта строка просто исчезла из списка и теперь проблем вробе
бы нет. Но я не уверен, что эта странная пара группа/мастер равная
"","10" не появится вновь, после чего я снова поимею выше описанную
проблему.
Я так понимаю -- это баг LinNeighborhood, что он не предусмотрел
подобной ситуации и его на этом клинит.
Всего доброго,
Денис.
---------------
earthsea@ngs.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-19 12:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-18 18:27 [Comm] problem with LinNeighborhood Denis G. Samsonenko
2004-12-18 19:45 ` Vitaly Lipatov
2004-12-19 12:02 ` Denis G. Samsonenko
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