From: Kurt Zeilenga Date: Sat, 2 Feb 2002 06:26:06 +0000 (+0000) Subject: switch to openldap-data directory X-Git-Tag: OPENLDAP_REL_ENG_2_1_BP~97 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6b29def1c84c6f086a690ff6bff888f892f88968;p=openldap switch to openldap-data directory --- diff --git a/servers/slapd/back-bdb/back-bdb.h b/servers/slapd/back-bdb/back-bdb.h index 8a8417a327..d558422590 100644 --- a/servers/slapd/back-bdb/back-bdb.h +++ b/servers/slapd/back-bdb/back-bdb.h @@ -28,16 +28,8 @@ LDAP_BEGIN_DECL #define bv2DBT(bv,t) ((t)->data = (bv)->bv_val, \ (t)->size = (bv)->bv_len ) -#define DEFAULT_MODE 0600 - #define BDB_TXN_RETRIES 16 -#ifdef BDB_HIER -#define BDB_DBENV_HOME LDAP_RUNDIR LDAP_DIRSEP "openldap-hdb" -#else -#define BDB_DBENV_HOME LDAP_RUNDIR LDAP_DIRSEP "openldap-bdb" -#endif - #ifdef BDB_SUBDIRS #define BDB_TMP_SUBDIR LDAP_DIRSEP "tmp" #define BDB_LG_SUBDIR LDAP_DIRSEP "log" diff --git a/servers/slapd/back-ldbm/back-ldbm.h b/servers/slapd/back-ldbm/back-ldbm.h index c74d84c408..16f5ed28a1 100644 --- a/servers/slapd/back-ldbm/back-ldbm.h +++ b/servers/slapd/back-ldbm/back-ldbm.h @@ -20,9 +20,6 @@ LDAP_BEGIN_DECL # define DEFAULT_DBCACHE_SIZE 100000 #endif -#define DEFAULT_DB_DIRECTORY LDAP_RUNDIR LDAP_DIRSEP "openldap-ldbm" -#define DEFAULT_MODE 0600 - #define DN_BASE_PREFIX SLAP_INDEX_EQUALITY_PREFIX #define DN_ONE_PREFIX '%' #define DN_SUBTREE_PREFIX '@'