Pdb modules are in $libdir/pdb not $libdir/passdb
authorJelmer Vernooij <jelmer@samba.org>
Mon, 21 Apr 2003 00:38:39 +0000 (00:38 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 21 Apr 2003 00:38:39 +0000 (00:38 +0000)
(This used to be commit 9c9d969c93400d91a12e78635d54e1c5f90efab8)

source3/passdb/pdb_interface.c

index 8adcd9dbfa6669e8b6d22892c540ab12d4e0c707..337b563c54b945f6a707558c61ad2196d304a795 100644 (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;