From 7af532c97ea6f4bef3e7634f4ef498463f3852bd Mon Sep 17 00:00:00 2001 From: Li-Heng Yu <007seadog@gmail.com> Date: Wed, 21 Sep 2022 12:54:52 +0800 Subject: [PATCH] Added CMD_LDAP_TLS_CA option --- authentication/active-directory.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/authentication/active-directory.md b/authentication/active-directory.md index 22acda5..b05b785 100644 --- a/authentication/active-directory.md +++ b/authentication/active-directory.md @@ -10,6 +10,7 @@ CMD_LDAP_SEARCHBASE=dc=internal,dc=example,dc=com CMD_LDAP_SEARCHFILTER=(&(objectcategory=person)(objectclass=user)(|(sAMAccountName={{username}})(mail={{username}}))) CMD_LDAP_USERIDFIELD=sAMAccountName CMD_LDAP_PROVIDERNAME=Example Inc AD +CMD_LDAP_TLS_CA=/etc/ssl/certs/ca-certificates.crt,/etc/ssl/certs/myca.crt ``` ## Notes @@ -26,6 +27,8 @@ CMD_LDAP_PROVIDERNAME=Example Inc AD - `CMD_LDAP_PROVIDERNAME` is just the name on the login page above the username and password field. +- `CMD_LDAP_TLS_CA` is the CA location, seperated by comma. + ## json format: ```json @@ -43,4 +46,4 @@ CMD_LDAP_PROVIDERNAME=Example Inc AD More details and example: https://www.npmjs.com/package/passport-ldapauth --- -###### tags: `CodiMD` `Docs` \ No newline at end of file +###### tags: `CodiMD` `Docs`