[Fedora-directory-commits] ldapserver/ldap/admin/src create_instance.c, 1.51, 1.52

Noriko Hosoi (nhosoi) fedora-directory-commits at redhat.com
Fri Mar 30 18:12:32 UTC 2007


Author: nhosoi

Update of /cvs/dirsec/ldapserver/ldap/admin/src
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1819

Modified Files:
	create_instance.c 
Log Message:
Resolves: #233215
Summary: verify-db.pl still assumes the db dir is always in the instance dir (Comment #8)
Description: Introduced "DB-DIR" macro



Index: create_instance.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/create_instance.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- create_instance.c	17 Mar 2007 00:07:09 -0000	1.51
+++ create_instance.c	30 Mar 2007 18:12:30 -0000	1.52
@@ -702,7 +702,7 @@
 {
     char myperl[PATH_SIZE];
     char fn[PATH_SIZE], ofn[PATH_SIZE];
-    const char *table[17][2];
+    const char *table[18][2];
 
     if (PR_FAILURE == PR_Access(cs_path, PR_ACCESS_EXISTS)) {
         printf("Notice: %s does not exist, skipping %s . . .\n", cs_path, name);
@@ -760,7 +760,9 @@
     table[14][1] = PRODUCT_NAME;
     table[15][0] = "SERVERBIN-DIR";
     table[15][1] = cf->sbindir;
-    table[16][0] = table[16][1] = NULL;
+    table[16][0] = "DB-DIR";
+    table[16][1] = cf->db_dir;
+    table[17][0] = table[17][1] = NULL;
 
     if (generate_script(ofn, fn, NEWSCRIPT_MODE, table) != 0) {
         return make_error("Could not write %s to %s (%s).", ofn, fn,




More information about the Fedora-directory-commits mailing list