]> git.sur5r.net Git - openldap/blobdiff - include/ldapconfig.h.nt
Update configure to:
[openldap] / include / ldapconfig.h.nt
index 5bf708c74550fa0bfde3e97cb512b149d5c1180c..4590031ed0e198f598935a82fe46488ae461c79f 100644 (file)
@@ -1,4 +1,13 @@
 /*
+ * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted only
+ * as authorized by the OpenLDAP Public License.  A copy of this
+ * license is available at http://www.OpenLDAP.org/license.html or
+ * in file LICENSE in the top-level directory of the distribution.
+ */
+/* Portions
  * Copyright (c) 1994 Regents of the University of Michigan.
  * All rights reserved.
  *
 /*
  * config.h for LDAP -- edit this file to customize LDAP client behavior.
  * NO platform-specific definitions should be placed in this file.
- * Note that this is NOT used by the LDAP or LBER libraries.
+ * Note that this IS USED by the LDAP or LBER libraries.
  */
 
 /*
  * SHARED DEFINITIONS - things you should change
  */
+#define DEFAULT_DIRSEP         "\\"
 #define DEFAULT_BINDIR         "C:\\OpenLDAP\\bin"
 #define DEFAULT_SBINDIR                "C:\\OpenLDAP\\sbin"
-#define DEFAULT_ETCDIR         "C:\\OpenLDAP\\etc"
+#define DEFAULT_DATADIR                "C:\\OpenLDAP\\share"
+#define DEFAULT_SYSCONFDIR     "C:\\OpenLDAP\\etc"
 #define DEFAULT_LIBEXECDIR     "C:\\OpenLDAP\\execdir"
+#define DEFAULT_RUNDIR         "C:\\OpenLDAP\\run"
 
-#define DEFAULT_LDAP_CONF_FILE "c:\\OpenLDAP\\ldap.conf"
+#define DEFAULT_LDAP_CONF_FILE "C:\\OpenLDAP\\ldap.conf"
 #define DEFAULT_LDAP_USERRC_FILE "ldaprc"
 #define DEFAULT_LDAP_ENV_PREFIX "LDAP"
 
        /* default count of DN components to show in entry displays */
 #define DEFAULT_RDNCOUNT       2
        /* default config file locations */
-#define FILTERFILE     "C:\\OpenLDAP\\etc\\ldapfilter.conf"
+#define FILTERFILE             "C:\\OpenLDAP\\etc\\ldapfilter.conf"
 #define TEMPLATEFILE   "C:\\OpenLDAP\\etc\\ldaptemplates.conf"
-#define SEARCHFILE     "C:\\OpenLDAP\\etc\\ldapsearchprefs.conf"
-#define FRIENDLYFILE   "C:\\OpenLDAP\\etc\\ldapfriendly"
+#define SEARCHFILE             "C:\\OpenLDAP\\etc\\ldapsearchprefs.conf"
+#define FRIENDLYFILE   "C:\\OpenLDAP\\share\\ldapfriendly"
 
 /*
  * FINGER DEFINITIONS
@@ -110,7 +122,7 @@ Please try again later.\r\n"
  * GO500GW GOPHER GATEWAY DEFINITIONS
  */
        /* where the helpfile lives */
-#define GO500GW_HELPFILE       "C:\\OpenLDAP\\etc\\go500gw.help"
+#define GO500GW_HELPFILE       "C:\\OpenLDAP\\share\\go500gw.help"
        /* port on which to listen */
 #define GO500GW_PORT           7777
        /* timeout on all searches */
@@ -131,7 +143,7 @@ Please try again later.\r\n"
  * RCPT500 MAIL RESPONDER GATEWAY DEFINITIONS
  */
        /* where the helpfile lives */
-#define RCPT500_HELPFILE       "C:\\OpenLDAP\\etc\\rcpt500.help"
+#define RCPT500_HELPFILE       "C:\\OpenLDAP\\share\\rcpt500.help"
        /* maximum number of matches returned */
 #define RCPT500_SIZELIMIT      50
        /* address replies will appear to come from */
@@ -166,7 +178,7 @@ Please try again later.\r\n"
        /* ud configuration file */
 #define UD_CONFIG_FILE         "C:\\OpenLDAP\\etc\\ud.conf"
        /* default editor */
-#define UD_DEFAULT_EDITOR      "C:\\OpenLDAP\\etc"
+#define UD_DEFAULT_EDITOR      "%EDITOR%"
        /* default bbasename of user config file */
 #define UD_USER_CONFIG_FILE    ".udrc"
        /* default base where groups are created */
@@ -197,14 +209,16 @@ Please try again later.\r\n"
  */
        /* location of the default slapd config file */
 #define SLAPD_DEFAULT_CONFIGFILE       "C:\\OpenLDAP\\etc\\slapd.conf"
+       /* default max deref depth for aliases */
+#define SLAPD_DEFAULT_MAXDEREFDEPTH    15      
        /* default sizelimit on number of entries from a search */
 #define SLAPD_DEFAULT_SIZELIMIT                500
        /* default timelimit to spend on a search */
 #define SLAPD_DEFAULT_TIMELIMIT                3600
-       /* location of the slapd pid file */
-#define SLAPD_PIDFILE                  "C:\\OpenLDAP\\run\\slapd.pid"
-       /* location of the slapd args file */
-#define SLAPD_ARGSFILE                 "C:\\OpenLDAP\\run\\slapd.args"
+       /* extension of the slapd pid file */
+#define SLAPD_PIDEXT                   ".pid"
+       /* extension of the slapd args file */
+#define SLAPD_ARGSEXT                  ".args"
        /* dn of the special "monitor" entry */
 #define SLAPD_MONITOR_DN               "cn=monitor"
        /* dn of the special "config" entry */