diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-05-10 10:56:20 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-05-10 10:56:20 +0000 |
commit | ec40d70b3b6f3032c86bfa4a80066572e0f0eaa7 (patch) | |
tree | eebbb52b3b9cefbe6a431f9c1619b0fd8dc69038 /source3/passdb | |
parent | e2641c592662b42b6b1eb4170d95becff190446d (diff) | |
download | samba-ec40d70b3b6f3032c86bfa4a80066572e0f0eaa7.tar.gz samba-ec40d70b3b6f3032c86bfa4a80066572e0f0eaa7.tar.bz2 samba-ec40d70b3b6f3032c86bfa4a80066572e0f0eaa7.zip |
Patch from metze and me that adds dummy smb_register_*() functions
(This used to be commit 367a5cad1edf6a49783806d5a8b59a62d8856706)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c index 7b44df193f..dc2b43d204 100644 --- a/source3/passdb/pdb_interface.c +++ b/source3/passdb/pdb_interface.c @@ -436,10 +436,10 @@ static NTSTATUS make_pdb_methods_name(struct pdb_methods **methods, struct pdb_c /* Try to find a module that contains this module */ if (!entry) { DEBUG(2,("No builtin backend found, trying to load plugin\n")); - if(NT_STATUS_IS_OK(smb_probe_module("pdb", module_name)) && !(entry = pdb_find_backend_entry(module_name))) { + if(NT_STATUS_IS_OK(nt_status = smb_probe_module("pdb", module_name)) && !(entry = pdb_find_backend_entry(module_name))) { DEBUG(0,("Plugin is available, but doesn't register passdb backend %s\n", module_name)); SAFE_FREE(module_name); - return NT_STATUS_UNSUCCESSFUL; + return nt_status; } } |