February 13, 20251 yr Hello, I would like to run an Active Directory server on Docker, using either OpenLDAP or FreeIPA, to authenticate SMB shares and a few other Docker containers. My goal is to use SMB with AD, so that users can authenticate via LDAP. However, when I go to SMB Settings > Active Directory Settings and attempt to join the AD domain, it tries for a few seconds and then fails. I've also noticed that after every attempt to join the AD domain, all Docker containers restart. If the attempt is made while the containers are down, the connection will always fail. Does anyone know why attempting to join the AD causes all Docker containers to restart? Has anyone implemented a similar setup and can provide some guidance? root@Tower:~# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 18870914c930 osixia/openldap "/container/tool/run" 20 minutes ago Up Less than a second 0.0.0.0:389->389/tcp, :::389->389/tcp, 0.0.0.0:636->636/tcp, :::636->636/tcp openldap 0b58cd23f7e7 rclone/rclone "rclone rcd --rc-web…" 14 hours ago Up 2 seconds 0.0.0.0:5572->5572/tcp, :::5572->5572/tcp Edited February 13, 20251 yr by Gio_nul
March 11, 20251 yr Author From an old post, it seems that dockers and VMs cannot run when the array is down. I'm not sure why but when SMB attempts to join an Active Directory, it causes the array to go down. I haven't found a solution for this. It looks like in order to have an AD server and use it for SMB it needs to run as a plugin. However, I haven't found such a plugin and I don't know how to create one from a docker.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.