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
Provide a short, concise description of the application. No more than two SHORT paragraphs. Link to sources where possible and include an image illustrating your point if necessary. Point users to the original applications website, as that's the best place to get support - not here.
36
+
The ldap-auth software is for authenticating users who request protected resources from servers proxied by nginx. It includes a daemon (ldap-auth) that communicates with an authentication server, and a webserver daemon that generates an authentication cookie based on the user’s credentials. The daemons are written in Python for use with a Lightweight Directory Access Protocol (LDAP) authentication server (OpenLDAP or Microsoft Windows Active Directory 2003 and 2012).
37
37
38
-
`IMPORTANT, replace all instances of <image-name> with the correct dockerhub repo (ie linuxserver/plex) and <container-name> information (ie, plex) and make sure to update the block at the top of this file containing app specific urls, dockerhub url and dockerfile url etc.`
39
38
40
39
41
40
42
41
## Usage
43
42
44
43
```
45
44
docker create \
46
-
--name=<container-name> \
47
-
-v <path to data>:/config \
48
-
-e PGID=<gid> -e PUID=<uid> \
49
-
-p 1234:1234 \
50
-
<image-name>
45
+
--name=ldap-auth \
46
+
-p 8888:8888 \
47
+
-p 9000:9000 \
48
+
linuxserver/ldap-auth
51
49
```
52
50
53
51
@@ -59,35 +57,20 @@ For example with a port -p external:internal - what this shows is the port mappi
59
57
So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080
60
58
http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.
61
59
60
+
NOTE: This container does not save any data that should be persistent and therefore there is no mapping for a `/config` folder.
62
61
63
62
64
63
| Parameter | Function |
65
64
| :---: | --- |
66
-
|`-p 1234`| the port(s) |
67
-
|`-v /config`| explain what lives here |
68
-
|`-e PGID`| for GroupID, see below for explanation |
69
-
|`-e PUID`| for UserID, see below for explanation |
65
+
|`-p 8888`| the port for ldap auth daemon |
66
+
|`-p 9000`| the port for ldap login page |
70
67
71
-
72
-
73
-
## User / Group Identifiers
74
-
75
-
Sometimes when using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
76
-
77
-
Ensure any volume directories on the host are owned by the same user you specify and it will "just work" ™.
78
-
79
-
In this instance `PUID=1001` and `PGID=1001`, to find yours use `id user` as below:
Insert a basic user guide here to get a n00b up and running with the software inside the container. DELETE ME
73
+
This container itself does not have any settings and it relies on the pertinent information passed in the form of http headers in incoming requests. Make sure that your webserver is set up with the right config. Here's a sample config: https://github.com/nginxinc/nginx-ldap-auth/blob/master/nginx-ldap-auth.conf
91
74
92
75
93
76
@@ -96,10 +79,10 @@ Insert a basic user guide here to get a n00b up and running with the software in
0 commit comments