summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-30 12:42:18 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-30 12:42:18 +0000
commit7ea0ef92cbd49db6d7ae0d1e72b8f4f1f1fb7e7c (patch)
treeaacbc2f53acbcb8068d9dac1c4baa5b3443efb1a /source3/passdb
parent01f0236f58775e2bf60250caf2b9740bd9f988ea (diff)
downloadsamba-7ea0ef92cbd49db6d7ae0d1e72b8f4f1f1fb7e7c.tar.gz
samba-7ea0ef92cbd49db6d7ae0d1e72b8f4f1f1fb7e7c.tar.bz2
samba-7ea0ef92cbd49db6d7ae0d1e72b8f4f1f1fb7e7c.zip
- 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 (This used to be commit 794d3ed03619a4e41558d9ff65783a1aa1b2be90)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_interface.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index 4d9ec7beea..95f587b076 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/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;
}