1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Pdb modules are in $libdir/pdb not $libdir/passdb

This commit is contained in:
Jelmer Vernooij 0001-01-01 00:00:00 +00:00
parent 8c70f657cf
commit 9c9d969c93

View File

@ -431,7 +431,7 @@ 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(smb_probe_module("passdb", module_name) && !(entry = pdb_find_backend_entry(module_name))) {
if(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;