Skip to content

Commit

Permalink
Merge pull request #90 from robert-scheck/improper-certificate-valida…
Browse files Browse the repository at this point in the history
…tion

Reject by default LDAP connections not authorized via CA trust store
  • Loading branch information
xet7 authored Apr 6, 2022
2 parents b104751 + e8f9422 commit c8e2477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/ldap.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default class LDAP {
idle_timeout: this.constructor.settings_get('LDAP_IDLE_TIMEOUT'),
encryption: this.constructor.settings_get('LDAP_ENCRYPTION'),
ca_cert: this.constructor.settings_get('LDAP_CA_CERT'),
reject_unauthorized: this.constructor.settings_get('LDAP_REJECT_UNAUTHORIZED') || false,
reject_unauthorized: this.constructor.settings_get('LDAP_REJECT_UNAUTHORIZED') || true,
Authentication: this.constructor.settings_get('LDAP_AUTHENTIFICATION'),
Authentication_UserDN: this.constructor.settings_get('LDAP_AUTHENTIFICATION_USERDN'),
Authentication_Password: this.constructor.settings_get('LDAP_AUTHENTIFICATION_PASSWORD'),
Expand Down

0 comments on commit c8e2477

Please sign in to comment.