svn commit: samba r22750 - in
branches/SAMBA_4_0/source/lib/ldb/common: .
jelmer at samba.org
jelmer at samba.org
Mon May 7 15:29:26 GMT 2007
Author: jelmer
Date: 2007-05-07 15:29:25 +0000 (Mon, 07 May 2007)
New Revision: 22750
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22750
Log:
dlopen() is always available now (and returns a correct error if not supported by the system), thanks to libreplace.
Modified:
branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c 2007-05-07 15:27:50 UTC (rev 22749)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c 2007-05-07 15:29:25 UTC (rev 22750)
@@ -208,7 +208,6 @@
int (*init_fn) (void);
char *modulesdir;
-#ifdef HAVE_DLOPEN
if (getenv("LD_LDB_MODULE_PATH") != NULL) {
modulesdir = talloc_strdup(ldb, getenv("LD_LDB_MODULE_PATH"));
} else {
@@ -241,10 +240,6 @@
talloc_free(path);
return init_fn();
-#else
- ldb_debug(ldb, LDB_DEBUG_TRACE, "no dlopen() - not trying to load %s module\n", name);
- return -1;
-#endif
}
int ldb_load_modules_list(struct ldb_context *ldb, const char **module_list, struct ldb_module *backend, struct ldb_module **out)
More information about the samba-cvs
mailing list