From 527aaf6def6b53c0e01fc5d8369b06be4237fca0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 22 Feb 2002 02:47:53 +0000 Subject: Add the pdb_plugin module from Jelmer Vernooij . This allow the user to select 'passdb backend = plugin : /path/to/plugin.so : pluging args' And load any arbitary plugin. Apparently Jelmer has a mysql plugin in the works - hence this patch. We probably need to rework the interface a bit before 3.0 (add versioning of some kind) but this is a good start. Andrew Bartlett (This used to be commit d6d18b70f0c377344b0b3d9df5a11d209793bfe0) --- source3/include/passdb.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source3/include/passdb.h') diff --git a/source3/include/passdb.h b/source3/include/passdb.h index dfcbd46ecf..f17b043fb2 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -82,8 +82,11 @@ typedef struct pdb_methods } PDB_METHODS; +typedef NTSTATUS (*pdb_init_function)(struct pdb_context *, + struct pdb_methods **, + const char *); -struct pdb_init_function { +struct pdb_init_function_entry { char *name; /* Function to create a member of the authmethods list */ NTSTATUS (*init)(struct pdb_context *pdb_context, -- cgit