svn commit: samba r20761 - in branches/SAMBA_4_0/source/lib/ldb: common include

metze at samba.org metze at samba.org
Sun Jan 14 13:43:09 GMT 2007


Author: metze
Date: 2007-01-14 13:43:09 +0000 (Sun, 14 Jan 2007)
New Revision: 20761

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20761

Log:
let ldb modules call ldb_set_default_dns()

metze
Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb.c
   branches/SAMBA_4_0/source/lib/ldb/include/ldb_private.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb.c	2007-01-14 13:40:53 UTC (rev 20760)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb.c	2007-01-14 13:43:09 UTC (rev 20761)
@@ -153,7 +153,7 @@
   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;

Modified: branches/SAMBA_4_0/source/lib/ldb/include/ldb_private.h
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/include/ldb_private.h	2007-01-14 13:40:53 UTC (rev 20760)
+++ branches/SAMBA_4_0/source/lib/ldb/include/ldb_private.h	2007-01-14 13:43:09 UTC (rev 20761)
@@ -136,6 +136,7 @@
 
 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  */
 



More information about the samba-cvs mailing list