Docker container with ldap pam similar to the setup found on krul.
Find a file
2021-02-05 04:52:59 +01:00
skel initial commit 2021-02-04 03:02:57 +01:00
.gitignore add gitignore 2021-02-04 03:09:22 +01:00
common-auth remove default comments 2021-02-04 03:08:27 +01:00
common-session remove default comments 2021-02-04 03:08:27 +01:00
Dockerfile initial commit 2021-02-04 03:02:57 +01:00
nsswitch.conf remove default comments 2021-02-04 03:08:27 +01:00
readme.md create user search base variable 2021-02-04 03:24:50 +01:00
sssd.conf create user search base variable 2021-02-04 03:24:50 +01:00
startup.sh make sssd.conf only visible to the user 2021-02-05 04:52:59 +01:00

Example docker-compose file

version: '3'
services:
  ssh:
    build:
      context: .
    ports:
      - '222:22'
    restart: always
    environment:
      LDAP_URI: 'ldap://ldap.example.com'
      LDAP_DEFAULT_BIND_DN: 'ccn=foo_app,ou=applications,dc=companyname,dc=de'
      LDAP_DEAULT_AUTHTOK: 'foobarbaz'
      LDAP_USER_SEARCH_BASE: 'ou=members,dc=companyname,dc=de'