summaryrefslogtreecommitdiffstats
path: root/ldadp.c
diff options
context:
space:
mode:
authorSimon Rettberg2015-10-15 17:54:41 +0200
committerSimon Rettberg2015-10-15 17:54:41 +0200
commit46a9f1c87cb36c82fc99b084cda2ae5a7bb91284 (patch)
treeee19a16d7dfbfc2766c5e1b4ceccb5758e0cb568 /ldadp.c
parentOnly relay whitelisted fields to client on anonymous bind connections (diff)
downloadldadp-46a9f1c87cb36c82fc99b084cda2ae5a7bb91284.tar.gz
ldadp-46a9f1c87cb36c82fc99b084cda2ae5a7bb91284.tar.xz
ldadp-46a9f1c87cb36c82fc99b084cda2ae5a7bb91284.zip
Support certificate verification by ca-bundle and hostname
Diffstat (limited to 'ldadp.c')
-rw-r--r--ldadp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldadp.c b/ldadp.c
index b1a5a73..7371af6 100644
--- a/ldadp.c
+++ b/ldadp.c
@@ -127,6 +127,8 @@ static int loadConfig_handler(void *stuff, const char *section, const char *key,
if (value[0] != '\0') server_setHomeTemplate(section, value);
} else if (strcmp(key, "fingerprint") == 0) {
if (value[0] != '\0') server_setFingerprint(section, value);
+ } else if (strcmp(key, "cabundle") == 0) {
+ if (value[0] != '\0') server_setCaBundle(section, value);
} else if (strcmp(key, "port") == 0) {
server_setPort(section, value);
} else if (strcmp(key, "plainldap") == 0) {