1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-11-16 20:19:13 +01:00
doorlockd-mirror/config.h.in

22 lines
464 B
C
Raw Normal View History

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-12 01:28:02 +02:00
#define TOKEN_TIMEOUT 60
2015-05-11 00:18:22 +02:00
#define LOCKPAGE_PREFIX "https://lock.binary.kitchen/"
2015-05-12 01:28:02 +02:00
#define FIFO_LOCATION "/var/run/doorlockd/doorlockd"
2015-05-11 00:18:22 +02:00
2015-05-11 20:40:26 +02:00
#define LDAP_SERVER "ldaps://ldap.binary.kitchen"
#define BINDDN "cn=%s,ou=Users,dc=binary-kitchen,dc=de"
2015-05-12 01:28:02 +02:00
#define ALLOWEDIPPREFIX "172.23.3."
2015-05-11 00:18:22 +02:00
#endif