Browse Source

Resolves: #245407
Summary: Add config attributes to cn=config to support Console (comment #1)
Description: Console needs to know the default paths for ldif_dir and bak_dir.
Adding the paths to cn=config.

Noriko Hosoi 18 years ago
parent
commit
90b55f89ec
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ldap/admin/src/create_instance.c

+ 2 - 0
ldap/admin/src/create_instance.c

@@ -2688,6 +2688,8 @@ char *ds_gen_confs(char *sroot, server_config_s *cf, char *cs_path)
     fprintf(f, "nsslapd-lockdir: %s\n", cf->lock_dir);
     fprintf(f, "nsslapd-tmpdir: %s\n", cf->tmp_dir);
     fprintf(f, "nsslapd-certdir: %s\n", cf->cert_dir);
+    fprintf(f, "nsslapd-ldifdir: %s\n", cf->ldif_dir);
+    fprintf(f, "nsslapd-bakdir: %s\n", cf->bak_dir);
 /* We use the system SASL by default on Linux, so we don't need to set sasl path */
     if (NULL != cf->sasl_path) {
         fprintf(f, "nsslapd-saslpath: %s\n", cf->sasl_path);