summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-24 19:12:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:44 -0500
commitac2b7c0d93eb30e026c56b01a4a7a470ed3d77e7 (patch)
tree47bbc6e1e7740f8f00d43a10f359a06ac4811dcd /source3
parente4878351816d7196efab22b68672430fb61e7b47 (diff)
downloadsamba-ac2b7c0d93eb30e026c56b01a4a7a470ed3d77e7.tar.gz
samba-ac2b7c0d93eb30e026c56b01a4a7a470ed3d77e7.tar.bz2
samba-ac2b7c0d93eb30e026c56b01a4a7a470ed3d77e7.zip
r14696: make pdb_find_backend_entry public (for use by an external "multi" pdb backend)
(This used to be commit c149421ef7aca8763e21e6c7d467e94944c30e8b)
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_interface.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index 5fdc8ac819..bd58dba702 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -40,7 +40,6 @@ static void lazy_initialize_passdb(void)
initialized = True;
}
-static struct pdb_init_function_entry *pdb_find_backend_entry(const char *name);
static BOOL lookup_global_sam_rid(TALLOC_CTX *mem_ctx, uint32 rid,
const char **name,
enum SID_NAME_USE *psid_name_use,
@@ -116,7 +115,7 @@ NTSTATUS smb_register_passdb(int version, const char *name, pdb_init_function in
return NT_STATUS_OK;
}
-static struct pdb_init_function_entry *pdb_find_backend_entry(const char *name)
+struct pdb_init_function_entry *pdb_find_backend_entry(const char *name)
{
struct pdb_init_function_entry *entry = backends;
@@ -1314,7 +1313,6 @@ static NTSTATUS pdb_default_getsampwsid(struct pdb_methods *my_methods, struct s
static NTSTATUS pdb_default_add_sam_account (struct pdb_methods *methods, struct samu *newpwd)
{
- DEBUG(0,("this backend (%s) should not be listed as the first passdb backend! You can't add users to it.\n", methods->name));
return NT_STATUS_NOT_IMPLEMENTED;
}