summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-23 09:23:04 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-27 03:34:23 +0200
commit42e405a422b4913e014740678fa067d5a441db88 (patch)
tree59425d442c7aa3a620429c031e8f756d76ae006a /source3/param/loadparm.c
parentbc1826abd67627588f40a7fe3a0a993ab83bb65d (diff)
downloadsamba-42e405a422b4913e014740678fa067d5a441db88.tar.gz
samba-42e405a422b4913e014740678fa067d5a441db88.tar.xz
samba-42e405a422b4913e014740678fa067d5a441db88.zip
param: Make socket_address common, Revert 611ef42053eb99f4c29d4efa86eaea9f1ca06286
This essentially reverts the commit 611ef42053eb99f4c29d4efa86eaea9f1ca06286 Author: Yasuma Takeda <yasuma@osstech.co.jp> Date: Fri Dec 5 13:37:51 2008 -0800 Fix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.conf Intead, the documentation is fixed so that the correct default is recorded. Removing the special case handling here allows this to be dealt with in the same way as all other parameters. Andrew Bartlett
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 768fa41924..990831b1cf 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -122,7 +122,6 @@ static bool defaults_saved = false;
char *szLdapGroupSuffix; \
char *szStateDir; \
char *szCacheDir; \
- char *szSocketAddress; \
char *szUsershareTemplateShare; \
char *szIdmapUID; \
char *szIdmapGID; \
@@ -5359,21 +5358,6 @@ int lp_min_receive_file_size(void)
}
/*******************************************************************
- If socket address is an empty character string, it is necessary to
- define it as "0.0.0.0".
-********************************************************************/
-
-const char *lp_socket_address(void)
-{
- char *sock_addr = Globals.szSocketAddress;
-
- if (sock_addr[0] == '\0'){
- string_set(&Globals.szSocketAddress, "0.0.0.0");
- }
- return Globals.szSocketAddress;
-}
-
-/*******************************************************************
Safe wide links checks.
This helper function always verify the validity of wide links,
even after a configuration file reload.