From e38ec5672aea398491911076fdc9f9c233624c0d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 30 May 2017 15:46:01 +0200 Subject: Introduce debug levels, AD filter bug workaround, fix legacy homeattr not being lowercased --- ldadp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ldadp.c') diff --git a/ldadp.c b/ldadp.c index 741df5d..923891a 100644 --- a/ldadp.c +++ b/ldadp.c @@ -11,6 +11,7 @@ #include "ini.h" #include "helper.h" #include "openssl.h" +#include "helper.h" #include #include #include @@ -118,6 +119,8 @@ static int loadConfig_handler(void *stuff, const char *section, const char *key, certFile = strdup(value); } else if (strcmp(key, "privkey") == 0) { keyFile = strdup(value); + } else if (strcmp(key, "debug") == 0) { + _debugLevel = atoi(value); } else { printf("Unknown local config option '%s'\n", key); } -- cgit v1.2.3-55-g7522