mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-06-01 06:32:34 +02:00
23 lines
466 B
C
Executable File
23 lines
466 B
C
Executable File
#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 DEFAULT_PORT 5555
|
|
|
|
#define LOCKPAGE_PREFIX "https://lock.binary.kitchen/"
|
|
#define FIFO_LOCATION "/var/run/doorlockd/doorlockd"
|
|
|
|
#define LDAP_SERVER "ldaps://ldap.binary.kitchen"
|
|
#define BINDDN "cn=%s,ou=Users,dc=binary-kitchen,dc=de"
|
|
|
|
#define ALLOWEDIPPREFIX "172.23.3."
|
|
|
|
#endif
|