3.4 KiB
Contact information:-
| Type | Address/Details |
|---|---|
| Discord | Discord |
| IRC | freenode at #linuxserver.io more information at:- IRC |
| Forum | Linuserver.io forum |
The LinuxServer.io team brings you another image release featuring :-
- regular and timely application updates
- easy user mappings
- custom base image with s6 overlay
- weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
- security updates
linuxserver/ldap-auth
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).
Usage
docker create \
--name=ldap-auth \
-p 8888:8888 \
-p 9000:9000 \
linuxserver/ldap-auth
Parameters
The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.
NOTE: This container does not save any data that should be persistent and therefore there is no mapping for a /config folder.
| Parameter | Function |
|---|---|
-p 8888 |
the port for ldap auth daemon |
-p 9000 |
the port for ldap login page |
Setting up the application
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
Container access and information.
| Function | Command |
|---|---|
| Shell access (live container) | docker exec -it ldap-auth /bin/bash |
| Realtime container logs | docker logs -f ldap-auth |
| Container version | docker inspect -f '{{ index .Config.Labels "build_version" }}' ldap-auth |
| Image version | docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/ldap-auth |
| Dockerfile | Dockerfile |
Changelog
| Date | Changes |
|---|---|
| dd.MM.yy | Initial Release. |

