--- include/ldap_defaults.h 1999/06/17 01:54:27 1.1 +++ include/ldap_defaults.h 2000/07/04 17:58:48 1.1.8.4 @@ -1,5 +1,6 @@ +/* $OpenLDAP: pkg/ldap/include/ldap_defaults.h,v 1.1.8.3 2000/06/17 16:16:56 kurt Exp $ */ /* - * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA + * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA * All rights reserved. * * Redistribution and use in source and binary forms are permitted only @@ -21,7 +22,7 @@ /* * This file controls defaults for OpenLDAP package. - * You should not change any of these settings. + * You probably do not need to edit the defaults provided by this file. */ #ifndef _LDAP_DEFAULTS_H @@ -34,12 +35,11 @@ #define LDAP_USERRC_FILE "ldaprc" #define LDAP_ENV_PREFIX "LDAP" +/* default ldapi:// socket */ +#define LDAPI_SOCK LDAP_TMPDIR LDAP_DIRSEP ".ldapi_sock" -/********************************************************************* - * * - * You probably do not need to edit anything below this point * - * * - *********************************************************************/ +/* default file: URI prefix */ +#define LDAP_FILE_URI_PREFIX "file://" LDAP_TMPDIR LDAP_DIRSEP /* * SHARED DEFINITIONS - other things you can change @@ -207,14 +207,16 @@ Please try again later.\r\n" /* default timelimit to spend on a search */ #define SLAPD_DEFAULT_TIMELIMIT 3600 /* minimum max ids that a single index entry can map to in ldbm */ -#define SLAPD_LDBM_MIN_MAXIDS 4000 +#define SLAPD_LDBM_MIN_MAXIDS (8192-4) -/* the following DNs must be normalized and in uppercase! */ - /* dn of the special "monitor" entry */ -#define SLAPD_MONITOR_DN "CN=MONITOR" - /* dn of the special "config" entry */ -#define SLAPD_CONFIG_DN "CN=CONFIG" - /* dn of the special "schema" entry */ -#define SLAPD_SCHEMA_DN "CN=SCHEMA" +/* the following DNs must be normalized! */ + /* dn of the default subschema subentry */ +#define SLAPD_SCHEMA_DN "cn=Subschema" +#if 0 + /* dn of the default "monitor" subentry */ +#define SLAPD_MONITOR_DN "cn=Monitor" + /* dn of the default "config" subentry */ +#define SLAPD_CONFIG_DN "cn=Config" +#endif #endif /* _LDAP_CONFIG_H */