Issues with Mac users and a Windows Share

arcitsol
arcitsol used Ask the Experts™
on
We have a group of Mac's (High Sierra) connecting via SMB to our Windows Server 2016 share.

When they browse folders on the share without opening files, the files within that folder show up in "Open Files" within "Computer Management" on the server; if they leave that folder, they remain in "Open Files".

When they try to rename a browsed folder, they get a permissions error (because the file is open)

Is there a way to stop the Mac marking these files as open?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
bbaoIT Consultant

Commented:
can i see a screenshot showing the files as “open”?

Commented:
While this page is a year old, it discusses the problem with Mac "file locks" on SMB shares. There are a few workarounds mentioned.  Main suggestion is to disable FileIDs (in /etc/nsmb.conf )

https://apple.lib.utah.edu/mac-bug-connecting-to-non-apple-smb-shares/

Also note if this is a common problem and you want your Mac to work well in a Windows environment, I recommend Thursby's DAVE software. A bit pricey but it adds a full blown commercial grade Microsoft DFS and Microsoft SMB/CIFS on Macs so they behave well. Licenses are around $120 or cheaper in quantity. (I do not work for them, but I have used the software in the past to solve Windows/Mac problems.)

http://www.thursby.com/purchase/dave

Author

Commented:
Hi Owen,

We tried this article before upgrading the Mac to Mojave - it didn't resolve the problem.

I believe it was a solution to another problem with similar symptoms.

3rd Party software isn't really an option as it is only a single update away from breaking.
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

The only real way is to replace Apple's SMB with SAMBA.  Apple rewrote their own SMB when SAMBA went to GPLv3 and basically broke many things.  The error messages on the Mac don't even match the error messages seen from the Windows side.

Commented:
I did not know that serialband. Good to know.
7 years ago, they decided to do away with SAMBA and write their own SMB  https://www.engadget.com/2011/03/24/apple-to-drop-samba-networking-tools-from-lion/

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial