summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-23 13:15:23 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-27 03:34:23 +0200
commitecb89cebd63ed1dcf4815a45b2a26c643c939ecb (patch)
treef0e69051b4b4b2492a40592b293498cecf837fd9
parent42e405a422b4913e014740678fa067d5a441db88 (diff)
downloadsamba-ecb89cebd63ed1dcf4815a45b2a26c643c939ecb.tar.gz
samba-ecb89cebd63ed1dcf4815a45b2a26c643c939ecb.tar.bz2
samba-ecb89cebd63ed1dcf4815a45b2a26c643c939ecb.zip
docs: Mark "socket address" as deprecated
-rw-r--r--docs-xml/smbdotconf/misc/socketaddress.xml1
-rw-r--r--lib/param/param_table.c2
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",