web_server: Remove the web port smb.conf parameter
authorGarming Sam <garming@catalyst.net.nz>
Wed, 6 Mar 2019 00:21:55 +0000 (13:21 +1300)
committerJeremy Allison <jra@samba.org>
Thu, 7 Mar 2019 00:33:16 +0000 (00:33 +0000)
With the removal of the web server, there are not any users of this
parameter and so should just be removed.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
docs-xml/smbdotconf/protocol/webport.xml [deleted file]
lib/param/loadparm.c
source3/param/loadparm.c

diff --git a/docs-xml/smbdotconf/protocol/webport.xml b/docs-xml/smbdotconf/protocol/webport.xml
deleted file mode 100644 (file)
index b9f49ef..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<samba:parameter name="web port"
-                 context="G"
-                 type="integer"
-                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
-<description>
-       <para>Specifies which port the Samba web server should listen on.</para>
-</description>
-
-<value type="default">901</value>
-<value type="example">80</value>
-</samba:parameter>
index 9c7bf89..7ef2cc7 100644 (file)
@@ -2777,7 +2777,6 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
        lpcfg_do_global_parameter(lp_ctx, "cldap port", "389");
        lpcfg_do_global_parameter(lp_ctx, "krb5 port", "88");
        lpcfg_do_global_parameter(lp_ctx, "kpasswd port", "464");
-       lpcfg_do_global_parameter(lp_ctx, "web port", "901");
 
        lpcfg_do_global_parameter(lp_ctx, "nt status support", "True");
 
index 29d9d59..6aa8401 100644 (file)
@@ -946,8 +946,6 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals)
 
        Globals.kpasswd_port = 464;
 
-       Globals.web_port = 901;
-
        Globals.aio_max_threads = 100;
 
        lpcfg_string_set(Globals.ctx,