diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-03-30 12:42:18 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-03-30 12:42:18 +0000 |
commit | 794d3ed03619a4e41558d9ff65783a1aa1b2be90 (patch) | |
tree | 8f8c8f87dc5327dedbbbb3c6eb78a5f6a77f2994 /source/passdb | |
parent | 57407401d0f261d4b8e42fdc64479afef10211c3 (diff) | |
download | samba-794d3ed03619a4e41558d9ff65783a1aa1b2be90.tar.gz samba-794d3ed03619a4e41558d9ff65783a1aa1b2be90.tar.xz samba-794d3ed03619a4e41558d9ff65783a1aa1b2be90.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
Diffstat (limited to 'source/passdb')
-rw-r--r-- | source/passdb/pdb_interface.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |