You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+70-16Lines changed: 70 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,21 +3,58 @@
3
3
This is a simple HTTP server which allows you to authenticate against ldap with a HTTP GET request. This daemon is designed to run behind a reverse proxy (haproxy, nginx, apache2, ...).
4
4
5
5
-[ldapauthd](#ldapauthd)
6
-
-[Usage](#usage)
7
-
-[Installation](#installation)
8
-
-[Local](#local)
9
-
-[Docker](#docker)
10
-
-[Configuration](#configuration)
11
-
-[Curl example](#curl-example)
6
+
-[Usage](#usage)
7
+
-[Examples](#examples)
8
+
-[Curl](#curl)
9
+
-[Traefik](#traefik)
10
+
-[Installation](#installation)
11
+
-[Local](#local)
12
+
-[Docker](#docker)
13
+
-[Configuration](#configuration)
14
+
-[Examples](#examples-1)
15
+
-[LDAP_ALLOWEDUSERS](#ldapallowedusers)
16
+
-[LDAP_ALLOWEDGROUPS](#ldapallowedgroups)
12
17
-[Special Thanks](#special-thanks)
13
18
14
-
##Usage
19
+
# Usage
15
20
16
21
To authenticate against this daemon you only need to fire a GET request with base64 encoded **Authentication** HTTP header.
| LDAP_ATTRIBUTES | Attributes to get from ldap and report to client | {"cn": "X-Forwarded-FullName", "mail": "X-Forwarded-Email", "sAMAccountName": "X-Forwarded-User"} |
48
-
| LDAP_ALLOWEDUSERS | Allow specific users. Others will be denied ||
49
-
| LDAP_ALLOWEDGROUPS | Allow specific groups. Others will be denied ||
85
+
| LDAP_ALLOWEDUSERS | Allow specific users. Will be matched with given username ||
86
+
| LDAP_ALLOWEDGROUPS | Allow specific groups. Will be matched with full group dn ||
87
+
| LDAP_ROLEHEADER | The header name where the associated role should be stored ||
50
88
| LDAP_BASEDN | Base DN every search request will be based on. ||
51
89
| LDAP_BINDDN | Bind user to use for querying your ldap server. ||
52
90
| LDAP_BINDPW | Bind users password. ||
@@ -56,9 +94,25 @@ Configuration for this daemon is read from the current environment. Available co
56
94
| LDAP_\<NAME\>_SSL | Use SSL for ldap connection. | True |
0 commit comments