diff options
-rw-r--r-- | docs-xml/smbdotconf/misc/socketaddress.xml | 1 | ||||
-rw-r--r-- | lib/param/param_table.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/docs-xml/smbdotconf/misc/socketaddress.xml b/docs-xml/smbdotconf/misc/socketaddress.xml index b3a81f2ec3..13ae11f395 100644 --- a/docs-xml/smbdotconf/misc/socketaddress.xml +++ b/docs-xml/smbdotconf/misc/socketaddress.xml @@ -13,6 +13,7 @@ <para>By default Samba will accept connections on any address.</para> + <para>This parameter is deprecated. See <smbconfoption name="bind interfaces only">Yes</smbconfoption> and <smbconfoption name="interfaces"></smbconfoption> .</para> </description> <value type="default">0.0.0.0</value> diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 304d38271f..67c72ce724 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -3492,7 +3492,7 @@ static struct parm_struct parm_table[] = { .offset = GLOBAL_VAR(szSocketAddress), .special = NULL, .enum_list = NULL, - .flags = FLAG_ADVANCED, + .flags = FLAG_ADVANCED | FLAG_DEPRECATED, }, { .label = "nmbd bind explicit broadcast", |