From dcc943e5285a561b59c0c1a25a52a0f6a1694bd1 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 3 May 2000 19:01:29 +0000 Subject: [PATCH] move default "directory" --- servers/slapd/back-bdb2/back-bdb2.h | 4 ++-- servers/slapd/back-ldbm/back-ldbm.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/back-bdb2/back-bdb2.h b/servers/slapd/back-bdb2/back-bdb2.h index 082052d2ff..b05e1c2eb4 100644 --- a/servers/slapd/back-bdb2/back-bdb2.h +++ b/servers/slapd/back-bdb2/back-bdb2.h @@ -15,8 +15,8 @@ LDAP_BEGIN_DECL which is suggested by Sleepycat */ #define DEFAULT_DBCACHE_SIZE (128 * DEFAULT_DB_PAGE_SIZE) -#define DEFAULT_DB_DIRECTORY "/usr/tmp" -#define DEFAULT_DB_HOME "/usr/tmp" +#define DEFAULT_DB_DIRECTORY LDAP_RUNDIR LDAP_DIRSEP "openldap-bdb2" +#define DEFAULT_DB_HOME DEFAULT_DB_DIRECTORY #define DEFAULT_MODE 0600 #define SUBLEN 3 diff --git a/servers/slapd/back-ldbm/back-ldbm.h b/servers/slapd/back-ldbm/back-ldbm.h index 2692137d4c..b73c187f95 100644 --- a/servers/slapd/back-ldbm/back-ldbm.h +++ b/servers/slapd/back-ldbm/back-ldbm.h @@ -20,7 +20,7 @@ LDAP_BEGIN_DECL # define DEFAULT_DBCACHE_SIZE 100000 #endif -#define DEFAULT_DB_DIRECTORY "/usr/tmp" +#define DEFAULT_DB_DIRECTORY LDAP_RUNDIR LDAP_DIRSEP "openldap-ldbm" #define DEFAULT_MODE 0600 #define SUBLEN 3 -- 2.39.5