summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-04-29 07:51:32 +0200
committerStefan Metzmacher <metze@samba.org>2010-04-29 12:36:47 +0200
commit1765732f82719a4bc925f21ef4999bd19a8d1f6c (patch)
treeb127164d625a3cccff271e63e85b09b72fd4992f /source4/param
parent8e792d7b9bd1f9ce35fdaf6db4fc1d08e2ba8bda (diff)
downloadsamba-1765732f82719a4bc925f21ef4999bd19a8d1f6c.tar.gz
samba-1765732f82719a4bc925f21ef4999bd19a8d1f6c.tar.bz2
samba-1765732f82719a4bc925f21ef4999bd19a8d1f6c.zip
s4: remove unused references to swat
metze
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c4
-rw-r--r--source4/param/param.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 45b206483d..a9ce470e92 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -127,7 +127,6 @@ struct loadparm_global
char *szTemplateHomedir;
int bWinbindSealedPipes;
int bIdmapTrustedOnly;
- char *swat_directory;
int tls_enabled;
char *tls_keyfile;
char *tls_certfile;
@@ -415,7 +414,6 @@ static struct parm_struct parm_table[] = {
{"tls cafile", P_STRING, P_GLOBAL, GLOBAL_VAR(tls_cafile), NULL, NULL},
{"tls crlfile", P_STRING, P_GLOBAL, GLOBAL_VAR(tls_crlfile), NULL, NULL},
{"tls dh params file", P_STRING, P_GLOBAL, GLOBAL_VAR(tls_dhpfile), NULL, NULL},
- {"swat directory", P_STRING, P_GLOBAL, GLOBAL_VAR(swat_directory), NULL, NULL},
{"large readwrite", P_BOOL, P_GLOBAL, GLOBAL_VAR(bLargeReadwrite), NULL, NULL},
{"server max protocol", P_ENUM, P_GLOBAL, GLOBAL_VAR(srv_maxprotocol), NULL, enum_protocol},
{"server min protocol", P_ENUM, P_GLOBAL, GLOBAL_VAR(srv_minprotocol), NULL, enum_protocol},
@@ -636,7 +634,6 @@ _PUBLIC_ FN_GLOBAL_INTEGER(lp_cldap_port, cldap_port)
_PUBLIC_ FN_GLOBAL_INTEGER(lp_krb5_port, krb5_port)
_PUBLIC_ FN_GLOBAL_INTEGER(lp_kpasswd_port, kpasswd_port)
_PUBLIC_ FN_GLOBAL_INTEGER(lp_web_port, web_port)
-_PUBLIC_ FN_GLOBAL_STRING(lp_swat_directory, swat_directory)
_PUBLIC_ FN_GLOBAL_BOOL(lp_tls_enabled, tls_enabled)
_PUBLIC_ FN_GLOBAL_STRING(lp_share_backend, szShareBackend)
_PUBLIC_ FN_GLOBAL_STRING(lp_sam_url, szSAM_URL)
@@ -2442,7 +2439,6 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
lp_do_global_parameter(lp_ctx, "krb5 port", "88");
lp_do_global_parameter(lp_ctx, "kpasswd port", "464");
lp_do_global_parameter(lp_ctx, "web port", "901");
- lp_do_global_parameter(lp_ctx, "swat directory", dyn_SWATDIR);
lp_do_global_parameter(lp_ctx, "nt status support", "True");
diff --git a/source4/param/param.h b/source4/param/param.h
index 8bb368f3d7..6253f43f08 100644
--- a/source4/param/param.h
+++ b/source4/param/param.h
@@ -82,7 +82,6 @@ int lp_cldap_port(struct loadparm_context *);
int lp_krb5_port(struct loadparm_context *);
int lp_kpasswd_port(struct loadparm_context *);
int lp_web_port(struct loadparm_context *);
-const char *lp_swat_directory(struct loadparm_context *);
bool lp_tls_enabled(struct loadparm_context *);
char *lp_tls_keyfile(TALLOC_CTX *mem_ctx, struct loadparm_context *);
char *lp_tls_certfile(TALLOC_CTX *mem_ctx, struct loadparm_context *);