* [devel] [Fwd: Browsing Elections and the 'os level' parameter]
@ 2002-02-17 1:12 Alexander Bokovoy
2002-02-18 21:50 ` cornet
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Bokovoy @ 2002-02-17 1:12 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
Greetings!
Это в основном, предназначено для cornet-а, пишущего часть документации
по Samba, но думаю будет интересно и остальным.
--
Sincerely yours, Alexander Bokovoy
-- You won't skid if you stay in a rut.
-- Frank Hubbard
[-- Attachment #2: Type: message/rfc822, Size: 5613 bytes --]
From: Richard Sharpe <sharpe@ns.aus.com>
To: jayts@iname.com
Cc: samba-technical@samba.org
Subject: Re: Browsing Elections and the 'os level' parameter
Date: Sat, 16 Feb 2002 15:11:55 +1030
Message-ID: <3C6DE313.6010509@ns.aus.com>
Jay Ts wrote:
>Hi Everyone,
>
>I'm working on the chapter in O'Reilly's Using Samba, 2nd ed.
>that covers browsing and browsing elections. In the first
>edition, the original author listed some inaccurate information
>in the table on Windows OS Type values, and I want to correct that.
>
>First I looked through the Samba textdocs and htmldocs, then
>dug up everything I could on the Microsoft site, which amounted
>to 2 white papers. Those two papers had contradictory information,
>and the Samba docs weren't of much help, even when documenting
>the "os level" parameter. (For example, some of the docs use
>an os level of 65 to force Samba to be the master browser,
>without explaining why this specific number is used, and in
>BROWSING.txt it says the maximum os level is 255. Wouldn't
>it be better to just use 255 to really make sure?)
>
>So I have spent the past day running ethereal here, with various
>combinations of Windows and Samba PDCs and workstations. I've
>found what Windows systems use as the OS Type value (os level, in
>Samba smb.conf terms), and I'm hoping y'all can take a look
>at this and let me know if I'm off anywhere, or missing anything:
>
>Operating System and Configuration OS Type value
>------------------------------------------------
>(MS-DOS or Win 3.x, with Microsoft ?
> Network Client installed)
>(Windows for Workgroups) 1
>Windows 95 1
>Windows 98 1
>Windows Me 1
>(Windows NT 3.x Workstation) 16
>(Windows NT 3.x Server, member server) 16
>(Windows NT 3.x Server, as PDC) 32
>(Windows NT 4 Workstation) 16
>Windows NT 4 Server, as member server 16
>Windows NT 4 Server, as PDC 32
>Windows 2K Professional 16
>Windows 2K Adv.Server, as member server 16
>Windows 2K Adv.Server, as NT-PDC 32
>(Windows XP Home) 16
>Windows XP Professional 16
>
These are the values I recall seeing, and this makes sense according to
the browsing docs that MS provided that I saw. I think some of this is
in the CIFS doc now.
Of course, since I originally wrote the code in Ethereal that dissected
these things, you might want to use another monitor tool to cross check :-)
>
>The OS versions in parenthesis are versions I don't have,
>and can't test, and the OS Type values are either taken from
>documentation or (more likely ;) assumed. Do they look right?
>
>One thing to go along with this: it seems that Windows and
>Samba both compare the OS Type values as integers rather than
>bits, so an "os level" of 33 for Samba will beat a Windows
>system having an OS Type of 32, even though ethereal reports an
>value of 33 as a system that is both Windows NT Server and
>Windows for Workgroups (i.e., 32 anded with 1). In other words,
>it is not necessary to use the next bit over (64, or even 65 ;)
>to win against any Windows PDC.
>
>I think it would be a good idea to get the OS Type values clear
>and document them so that the users will know exactly how to
>get Samba to beat or lose elections against specific Windows
>versions.
>
>Comments appreciated!
>
>Jay Ts
>jayts@iname.com
>
>
--
Richard Sharpe, rsharpe@ns.aus.com, rsharpe@samba.org, sharpe@ethereal.com
www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba
in 24 Hours, Special Edition, Using Samba
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] [Fwd: Browsing Elections and the 'os level' parameter]
2002-02-17 1:12 [devel] [Fwd: Browsing Elections and the 'os level' parameter] Alexander Bokovoy
@ 2002-02-18 21:50 ` cornet
2002-02-19 9:19 ` Alexander Bokovoy
0 siblings, 1 reply; 4+ messages in thread
From: cornet @ 2002-02-18 21:50 UTC (permalink / raw)
To: devel
Alexander Bokovoy wrote:
>
> Greetings!
>
> Это в основном, предназначено для cornet-а, пишущего часть документации
> по Samba, но думаю будет интересно и остальным.
skip.
> >So I have spent the past day running ethereal here, with various
> >combinations of Windows and Samba PDCs and workstations. I've
> >found what Windows systems use as the OS Type value (os level, in
> >Samba smb.conf terms), and I'm hoping y'all can take a look
> >at this and let me know if I'm off anywhere, or missing anything:
> >
> >Operating System and Configuration OS Type value
> >------------------------------------------------
> >(MS-DOS or Win 3.x, with Microsoft ?
> > Network Client installed)
> >(Windows for Workgroups) 1
> >Windows 95 1
> >Windows 98 1
> >Windows Me 1
> >(Windows NT 3.x Workstation) 16
> >(Windows NT 3.x Server, member server) 16
> >(Windows NT 3.x Server, as PDC) 32
> >(Windows NT 4 Workstation) 16
> >Windows NT 4 Server, as member server 16
> >Windows NT 4 Server, as PDC 32
> >Windows 2K Professional 16
> >Windows 2K Adv.Server, as member server 16
> >Windows 2K Adv.Server, as NT-PDC 32
> >(Windows XP Home) 16
> >Windows XP Professional 16
> >
Я не могу поверить, что для Win9x это значение равно 1. Мой
личный опыт показывает, что их уровень не ниже 32, поскольку при
таком os level в smb.conf эти тачки постоянно перехватывали
браузинг у Самбы, о чем писалось в логах. Если в сетке стоит w2k
server то на Самбе надо ставить 65, иначе w2k перехватит
браузинг.
Вобщем мой опыт полностью противоречит этой таблице :-/ правда
то были samba-2.0.x.
--
Власенко Олег.
Отдел технической поддержки ALT Linux Team.
mailto:cornet@altlinux.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] [Fwd: Browsing Elections and the 'os level' parameter]
2002-02-18 21:50 ` cornet
@ 2002-02-19 9:19 ` Alexander Bokovoy
2002-02-19 16:08 ` cornet
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Bokovoy @ 2002-02-19 9:19 UTC (permalink / raw)
To: devel
On Tue, Feb 19, 2002 at 12:50:50AM +0300, cornet wrote:
> Alexander Bokovoy wrote:
> >
> > Greetings!
> >
> > Это в основном, предназначено для cornet-а, пишущего часть документации
> > по Samba, но думаю будет интересно и остальным.
> skip.
>
> > >So I have spent the past day running ethereal here, with various
> > >combinations of Windows and Samba PDCs and workstations. I've
> > >found what Windows systems use as the OS Type value (os level, in
> > >Samba smb.conf terms), and I'm hoping y'all can take a look
> > >at this and let me know if I'm off anywhere, or missing anything:
> > >
> > >Operating System and Configuration OS Type value
> > >------------------------------------------------
> > >(MS-DOS or Win 3.x, with Microsoft ?
> > > Network Client installed)
> > >(Windows for Workgroups) 1
> > >Windows 95 1
> > >Windows 98 1
> > >Windows Me 1
> > >(Windows NT 3.x Workstation) 16
> > >(Windows NT 3.x Server, member server) 16
> > >(Windows NT 3.x Server, as PDC) 32
> > >(Windows NT 4 Workstation) 16
> > >Windows NT 4 Server, as member server 16
> > >Windows NT 4 Server, as PDC 32
> > >Windows 2K Professional 16
> > >Windows 2K Adv.Server, as member server 16
> > >Windows 2K Adv.Server, as NT-PDC 32
> > >(Windows XP Home) 16
> > >Windows XP Professional 16
> > >
>
> Я не могу поверить, что для Win9x это значение равно 1. Мой
> личный опыт показывает, что их уровень не ниже 32, поскольку при
> таком os level в smb.conf эти тачки постоянно перехватывали
> браузинг у Самбы, о чем писалось в логах. Если в сетке стоит w2k
> server то на Самбе надо ставить 65, иначе w2k перехватит
> браузинг.
> Вобщем мой опыт полностью противоречит этой таблице :-/ правда
> то были samba-2.0.x.
Первоначальный автор письма -- автор книги Samba Unleashed, он
ссылается на данные, которые подтверждает автор документации по
CIFS. Для меня это тоже выглядело неожиданностью, но тем не менее, для
Самбы 2.2 это так и есть.
--
/ Alexander Bokovoy
Software architect and analyst // SaM-Solutions Ltd.
---
How come wrong numbers are never busy?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] [Fwd: Browsing Elections and the 'os level' parameter]
2002-02-19 9:19 ` Alexander Bokovoy
@ 2002-02-19 16:08 ` cornet
0 siblings, 0 replies; 4+ messages in thread
From: cornet @ 2002-02-19 16:08 UTC (permalink / raw)
To: devel
Alexander Bokovoy wrote:
>
> On Tue, Feb 19, 2002 at 12:50:50AM +0300, cornet wrote:
> > Alexander Bokovoy wrote:
> > >
> > > Greetings!
> > >
> > > Это в основном, предназначено для cornet-а, пишущего часть документации
> > > по Samba, но думаю будет интересно и остальным.
> > skip.
> >
> > > >So I have spent the past day running ethereal here, with various
> > > >combinations of Windows and Samba PDCs and workstations. I've
> > > >found what Windows systems use as the OS Type value (os level, in
> > > >Samba smb.conf terms), and I'm hoping y'all can take a look
> > > >at this and let me know if I'm off anywhere, or missing anything:
> > > >
> > > >Operating System and Configuration OS Type value
> > > >------------------------------------------------
> > > >(MS-DOS or Win 3.x, with Microsoft ?
> > > > Network Client installed)
> > > >(Windows for Workgroups) 1
> > > >Windows 95 1
> > > >Windows 98 1
> > > >Windows Me 1
> > > >(Windows NT 3.x Workstation) 16
> > > >(Windows NT 3.x Server, member server) 16
> > > >(Windows NT 3.x Server, as PDC) 32
> > > >(Windows NT 4 Workstation) 16
> > > >Windows NT 4 Server, as member server 16
> > > >Windows NT 4 Server, as PDC 32
> > > >Windows 2K Professional 16
> > > >Windows 2K Adv.Server, as member server 16
> > > >Windows 2K Adv.Server, as NT-PDC 32
> > > >(Windows XP Home) 16
> > > >Windows XP Professional 16
> > > >
> >
> > Я не могу поверить, что для Win9x это значение равно 1. Мой
> > личный опыт показывает, что их уровень не ниже 32, поскольку при
> > таком os level в smb.conf эти тачки постоянно перехватывали
> > браузинг у Самбы, о чем писалось в логах. Если в сетке стоит w2k
> > server то на Самбе надо ставить 65, иначе w2k перехватит
> > браузинг.
> > Вобщем мой опыт полностью противоречит этой таблице :-/ правда
> > то были samba-2.0.x.
>
> Первоначальный автор письма -- автор книги Samba Unleashed, он
> ссылается на данные, которые подтверждает автор документации по
> CIFS. Для меня это тоже выглядело неожиданностью, но тем не менее, для
> Самбы 2.2 это так и есть.
Завтра проверим ;-)
win98 nt4workstation и wn4serverPDC всегда под рукой.
--
Власенко Олег.
Отдел технической поддержки ALT Linux Team.
mailto:cornet@altlinux.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-02-19 16:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-17 1:12 [devel] [Fwd: Browsing Elections and the 'os level' parameter] Alexander Bokovoy
2002-02-18 21:50 ` cornet
2002-02-19 9:19 ` Alexander Bokovoy
2002-02-19 16:08 ` cornet
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git