summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-05-10 11:49:51 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-05-10 11:49:51 +0000
commit0914e541f5480834c1b0ddc98b5f71f7f7abf9cb (patch)
tree76f6eb086ab73689d272d398077dd3cb6b486cd4 /source3/passdb
parentc507ebe56741d773bf6e7ad547863a2da1aee687 (diff)
downloadsamba-0914e541f5480834c1b0ddc98b5f71f7f7abf9cb.tar.gz
samba-0914e541f5480834c1b0ddc98b5f71f7f7abf9cb.tar.bz2
samba-0914e541f5480834c1b0ddc98b5f71f7f7abf9cb.zip
Reverse previous patch from Stefan and me after comments by Andrew Bartlett
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_interface.c4
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;
}
}