k-space/samba
k-space
/
samba
Archived
9
0
Fork 0
Dockerized Samba for our AD-equivalent deployment
This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Lauri Võsandi 5c8c3b3343 Initial commit 2021-06-13 11:44:30 +00:00
Dockerfile Initial commit 2021-06-13 11:44:30 +00:00
README.md Initial commit 2021-06-13 11:44:30 +00:00
docker-compose.yml Initial commit 2021-06-13 11:44:30 +00:00
entrypoint.sh Initial commit 2021-06-13 11:44:30 +00:00

README.md

Deploying

Since Samba does not really fit in the Docker world, only viable options are to use macvlan, ipvlan networking modes so the instance appears on the network with dedicated IP. Alternatively network_mode: host might be also viable approach. For sample configuration see docker-compose.yml. After provisioning be sure to replace the domain administrator password.

Replacing node

Copy /mnt/ssd/samba from old node if possible.

After starting with overnode up check replication status, this should show 0 for every line:

docker exec -it samba_app_1  samba-tool drs showrepl | grep "consecutive failure"

To inspect running version:

docker exec -it samba_app_1 samba-tool -V