Debian bullseyes based docker image for SAMBA with ldap authentication.
This image is based on the work of andrespp/docker-samba-ldap
$ docker run -v /path/to/nslcd.conf:/etc/nslcd.conf:ro \
-v /path/to/smb.conf:/etc/samba/smb.conf:ro \
-v /etc/localtime:/etc/localtime:ro \
-e SAMBA_LDAP_PASSWORD=${LDAP_ADMIN_PASSWORD} \
-p 139:139 \
-p 445:445 \
guillaumedsde/guillaumedsde/samba-ldap:latest
version: "3.3"
services:
guillaumedsde:
volumes:
- "/path/to/nslcd.conf:/etc/nslcd.conf:ro"
- "/path/to/smb.conf:/etc/samba/smb.conf:ro"
- "/etc/localtime:/etc/localtime:ro"
environment:
- "SAMBA_LDAP_PASSWORD=${LDAP_ADMIN_PASSWORD}"
ports:
- "139:139"
- "445:445"
image: "guillaumedsde/guillaumedsde/samba-ldap:latest"
A couple of projects really helped me out while developing this container:
- 💽
andrespp/docker-samba-ldap
for helpful inspiration - 🏁 s6-overlay A simple, relatively small yet powerful set of init script for managing processes (especially in docker containers)
- 🐋 The Docker project (of course)