git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fe9a32
)
r22750: dlopen() is always available now (and returns a correct error if not supporte...
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 7 May 2007 15:29:25 +0000
(15:29 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:52:09 +0000
(14:52 -0500)
(This used to be commit
1152a4f56d7402bf3aa00b5b108c5c6c668cec6b
)
source4/lib/ldb/common/ldb_modules.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/common/ldb_modules.c
b/source4/lib/ldb/common/ldb_modules.c
index dc49d8d12b26553fe3dda4b2a6440bce226098c9..e4b666c454560615ee9a7691f24f0f8e22a7ba70 100644
(file)
--- a/
source4/lib/ldb/common/ldb_modules.c
+++ b/
source4/lib/ldb/common/ldb_modules.c
@@
-208,7
+208,6
@@
int ldb_try_load_dso(struct ldb_context *ldb, const char *name)
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
@@
int ldb_try_load_dso(struct ldb_context *ldb, const char *name)
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)