From 7d7c594644d9b374e522f208b1f0bd5ab8abb9ab Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 27 Mar 2002 03:00:39 +0000 Subject: 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) --- source3/passdb/pdb_plugin.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source3/passdb') diff --git a/source3/passdb/pdb_plugin.c b/source3/passdb/pdb_plugin.c index 95fa9078ae..1de61abd5f 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 -- cgit