Giter Club home page Giter Club logo

docker-dc's Introduction

docker-dc

samba 4 domain controller

prerequisites

  • docker-ubuntu
  • clear text user password ( must root owner and 600 mode ; /security/dc01 will mounted read-only into container )
    • /security/dc01/ldapquery
    • /security/dc01/itadmin [ Domain Admins ]
    • /security/dc01/localadmin [ Local Admins ]
    • /security/dc01/Administator [ Administrators ]
  • /scripts/constants : ip_dc01_srv docker ip address variable
  • letsencrypt certificates
  • working dns that translates correctly dc01.my.local and dc01.example.com to dc01 ip docker container address
  • firewall rules ( search for dc01 rules )

configure

file token replace with
POST_INITIAL_SETTINGS --max-pwd-age=90 user password expiration ( default: 3 months )
SomeCity organization city
Utenti organization user group name
@example.com mail domain
Some company organization description
createuser2 loginname FirstName LastName initial users one per row
loginname1 name of user in Direction group
loginname2 name of user in Administration (accounting) group
build.sh my/dc01 namespace image ( example: searchathing/dc01 )
check-dns my domain controller name
mycmd.sh 172.19.0.10 docker ip address of domain controller
my.local domain controller name ( example: searchathing.local )
example.com your own fqdn name ( example: searchathing.com )
organization-unit-ldif DC=my domain controller name ( example: DC=searchathing )
SomeCity see above
query-user dc=my see above
example.com see above
resolv.conf my.local see above
run.sh my/dc01 see above
dc01.my.local see above
smb.conf DC01 domain controller name ( uppercased )
MY.LOCAL local domain name ( uppercased )
example.com see above
MY domain name
test-ldaps dc=my see above
DC=my see above
example.com see above

install

./build.sh
./run.sh

follow message will appears

===> SERVER READY <===

press ctrl+c to stop docker logs and return to shell

- dk-exec dc01 to enter container
- /dk/POST_INITIAL_SETTINGS to reset samba group policy base
======================
  • hit ctrl+c to exit logging dc01
  • enter the container dk-exec dc01
  • /dk/POST_INITIAL_SETTINGS

docker-dc's People

Contributors

devel0 avatar

Watchers

 avatar  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.