2015-05-11 00:18:22 +02:00
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
|
|
|
|
|
|
|
#cmakedefine USE_COLORIZED_LOGS
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
#define DEFAULT_LOG_LEVEL LogLevel::debug2
|
|
|
|
#else
|
|
|
|
#define DEFAULT_LOG_LEVEL LogLevel::info
|
|
|
|
#endif
|
|
|
|
|
2015-05-13 16:50:44 +02:00
|
|
|
#define DEFAULT_TOKEN_TIMEOUT (60*5)
|
2015-05-13 16:20:12 +02:00
|
|
|
#define DEFAULT_PORT 5555
|
2015-05-13 16:40:30 +02:00
|
|
|
#define DEFAULT_WEB_PREFIX "https://lock.binary.kitchen/"
|
|
|
|
#define DEFAULT_LDAP_SERVER "ldaps://ldap.binary.kitchen"
|
|
|
|
#define DEFAULT_BINDDN "cn=%s,ou=Users,dc=binary-kitchen,dc=de"
|
|
|
|
#define DEFAULT_ALLOWED_IP_PREFIX "172.23.3."
|
2015-05-12 01:28:02 +02:00
|
|
|
|
2015-05-11 00:18:22 +02:00
|
|
|
#endif
|