summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-07 13:45:13 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-08 11:23:23 +0200
commitfad3c763f723fad05551787200c95ecfe0e056bc (patch)
tree28a63059f8f864f63795cd226ef6abe97205b931
parent76c73dbb2271c397ec4e13ebcc3928914c7cf93a (diff)
downloadsamba-fad3c763f723fad05551787200c95ecfe0e056bc.tar.gz
samba-fad3c763f723fad05551787200c95ecfe0e056bc.tar.bz2
samba-fad3c763f723fad05551787200c95ecfe0e056bc.zip
s3-param Remove lp_set_passdb_backend()
-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();
}