Giter VIP home page Giter VIP logo

samba4-ad-dc's Introduction

samba4-ad-dc

This is a docker container running Samba4 as a domain controller.

Volumes

  • /etc/samba
  • /var/lib/samba

Environment Variables

Name Example Description
SAMBA_DC_REALM workgroup.local The realm to launch the DC into
SAMBA_DC_DOMAIN workgroup The NetBIOS Domain Name
SAMBA_DC_ADMIN_PASSWD P@ssw0rd The AD DC Administrator user password
SAMBA_DC_DNS_BACKEND SAMBA_INTERNAL The DNS backend to use

Run with docker command

docker run -d \
    -e SAMBA_DC_REALM='workgroup.local' \
    -e SAMBA_DC_DOMAIN='workgroup' \
    -e SAMBA_DC_ADMIN_PASSWD='P@ssw0rd' \
    -e SAMBA_DC_DNS_BACKEND='SAMBA_INTERNAL' \
     'imunew/samba4-ad-dc'

Run with docker-compose

# docker-compose.yml
version: '3.2'
services:
  samba:
    image: imunew/samba4-ad-dc
    privileged: true
    environment:
      SAMBA_DC_REALM: workgroup.local
      SAMBA_DC_DOMAIN: workgroup
      SAMBA_DC_ADMIN_PASSWD: P@ssw0rd
      SAMBA_DC_DNS_BACKEND: SAMBA_INTERNAL
    ports:
      - 53:53
      - 53:53/udp
      - 88:88
      - 88:88/udp
      - 135:135
      - 139:139
      - 389:389
      - 389:389/udp
      - 445:445
      - 464:464
      - 464:464/udp
      - 636:636
      - 3268-3269:3268-3269

reference

I referred to the following.

samba4-ad-dc's People

Contributors

imunew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.