From db6be99d4380ddfb7a3ad6798809b15e9f56c94f Mon Sep 17 00:00:00 2001 From: cproudlock Date: Tue, 2 Jun 2026 09:04:37 -0400 Subject: [PATCH] samba: deadtime=0 (was 5) so WIM-apply idle does not drop the staging mount WinPE maps the enrollment share early, then idles for minutes while the WIM applies. deadtime=5 dropped that idle session, so the post-apply staging copies failed (bay left with only site-config.json staged). VM test against the live share copied everything fine on a fresh mount; the only difference was the idle. deadtime=0 disables idle auto-disconnect. Applied live to the current box (smbd reloaded); this makes it permanent + covers the second box on the next playbook run. Co-Authored-By: Claude Opus 4.8 (1M context) --- playbook/pxe_server_setup.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/playbook/pxe_server_setup.yml b/playbook/pxe_server_setup.yml index ccc9782..05352c5 100644 --- a/playbook/pxe_server_setup.yml +++ b/playbook/pxe_server_setup.yml @@ -571,7 +571,11 @@ # the short-lived flows that PXE imaging produces. socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY keepalive = 30 - deadtime = 5 + # deadtime=0 (disabled): WinPE maps the enrollment share early then + # idles for minutes during the WIM apply. A non-zero deadtime drops + # that idle session, so the post-apply staging copies failed (bay + # left with only site-config.json). 0 = never auto-disconnect idle. + deadtime = 0 - name: "Configure Samba shares" blockinfile: