s3-param Remove lp_set_passdb_backend()
authorAndrew Bartlett <abartlet@samba.org>
Thu, 7 Jul 2011 03:45:13 +0000 (13:45 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 8 Jul 2011 09:23:23 +0000 (11:23 +0200)
source3/include/proto.h
source3/param/loadparm.c
source3/utils/pdbedit.c

index c6fd47497825edb65fe293fdb5e4b3ce7b6b3769..6d901a07dce1f4bad1551e9016b85be6c6228973 100644 (file)
@@ -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);
 
index 8bbc629162365c6d2536788029443e85bdd6e6cc..4f8dd425d96553e0a7887e9c33c2b3a1785c55f0 100644 (file)
@@ -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,
index cea3e3b2950b98283219c405fb62ae391e7d0ac7..dc126594dbc19bb041ff9fb9e5150d4e9a3689e7 100644 (file)
@@ -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();
        }