]> ###2026.09.04 - Add: Configurable TDB backup destination (flash vs array/cache). - Fix: Add missing TDB_BACKUP_PATH default to default.cfg, so the '#default' button correctly resets the backup path field. ###2026.09.03 - Add: Live AD join status via wbinfo/net ads testjoin, replacing the built-in indicator. - Add: Confirmation dialog before Clear Cache, since clearing the cache restarts Samba and drops any active SMB connections. - Change: Remove incomplete LDAP option from Backend Database dropdown. - Add: Enable and validate Domain Range / Backend Range fields. - Fix: Surface clear_winbind_cache() success/failure to the GUI instead of failing silently. - Change: Set max supported Unraid version to 7.3.2 (confirmed working), preventing standard installation on untested future Unraid releases. ###2026.08.25a - Fork: Rebranded plugin manifest for community fork — updated author, gitURL, and supportURL to point at the maintained fork instead of the removed upstream repository. See README.md for full provenance. - Change: Use SHA256 instead of MD5 for package integrity verification. ###2026.08.25 - Fix: Surface apply_settings() success/failure to the GUI instead of failing silently. ###2026.08.24 - Fix: Per-file TDB backup retention instead of global retention. - Fix: Atomic staging for TDB backup and restore to avoid partial-write corruption. - Fix: Validate TDB integrity before restoring, fall back to older generation. ###2025.02.15 - Fix: Don't check for AD being enabled on startup or shutdown. ###2025.01.29 - Fix: Undefined file error. ###2025.01.18 - Fix: Undefined variable error. ###2024.01.15 - Fix: Restart Samba when restoring databases. ###2025.01.09a - Fix: Some code changes for reliability and robustness. - Add: Set permissions when restoring the databases. ###2024.12.28 - Fix: AD Extras page not showing when AD enabled. ###2024.12.27a - Fix: Change some php variables to constants that don't need to be variables. - Add: Database files are stored on the flash drive, so they will be persistent. - Add: Database files are backuped up to the /flash when Unraid is shut down. - Add: Database files are restored from the /flash on Unraid startup. - Add: Database cleanup is performed on shutdown to limit backups to 5. ###2024.08.08 - Fix: In certain cases "vfs objects" gets set to "vfs objects = vfs objects = acl_xattr". ###2024.05.12 - Add: Don't apply AD settings if AD is not selected in SMB. ###2024.04.30 - Fix: Some code cleanup. - Add: Disable 'Active Directory Extras' page when AD not selected in SMB. ###2024.04.28 - Add: Samba settings: 'map acl inherit = yes', and 'store dos attributes = yes' to global settings. - Add: Samba settings: 'vfs objects = acl_xattr' to every share. ###2023.07.08 - Add: Show default values for 'winbind cache time' and 'idmap cache time' if values are not explicitly set. - Add: Clear Cache button to clear the winbind cache and restart Samba. ###2023.07.07a - Fix: Add icon to settings tab. - Fix: Plugin not showing correctly on plugins page. - Add: Submit to CA. ###2023.04.07 - Fix: Set lowest Unraid version 6.9.0. ###2023.04.06 - Add: Plugin update detection. - Add: 'idmap negative cache time' setting. ###2023.04.05 - Initial Unraid V6.11.5 release. "&gitURL;/&name;-&version;.tgz" &SHA256; # Remove emhttp files so we can re-install. rm -rf /usr/local/emhttp/plugins/&name;/* 2>/dev/null # Remove old 'bundle' files. rm -f $(ls /boot/config/plugins/&name;/&name;*.tgz 2>/dev/null | grep -v '&version;') # Remove old add-smb file rm -f /tmp/&name;/add-smb # Create plugin directories mkdir -p /boot/config/plugins/&name; /boot/config/plugins/&name;/database 2>/dev/null # Install the 'bundle'. tar -xf /boot/config/plugins/&name;/&name;-&version;.tgz -C /usr/local/emhttp/plugins 2>/dev/null # Fix permissions of executable files chmod +x /usr/local/emhttp/plugins/&name;/scripts/* /usr/local/emhttp/plugins/&name;/event/* # Apply the settings /usr/local/emhttp/plugins/&name;/scripts/rc.active.directory apply /dev/null) reload-config 2>&1 fi ]]> # Add active directory settings to smb.conf. at -M -f /tmp/&name;/add-smb now 2>/dev/null echo "" echo "-----------------------------------------------------------" echo " &name; is installed." echo " Copyright 2025 Dan Landon, 2026 fork maintenance &author;" echo " Version: &version;" echo "-----------------------------------------------------------" echo "" # Remove all plugin files. rm -rf /usr/local/emhttp/plugins/&name; 2>/dev/null # Remove the active directory 'bundle' so it will be downloaded if re-installed. rm -rf /boot/config/plugins/&name;/&name;-&version;.tgz echo "" echo "-----------------------------------------------------------" echo " &name; has been removed." echo " Version: &version;" echo "-----------------------------------------------------------" echo ""