Coder Social home page Coder Social logo

docker-samba4's Introduction

docker-samba4

small, alpine based, container with a Samba4 AD

Status

Docker Pulls Image Size Build Status

Build

Your can use the included Makefile.

To build the Container: make

To remove the builded Docker Image: make clean

Starts the Container with a simple set of environment vars: make run

Starts the Container with Login Shell: make shell

Entering the Container: make exec

Stop (but not kill): make stop

see the History make history

Docker Hub

You can find the Container also at DockerHub

supported Environment Vars

Environmental Variable Default Value Description
SAMBA_DC_ADMIN_PASSWD autogenerated Administrator Password
KERBEROS_PASSWORD autogenerated Kerberos Passwort
SAMBA_DC_DOMAIN smb
SAMBA_DC_REALM SAMBA.LAN
SAMBA_DC_DNS_BACKEND SAMBA_INTERNAL BIND9_FLATFILE is also supported and starts an internal bind
SAMBA_OPTIONS -
TEST_USER - if true the container will import some test users:
grillstarling and bodsch

Test

ldapsearch -H ldaps://localhost -D "[email protected]"  -w "${SAMBA_DC_ADMIN_PASSWD}" -b "DC=samba,DC=lan"  '(objectClass=*)'
ldapsearch -H ldaps://localhost -D "[email protected]"  -w "${SAMBA_DC_ADMIN_PASSWD}" -b "DC=samba,DC=lan" -x -LLL -z 0

With TEST_USER enabled, you can check the grillstarling User:

ldapsearch -H ldaps://localhost  -D "[email protected]"  -w "${SAMBA_DC_ADMIN_PASSWD}" -b "CN=Users,DC=samba,DC=lan" '(&(objectClass=user)(sAMAccountName=grillstarling))'

docker-samba4's People

Contributors

bodsch avatar gmarco avatar mcgege avatar

Watchers

 avatar

Forkers

alainchiasson

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.