summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index b1c3db6e7e..3fbf852899 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -29,7 +29,6 @@
#include "includes.h"
#include "lib/param/param.h"
#include "libcli/raw/libcliraw.h"
-#include "rpc_server/common/common.h"
void lpcfg_smbcli_options(struct loadparm_context *lp_ctx,
struct smbcli_options *options)
@@ -54,15 +53,3 @@ void lpcfg_smbcli_session_options(struct loadparm_context *lp_ctx,
options->plaintext_auth = lpcfg_client_plaintext_auth(lp_ctx);
}
-_PUBLIC_ struct dcerpc_server_info *lpcfg_dcerpc_server_info(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx)
-{
- struct dcerpc_server_info *ret = talloc_zero(mem_ctx, struct dcerpc_server_info);
-
- ret->domain_name = talloc_reference(mem_ctx, lpcfg_workgroup(lp_ctx));
- ret->version_major = lpcfg_parm_int(lp_ctx, NULL, "server_info", "version_major", 5);
- ret->version_minor = lpcfg_parm_int(lp_ctx, NULL, "server_info", "version_minor", 2);
- ret->version_build = lpcfg_parm_int(lp_ctx, NULL, "server_info", "version_build", 3790);
-
- return ret;
-}
-