From: Kurt Zeilenga Date: Wed, 3 May 2000 19:01:29 +0000 (+0000) Subject: move default "directory" X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3046 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dcc943e5285a561b59c0c1a25a52a0f6a1694bd1;p=openldap move default "directory" --- 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