From: Alexander Bokovoy <ab@avilink.net> To: devel@altlinux.ru Subject: [devel] [Fwd: Browsing Elections and the 'os level' parameter] Date: Sun, 17 Feb 2002 03:12:19 +0200 Message-ID: <3C6F0373.5DD5A3B3@sam-solutions.net> (raw) [-- 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
next reply other threads:[~2002-02-17 1:12 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-02-17 1:12 Alexander Bokovoy [this message] 2002-02-18 21:50 ` cornet 2002-02-19 9:19 ` Alexander Bokovoy 2002-02-19 16:08 ` cornet
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=3C6F0373.5DD5A3B3@sam-solutions.net \ --to=ab@avilink.net \ --cc=devel@altlinux.ru \ /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 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