From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3C6F0373.5DD5A3B3@sam-solutions.net> Date: Sun, 17 Feb 2002 03:12:19 +0200 From: Alexander Bokovoy X-Mailer: Mozilla 4.78 [ru] (X11; U; Linux 2.4.10-alt1-up i586) X-Accept-Language: en MIME-Version: 1.0 To: devel@altlinux.ru Content-Type: multipart/mixed; boundary="------------4EBA9B470B2D8D6548A673DD" Subject: [devel] [Fwd: Browsing Elections and the 'os level' parameter] Sender: devel-admin@altlinux.ru Errors-To: devel-admin@altlinux.ru X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: devel@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --------------4EBA9B470B2D8D6548A673DD Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable Greetings! =FC=D4=CF =D7 =CF=D3=CE=CF=D7=CE=CF=CD, =D0=D2=C5=C4=CE=C1=DA=CE=C1=DE=C5= =CE=CF =C4=CC=D1 cornet-=C1, =D0=C9=DB=D5=DD=C5=C7=CF =DE=C1=D3=D4=D8 =C4= =CF=CB=D5=CD=C5=CE=D4=C1=C3=C9=C9 =D0=CF Samba, =CE=CF =C4=D5=CD=C1=C0 =C2=D5=C4=C5=D4 =C9=CE=D4=C5=D2=C5=D3= =CE=CF =C9 =CF=D3=D4=C1=CC=D8=CE=D9=CD. -- = Sincerely yours, Alexander Bokovoy = -- You won't skid if you stay in a rut. -- Frank Hubbard --------------4EBA9B470B2D8D6548A673DD Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: Received: from mail2.vasoftware.com ([198.186.202.147]) by mail.belcaf.minsk.by (MTA 4.15) with ESMTP id GRLXLK00.2WC; Sat, 16 Feb 2002 05:56:08 +0200 Received: from samba.sourceforge.net ([198.186.203.85] helo=lists.samba.org) by mail2.vasoftware.com with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16bvvQ-0006Ug-00; Fri, 15 Feb 2002 19:54:12 -0800 Received: from va.samba.org (localhost [127.0.0.1]) by lists.samba.org (Postfix) with ESMTP id 32C7E4106; Fri, 15 Feb 2002 19:59:12 -0800 (PST) Delivered-To: samba-technical@samba.org Received: from freebsdsystems.com (gw.freebsdsystems.com [216.126.78.90]) by lists.samba.org (Postfix) with ESMTP id 82E8440C5 for ; Fri, 15 Feb 2002 19:58:11 -0800 (PST) Received: (qmail 99218 invoked from network); 16 Feb 2002 03:53:06 -0000 Received: from unknown (HELO ns.aus.com) (65.194.57.194) by 216.126.94.38 with SMTP; 16 Feb 2002 03:53:06 -0000 Message-ID: <3C6DE313.6010509@ns.aus.com> From: Richard Sharpe Reply-To: rsharpe@ns.aus.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020205 X-Accept-Language: en-us MIME-Version: 1.0 To: jayts@iname.com Cc: samba-technical@samba.org Subject: Re: Browsing Elections and the 'os level' parameter References: <200202160335.g1G3Zwl12818@toltec.metran.cx> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: samba-technical-admin@lists.samba.org Errors-To: samba-technical-admin@lists.samba.org X-BeenThere: samba-technical@lists.samba.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Discussions on Samba internals. For general questions please subscribe to the list samba@samba.org List-Unsubscribe: , List-Archive: X-Original-Date: Sat, 16 Feb 2002 15:11:55 +1030 Date: Sat, 16 Feb 2002 15:11:55 +1030 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 --------------4EBA9B470B2D8D6548A673DD--