/* 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! */
+ /* 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"
/* dn of the special "config" entry */
#define SLAPD_CONFIG_DN "cn=Config"
- /* dn of the special "schema" entry */
-#define SLAPD_SCHEMA_DN "cn=Schema"
+#endif
#endif /* _LDAP_CONFIG_H */