svn commit: samba r7677 - in branches/SAMBA_4_0/source/ldap_server: .

tridge at samba.org tridge at samba.org
Fri Jun 17 07:03:32 GMT 2005


Author: tridge
Date: 2005-06-17 07:03:32 +0000 (Fri, 17 Jun 2005)
New Revision: 7677

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

Log:
fixed ldap server to honor 'private path'


Modified:
   branches/SAMBA_4_0/source/ldap_server/ldap_rootdse.c


Changeset:
Modified: branches/SAMBA_4_0/source/ldap_server/ldap_rootdse.c
===================================================================
--- branches/SAMBA_4_0/source/ldap_server/ldap_rootdse.c	2005-06-17 06:36:13 UTC (rev 7676)
+++ branches/SAMBA_4_0/source/ldap_server/ldap_rootdse.c	2005-06-17 07:03:32 UTC (rev 7677)
@@ -92,7 +92,7 @@
 
 	ctx->static_ptr = &ctx;
 
-	db_path = talloc_asprintf(ctx, "tdb://%s/rootdse.ldb", dyn_PRIVATE_DIR);
+	db_path = talloc_asprintf(ctx, "tdb://%s", private_path(ctx, "rootdse.ldb"));
 	if (db_path == NULL) {
 		errno = ENOMEM;
 		return NULL;



More information about the samba-cvs mailing list