diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-05-10 11:47:29 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-05-10 11:47:29 +0000 |
commit | 7ed8b615b9f2caadc6cd8292b356b2daf25c5513 (patch) | |
tree | 2df48615abe219fc9c584af139bd9bbb94b2bf6d /source3/passdb | |
parent | ec40d70b3b6f3032c86bfa4a80066572e0f0eaa7 (diff) | |
download | samba-7ed8b615b9f2caadc6cd8292b356b2daf25c5513.tar.gz samba-7ed8b615b9f2caadc6cd8292b356b2daf25c5513.tar.bz2 samba-7ed8b615b9f2caadc6cd8292b356b2daf25c5513.zip |
Reverse previous patch from Stefan and me after comments by Andrew Bartlett.
(This used to be commit d31509fe88da8727521586dced1da2c73bfee2bc)
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 dc2b43d204..7b44df193f 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(nt_status = smb_probe_module("pdb", module_name)) && !(entry = pdb_find_backend_entry(module_name))) { + if(NT_STATUS_IS_OK(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; + return NT_STATUS_UNSUCCESSFUL; } } |