From 794d3ed03619a4e41558d9ff65783a1aa1b2be90 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 30 Mar 2003 12:42:18 +0000 Subject: - Point users at the HOWTO Collection instead of 'README' in modules/mysql.c - Make passdb work with absolute paths (passdb backend = /path/to/smbpasswd.so works now). vfs, rpc and charset will follow --- source/passdb/pdb_interface.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/passdb/pdb_interface.c') diff --git a/source/passdb/pdb_interface.c b/source/passdb/pdb_interface.c index 4d9ec7beea6..95f587b0769 100644 --- a/source/passdb/pdb_interface.c +++ b/source/passdb/pdb_interface.c @@ -64,9 +64,12 @@ BOOL smb_register_passdb(const char *name, pdb_init_function init, int version) struct pdb_init_function_entry *pdb_find_backend_entry(const char *name) { struct pdb_init_function_entry *entry = backends; + pstring stripped; + + module_path_get_name(name, stripped); while(entry) { - if (strequal(entry->name, name)) return entry; + if (strequal(entry->name, stripped)) return entry; entry = entry->next; } -- cgit