diff options
author | Simon Rettberg | 2015-10-15 17:54:41 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-10-15 17:54:41 +0200 |
commit | 46a9f1c87cb36c82fc99b084cda2ae5a7bb91284 (patch) | |
tree | ee19a16d7dfbfc2766c5e1b4ceccb5758e0cb568 /ldadp.c | |
parent | Only relay whitelisted fields to client on anonymous bind connections (diff) | |
download | ldadp-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |