/* $OpenLDAP$ */1/* This work is part of OpenLDAP Software <http://www.openldap.org/>.2*3* Copyright 1998-2024 The OpenLDAP Foundation.4* All rights reserved.5*6* Redistribution and use in source and binary forms, with or without7* modification, are permitted only as authorized by the OpenLDAP8* Public License.9*10* A copy of this license is available in file LICENSE in the11* top-level directory of the distribution or, alternatively, at12* <http://www.OpenLDAP.org/license.html>.13*/14/* Portions Copyright (c) 1994 Regents of the University of Michigan.15* All rights reserved.16*17* Redistribution and use in source and binary forms are permitted18* provided that this notice is preserved and that due credit is given19* to the University of Michigan at Ann Arbor. The name of the University20* may not be used to endorse or promote products derived from this21* software without specific prior written permission. This software22* is provided ``as is'' without express or implied warranty.23*/2425/*26* This file controls defaults for OpenLDAP package.27* You probably do not need to edit the defaults provided by this file.28*/2930#ifndef _LDAP_DEFAULTS_H31#define _LDAP_DEFAULTS_H323334#include <ldap_config.h>3536#define LDAP_CONF_FILE LDAP_SYSCONFDIR LDAP_DIRSEP "ldap.conf"37#define LDAP_USERRC_FILE "ldaprc"38#define LDAP_ENV_PREFIX "LDAP"3940/* default ldapi:// socket */41#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"4243/*44* SLAPD DEFINITIONS45*/46/* location of the default slapd config file */47#define SLAPD_DEFAULT_CONFIGFILE LDAP_SYSCONFDIR LDAP_DIRSEP "slapd.conf"48#define SLAPD_DEFAULT_CONFIGDIR LDAP_SYSCONFDIR LDAP_DIRSEP "slapd.d"49#define SLAPD_DEFAULT_DB_DIR LDAP_RUNDIR LDAP_DIRSEP "openldap-data"50#define SLAPD_DEFAULT_DB_MODE 060051#define SLAPD_DEFAULT_UCDATA LDAP_DATADIR LDAP_DIRSEP "ucdata"52/* default max deref depth for aliases */53#define SLAPD_DEFAULT_MAXDEREFDEPTH 1554/* default sizelimit on number of entries from a search */55#define SLAPD_DEFAULT_SIZELIMIT 50056/* default timelimit to spend on a search */57#define SLAPD_DEFAULT_TIMELIMIT 36005859/* the following DNs must be normalized! */60/* dn of the default subschema subentry */61#define SLAPD_SCHEMA_DN "cn=Subschema"62/* dn of the default "monitor" subentry */63#define SLAPD_MONITOR_DN "cn=Monitor"6465/*66* LLOADD DEFINITIONS67*/68#define LLOADD_DEFAULT_CONFIGFILE LDAP_SYSCONFDIR LDAP_DIRSEP "lloadd.conf"6970#endif /* _LDAP_CONFIG_H */717273