r/samba • u/Thehoney4you • 4d ago
Samba-ad-dc woes
For a long time I've dealt with the issues of lost windows profile each time a computer dies, knowing about roaming profiles on AD after learning how to commission Samba as AD DC I have built 4 in total as family computers are also now roaming their profiles.
So I have 4 DC 2 at my house 2 at dads' with VPN between the two so its all one domain. there are Truenas keeping in sync and for the most just run. every couple of months i find that dbcheck --cross-ncs --fix needs to be run. im not entirely sure it i tinker to much or but when ive lost DC's or changed I know its been needed.
the most trouble ive had was upgrading Ubuntu to 24.04, i did it so fast that I did not know I crashed all the servers, I successfully recovered most of the ad setting from one and restored most of the necessary settings, had to build a second domain to get the base GPO's buy building a second domain and copying the default GPO's to get it fully up.
some weeks ago if i ran samba-tool drs show repl 2 of the 4 servers would throw errors saying it could not access the data base. the other two still shows replication was capable. rstat tools ADCU & DNS still successfully manage to make changes that replicate across all 4. the only answer I have found is rebuild the server. so what could have
So currently im working on upgrading to Ubuntu 26.04 to get Samba up to 4.23 and the few advantages it provides. how ever once again I am in danger Crashing the entire domain with do-release-upgrade. when I do release-upgrade samba just completely breaks, yes stop the service, upgrade and still crashed.
SO ultimately to upgrade to Ubuntu 26.04 and samba 4.23 the most reliable path ive found is wipe,install 26.04, join to existing domain. Is this ultimately the only reliable upgrade path or am I possibly Missing something important.
Local DC1-bare-metal intel nuc
local DC2-Proxmox VM/ Usedto be be trunas VM
Remote DC1-Only VM on a Proxmox, Used to be bare-metal on this supermicro x10dru fought the IPMI for days to get new os installed, eventually found a PXE server I could install to pxe boot the server.
Remote DC2-Proxmox VM/ Usedto be be trunas VM

