Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SMB AD with LDAP server running on Unraid

Featured Replies

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

 

screencapture-192-168-2-2-Settings-SMB-2025-02-13-09_36_03.thumb.png.79b1b98d45afa72677bd615912bef03f.png

 

Edited by Gio_nul

  • 4 weeks later...

I'm curious about doing this myself. Did you have any luck with it?

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

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.