[TriLUG] Windows Dropping Mapped Samba Share

Brian via TriLUG trilug at trilug.org
Thu May 18 11:15:12 EDT 2023


Hi Gang,

I'm not getting very far with our in-house IT folks, so I figured I'd 
tap the great fount of wisdom in this group.

My workstation is a Windows 10 Pro 21H2 laptop that is a member of an 
Active Directory domain.
The server is Debian 11.6 running Samba 2:4.13.13+dfsg-1~deb11u5, and is 
NOT a domain member.  SMB authentication is handled locally with the 
smbpasswd mechanism.

If I access files from Windows using UNC paths, everything is copacetic.

If I map a drive on Windows, some random period of time later, the drive 
mapping is silently dropped.  Any application with files open on that 
mapped drive just sees the file go away.  No events are generated in the 
Windows Event Log when the disconnect occurs.

I've set the samba server to "log level = 5" to see if I can discover 
anything useful there, but I would love any available advice on why this 
might be happening, and tips on what exactly to look for in the smbd log.

In particular, I wonder if some Windows domain policy might be 
periodically coming along and silently nuking the mapped drive because 
the server isn't trusted in some way.  Is that possible?

Cheers!
-Brian


More information about the TriLUG mailing list