Skip to content
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`