mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-19 05:23:15 +01:00
19 lines
439 B
C
Executable File
19 lines
439 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 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."
|
|
|
|
#endif
|