From: Kurt Zeilenga Date: Sat, 2 Feb 2002 06:18:11 +0000 (+0000) Subject: Add a default db directory for all backends X-Git-Tag: OPENLDAP_REL_ENG_2_1_BP~102 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9eb661795117b910c7fe9e0e5b12eae91c230f64;p=openldap Add a default db directory for all backends --- diff --git a/include/ldap_defaults.h b/include/ldap_defaults.h index d4d1198b17..c0f6b53899 100644 --- a/include/ldap_defaults.h +++ b/include/ldap_defaults.h @@ -116,6 +116,8 @@ Please try again later.\r\n" */ /* location of the default slapd config file */ #define SLAPD_DEFAULT_CONFIGFILE LDAP_SYSCONFDIR LDAP_DIRSEP "slapd.conf" +#define SLAPD_DEFAULT_DB_DIR LDAP_DATADIR LDAP_DIRSEP "openldap-data" +#define SLAPD_DEFAULT_DB_MODE 0600 #define SLAPD_DEFAULT_UCDATA LDAP_DATADIR LDAP_DIRSEP "ucdata" /* default max deref depth for aliases */ #define SLAPD_DEFAULT_MAXDEREFDEPTH 15