summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-14 13:43:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:40:47 -0500
commit0c29f6d56da1ce9b01a54be6a8d3a48cf6b2e27f (patch)
treefa5137755d4e6247c8b3e0abad608ab4b896f1cc
parent1687e73abe84104ea0a3d396878ad30051963b1b (diff)
downloadsamba-0c29f6d56da1ce9b01a54be6a8d3a48cf6b2e27f.tar.gz
samba-0c29f6d56da1ce9b01a54be6a8d3a48cf6b2e27f.tar.bz2
samba-0c29f6d56da1ce9b01a54be6a8d3a48cf6b2e27f.zip
r20761: let ldb modules call ldb_set_default_dns()
metze (This used to be commit 224a31cdbf12a555b8c46786c9f83fec8e839c5a)
-rw-r--r--source4/lib/ldb/common/ldb.c2
-rw-r--r--source4/lib/ldb/include/ldb_private.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index af89748236..268756dc93 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -153,7 +153,7 @@ int ldb_connect_backend(struct ldb_context *ldb, const char *url, const char *op
pet hates about ldapsearch, which is that you have to get a long,
complex basedn right to make any use of it.
*/
-static void ldb_set_default_dns(struct ldb_context *ldb)
+void ldb_set_default_dns(struct ldb_context *ldb)
{
TALLOC_CTX *tmp_ctx;
int ret;
diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h
index 81993efaef..3c6fb828a2 100644
--- a/source4/lib/ldb/include/ldb_private.h
+++ b/source4/lib/ldb/include/ldb_private.h
@@ -136,6 +136,7 @@ struct ldb_context {
int ldb_connect_backend(struct ldb_context *ldb, const char *url, const char *options[],
struct ldb_module **backend_module);
+void ldb_set_default_dns(struct ldb_context *ldb);
/* The following definitions come from lib/ldb/common/ldb_modules.c */