#include "../slap.h"
#include "../back-ldbm/back-ldbm.h"
-#define DEFAULT_CONFIGFILE "/usr/local/etc/slapd.conf"
+#include "ldapconfig.h"
+
#define MAXARGS 100
extern struct dbcache *ldbm_cache_open();
Avlnode *avltypes = NULL;
extern char *optarg;
- tailorfile = DEFAULT_CONFIGFILE;
+ tailorfile = SLAPD_DEFAULT_CONFIGFILE;
dbnum = -1;
while ( (i = getopt( argc, argv, "d:f:i:n:" )) != EOF ) {
switch ( i ) {
#include "../slap.h"
#include "../back-ldbm/back-ldbm.h"
-#define DEFAULT_CONFIGFILE "/usr/local/etc/slapd.conf"
+#include "ldapconfig.h"
+
#define MAXARGS 100
extern struct dbcache *ldbm_cache_open();
FILE *fp;
extern char *optarg;
- tailorfile = DEFAULT_CONFIGFILE;
+ tailorfile = SLAPD_DEFAULT_CONFIGFILE;
dbnum = -1;
while ( (i = getopt( argc, argv, "d:f:i:n:" )) != EOF ) {
switch ( i ) {
#include <sys/socket.h>
#include "../slap.h"
-#define DEFAULT_CONFIGFILE "/usr/local/etc/slapd.conf"
+#include "ldapconfig.h"
+
#define MAXARGS 100
extern void attr_index_config();
extern char *optarg;
inputfile = NULL;
- tailorfile = DEFAULT_CONFIGFILE;
+ tailorfile = SLAPD_DEFAULT_CONFIGFILE;
dbnum = -1;
while ( (i = getopt( argc, argv, "d:f:i:n:" )) != EOF ) {
switch ( i ) {