Closed teleharry closed 1 year ago
The options seems to be missing in const server = ldap.createServer(); So, ldaps doesn't work, even ldapCertFilename and ldapKeyFilename ist defined.
const server = ldap.createServer();
Could you change it for future release?
if (config.ldapCertFilename && config.ldapKeyFilename) { const ldapCert = fs.readFileSync(new URL(`./${config.ldapCertFilename}`, import.meta.url), { encoding: "utf8" }), ldapKey = fs.readFileSync(new URL(`./${config.ldapKeyFilename}`, import.meta.url), { encoding: "utf8" }); options = { certificate: ldapCert, key: ldapKey }; } const server = ldap.createServer(options);
If you already have fixed that, could you provide us a PR please? :)
Fixed in version 3.1.0.
The options seems to be missing in
const server = ldap.createServer();
So, ldaps doesn't work, even ldapCertFilename and ldapKeyFilename ist defined.Could you change it for future release?