os level in 2.0.6
slitt at troubleshooters.com
Sun Nov 28 23:18:07 GMT 1999
At 01:55 AM 11/29/1999 +1100, Richard Sharpe wrote:
>At 01:41 AM 11/29/99 +1100, cartegw at Eng.Auburn.EDU wrote:
>>Richard Sharpe wrote:
>>> the default value for os level in Samba 2.0.6 appears
>>> to be 20, while in prior versions it was 0.
>>> This is bound to cause some confusion ... Especially
>>> since there are books out there that say the default is 0.
>>Yup. I agree. I make special note of this when I
>>teach courses on Samba.
>Yes. I have verified it. The default value in the 2.0.5a source is 0.
>The default value in the 2.0.6 source is 20. There are no comments in the
>source that I can see to explain the change, and there appears to be
>nothing in the announcement to explain it either.
It looks intentional. It's in my cvs.log:
145747 Date: Monday September 27, 1999 @ 18:28
145748 Author: tridge
145750 Update of /data/cvs/samba/source/param
145751 In directory samba:/tmp/cvs-serv3833
145753 Modified Files:
145754 Tag: SAMBA_2_0
145756 Log Message:
145757 - add the "wins hook" parameter
145759 - changed the browse defaults to have "os level = 20". Samba really
145760 should have a higher priority than Win9X
Note that the line numbers are mine :-)
It gets set at line 995 of loadparm.c:
Globals.os_level = 20;
I don't have 2.0.5a source any more, but I went back to my 2.0.3 source and
found it to be set to 0, confirming your finding.
Richard and Jerry -- thanks for the heads up. I didn't know about this.
More information about the samba-technical