Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added CMD_LDAP_TLS_CA option #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion authentication/active-directory.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -43,4 +46,4 @@ CMD_LDAP_PROVIDERNAME=Example Inc AD
More details and example: https://www.npmjs.com/package/passport-ldapauth

---
###### tags: `CodiMD` `Docs`
###### tags: `CodiMD` `Docs`