aboutsummaryrefslogtreecommitdiff
path: root/common/config.h.in
diff options
context:
space:
mode:
authorJulien Dessaux2019-03-27 15:20:14 +0100
committerJulien Dessaux2019-03-27 15:21:16 +0100
commit455172075b6de6ffbb3900cb948c95844e27acd3 (patch)
treec0bca8b2b3dce39067ca22a4f620d58a8f690a89 /common/config.h.in
parentCleaning and reordering. (diff)
downloadbastion-455172075b6de6ffbb3900cb948c95844e27acd3.tar.gz
bastion-455172075b6de6ffbb3900cb948c95844e27acd3.tar.bz2
bastion-455172075b6de6ffbb3900cb948c95844e27acd3.zip
Removed mysql dependency and fetch all configuration from configuration file.
Diffstat (limited to 'common/config.h.in')
-rw-r--r--common/config.h.in6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/config.h.in b/common/config.h.in
index a1fe21b..95d43c9 100644
--- a/common/config.h.in
+++ b/common/config.h.in
@@ -5,18 +5,12 @@
#define CONFIG_PATH CONFIG_DIR "bastion.conf"
#define MAX_HOSTNAME_LENGTH 64
-#define MAX_USERNAME_LENGTH 64
#define DEFAULT_PORT 2222
#define DEFAULT_DSAKEY_PATH "@CMAKE_INSTALL_PREFIX@/etc/bastion/ssh_host_dsa_key"
#define DEFAULT_RSAKEY_PATH "@CMAKE_INSTALL_PREFIX@/etc/bastion/ssh_host_rsa_key"
#define DEFAULT_ECDSAKEY_PATH "@CMAKE_INSTALL_PREFIX@/etc/bastion/ssh_host_ecdsa_key"
-#define MYSQL_HOST "localhost"
-#define MYSQL_USER "sshportal"
-#define MYSQL_PASS "graou"
-#define MYSQL_DB "sshportal"
-
#ifdef SESSION_RECORDING
#define DEFAULT_SESSION_RECORDING_PATH "@CMAKE_INSTALL_PREFIX@/var/log/bastion/$d/$h/$u/$i.gz"
#define SESSION_RECORDING_FILENAME_MAX_LEN 255