summaryrefslogtreecommitdiffstats
path: root/source3/passdb/pdb_plugin.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-27 03:00:39 +0000
committerJeremy Allison <jra@samba.org>2002-03-27 03:00:39 +0000
commit7d7c594644d9b374e522f208b1f0bd5ab8abb9ab (patch)
treec197c1ed507014055f027cf0ace873e11ac3caca /source3/passdb/pdb_plugin.c
parent1a06eeb6dae9b148a6e70470660e51a42def2399 (diff)
downloadsamba-7d7c594644d9b374e522f208b1f0bd5ab8abb9ab.tar.gz
samba-7d7c594644d9b374e522f208b1f0bd5ab8abb9ab.tar.xz
samba-7d7c594644d9b374e522f208b1f0bd5ab8abb9ab.zip
Removed HAVE_LIBDL from most places (except system.c). Added checks for
dlopen & friends into configure.in. This should help building on *BSD where dl*** calls are in libc. Jeremy (This used to be commit ac1baba35d7a399bf800ced49a4384e39955e3eb)
Diffstat (limited to 'source3/passdb/pdb_plugin.c')
-rw-r--r--source3/passdb/pdb_plugin.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/passdb/pdb_plugin.c b/source3/passdb/pdb_plugin.c
index 95fa9078ae9..1de61abd5f1 100644
--- a/source3/passdb/pdb_plugin.c
+++ b/source3/passdb/pdb_plugin.c
@@ -21,8 +21,6 @@
#include "includes.h"
-#ifdef HAVE_LIBDL
-
NTSTATUS pdb_init_plugin(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, const char *location)
{
void * dl_handle;
@@ -59,13 +57,3 @@ NTSTATUS pdb_init_plugin(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, con
DEBUG(5, ("Starting sam plugin %s with location %s\n", plugin_name, plugin_location));
return plugin_init(pdb_context, pdb_method, plugin_location);
}
-
-#else
-
-NTSTATUS pdb_init_plugin(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, const char *location)
-{
- DEBUG(0, ("pdb_init_plugin: No libdl present - cannot use passdb loadable modules\n"));
- return NT_STATUS_UNSUCCESSFUL;
-}
-
-#endif