mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-09-30 01:33:31 +02:00
20 lines
408 B
C
20 lines
408 B
C
#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
|
|
|
|
#define TOKEN_TIMEOUT 15
|
|
#define LOCKPAGE_PREFIX "https://lock.binary.kitchen/"
|
|
#define FIFO_LOCATION "/tmp/fifo"
|
|
|
|
#define LDAP_SERVER "ldaps://ldap.binary.kitchen"
|
|
#define BINDDN "cn=%s,ou=Users,dc=binary-kitchen,dc=de"
|
|
|
|
#endif
|