summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/param/loadparm.c5
-rw-r--r--source3/utils/pdbedit.c2
3 files changed, 1 insertions, 7 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index c6fd474978..6d901a07dc 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1667,7 +1667,6 @@ enum brl_flavour lp_posix_cifsu_locktype(files_struct *fsp);
void lp_set_posix_default_cifsx_readwrite_locktype(enum brl_flavour val);
int lp_min_receive_file_size(void);
char* lp_perfcount_module(void);
-void lp_set_passdb_backend(const char *backend);
void widelinks_warning(int snum);
const char *lp_ncalrpc_dir(void);
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 8bbc629162..4f8dd425d9 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -9594,11 +9594,6 @@ const char *lp_socket_address(void)
return Globals.szSocketAddress;
}
-void lp_set_passdb_backend(const char *backend)
-{
- string_set(&Globals.szPassdbBackend, backend);
-}
-
/*******************************************************************
Safe wide links checks.
This helper function always verify the validity of wide links,
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index cea3e3b295..dc126594db 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -1117,7 +1117,7 @@ int main (int argc, char **argv)
/* HACK: set the global passdb backend by overwriting globals.
* This way we can use regular pdb functions for default
* operations that do not involve passdb migrations */
- lp_set_passdb_backend(backend);
+ lp_set_cmdline("passdb backend", backend);
} else {
backend = lp_passdb_backend();
}