+/* $OpenLDAP$ */
/*
- * 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
/*
* 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
#define LDAP_ENV_PREFIX "LDAP"
-/*********************************************************************
- * *
- * You probably do not need to edit anything below this point *
- * *
- *********************************************************************/
-
/*
* SHARED DEFINITIONS - other things you can change
*/
/* 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! */
+/* the following DNs must be normalized! */
+ /* dn of the special "schema" entry */
+#define SLAPD_SCHEMA_DN "cn=Schema"
+#ifndef SLAPD_SCHEMA_NOT_COMPAT
/* dn of the special "monitor" entry */
-#define SLAPD_MONITOR_DN "CN=MONITOR"
+#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"
+#define SLAPD_CONFIG_DN "cn=Config"
+#endif
#endif /* _LDAP_CONFIG_H */