char file_crpt_file_key[PATH_MAX]="";
char file_crpt_file_csr[PATH_MAX]="";
char file_crpt_file_cer[PATH_MAX]="";
+char file_chkpwd[PATH_MAX]="";
int home_specified = 0;
sizeof file_crpt_file_cer,
"%scitadel.cer",
ctdl_key_dir);
+
+ snprintf(file_chkpwd,
+ sizeof file_chkpwd,
+ "%schkpwd",
+ ctdl_sbin_dir);
/*
* DIRTY HACK FOLLOWS! due to configs in the network dir in the
* legacy installations, we need to calculate ifdeffed here.
extern char file_crpt_file_key[PATH_MAX];
extern char file_crpt_file_csr[PATH_MAX];
extern char file_crpt_file_cer[PATH_MAX];
-
+extern char file_chkpwd[PATH_MAX];
extern void calc_dirs_n_files(int relh, int home, const char *relhome,const char *ctdldir);
#include "config.h"
#include "tools.h"
#include "citserver.h"
+#include "citadel_dirs.h"
#include "genstamp.h"
/*
}
close(pipev[0]);
- execl(CTDLDIR "/chkpwd", CTDLDIR "/chkpwd", NULL);
- perror(CTDLDIR "/chkpwd");
+ execl(file_chkpwd, file_chkpwd, NULL);
+ perror(file_chkpwd);
exit(1);
}