diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-24 12:57:47 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-24 13:08:04 +1000 |
commit | 3d08e844fc2870387449850342091ae621bd938d (patch) | |
tree | 68db5b054cf4715ad3c20c65e8fdb01e70a4cdeb | |
parent | 877de9fee773b3f6b5a95afe1d01001e0b1b4ff2 (diff) | |
download | samba-3d08e844fc2870387449850342091ae621bd938d.tar.gz samba-3d08e844fc2870387449850342091ae621bd938d.tar.bz2 samba-3d08e844fc2870387449850342091ae621bd938d.zip |
param: Remove remaining references to announce as and announce version
-rw-r--r-- | docs-xml/using_samba/appc.xml | 28 | ||||
-rw-r--r-- | docs-xml/using_samba/ch05.xml | 29 | ||||
-rw-r--r-- | source4/param/loadparm.c | 5 | ||||
-rw-r--r-- | source4/scripting/python/samba/upgrade.py | 2 |
4 files changed, 0 insertions, 64 deletions
diff --git a/docs-xml/using_samba/appc.xml b/docs-xml/using_samba/appc.xml index f4b4666bca..30f5045c01 100644 --- a/docs-xml/using_samba/appc.xml +++ b/docs-xml/using_samba/appc.xml @@ -66,34 +66,6 @@ options.</para> </refsynopsisdiv> </refentry> -<refentry id="appc-refentry-4"> -<refmeta> -<refmiscinfo class="allowable values">NT, Win95, WfW</refmiscinfo> -<refmiscinfo class="default">NT</refmiscinfo> -</refmeta> -<refnamediv> -<refname>[global] announce as = system type</refname> -</refnamediv> -<refsynopsisdiv> -<para>Have Samba announce itself as something other than an NT server. Discouraged because it interferes with serving browse lists.</para> - -</refsynopsisdiv> -</refentry> - -<refentry id="appc-refentry-5"> -<refmeta> -<refmiscinfo class="allowable values">any</refmiscinfo> -<refmiscinfo class="default">4.2</refmiscinfo> -</refmeta> -<refnamediv> -<refname>[global] announce version = number.number</refname> -</refnamediv> -<refsynopsisdiv> -<para>Instructs Samba to announce itself as an older version SMB server. Discouraged.</para> - -</refsynopsisdiv> -</refentry> - <refentry id="appc-refentry-6"> <refmeta> <refmiscinfo class="allowable values">any shares</refmiscinfo> diff --git a/docs-xml/using_samba/ch05.xml b/docs-xml/using_samba/ch05.xml index 8bf541cd2f..2e8bc328b0 100644 --- a/docs-xml/using_samba/ch05.xml +++ b/docs-xml/using_samba/ch05.xml @@ -523,35 +523,6 @@ remote browse sync = 192.168.221.130 192.168.222.120</programlisting> <tbody> <row> -<entry colname="col1"><para><literal>announce as</literal></para></entry> - -<entry colname="col2"><para><literal>NT</literal> -<indexterm id="ch05-idx-969670-0"><primary>browsing</primary><secondary>options for, list of</secondary></indexterm> or <literal>Win95</literal> or <literal>Wf W</literal></para></entry> - -<entry colname="col3"><para>Sets the operating system that Samba will announce itself as.</para></entry> - -<entry colname="col4"><para><literal>N T</literal></para></entry> - -<entry colname="col5"><para>Global</para></entry> - -</row> - -<row> - -<entry colname="col1"><para><literal>announce version</literal></para></entry> - -<entry colname="col2"><para>numerical</para></entry> - -<entry colname="col3"><para>Sets the version of the operating system that Samba will announce itself as.</para></entry> - -<entry colname="col4"><para><literal>4.2</literal></para></entry> - -<entry colname="col5"><para>Global</para></entry> - -</row> - -<row> - <entry colname="col1"><para><literal>browseable (browsable)</literal></para></entry> <entry colname="col2"><para>boolean</para></entry> diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 14285be017..b95a400b34 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -2352,10 +2352,6 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) lpcfg_do_global_parameter_var(lp_ctx, "server string", "Samba %s", SAMBA_VERSION_STRING); - lpcfg_do_global_parameter_var(lp_ctx, "announce version", "%d.%d", - DEFAULT_MAJOR_VERSION, - DEFAULT_MINOR_VERSION); - lpcfg_do_global_parameter(lp_ctx, "password server", "*"); lpcfg_do_global_parameter(lp_ctx, "max mux", "50"); @@ -2373,7 +2369,6 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) lpcfg_do_global_parameter(lp_ctx, "WriteRaw", "True"); lpcfg_do_global_parameter(lp_ctx, "NullPasswords", "False"); lpcfg_do_global_parameter(lp_ctx, "ObeyPamRestrictions", "False"); - lpcfg_do_global_parameter(lp_ctx, "announce as", "NT SERVER"); lpcfg_do_global_parameter(lp_ctx, "TimeServer", "False"); lpcfg_do_global_parameter(lp_ctx, "BindInterfacesOnly", "False"); diff --git a/source4/scripting/python/samba/upgrade.py b/source4/scripting/python/samba/upgrade.py index 5bcc4294ba..0f7511aa17 100644 --- a/source4/scripting/python/samba/upgrade.py +++ b/source4/scripting/python/samba/upgrade.py @@ -279,8 +279,6 @@ smbconf_keep = [ "write raw", "disable netbios", "nt status support", - "announce version", - "announce as", "max mux", "max xmit", "name resolve order", |