1

I have 2 Macs accessing SMB shares of a Server 2016 and problems occur, constant server connection. Both Macs are in the graphics department.

Currently the problem is for Excel, Adobe Illustrator etc. If they want to overwrite an existing table on an SMB share, Excel hangs up for a moment and the saving process fails. Only a temporary file is created and the table is not overwritten. I have experienced similar problems with Adobe software.

Sometimes at the same time point:15:20h, 17:00h etc. they are thrown out of the structure.

There is an "almost full access" to the drive or share. This means that you have all rights except for changing the permissions.

I have already dealt with this problem in some detail and the core problem here is Apple's support for Windows SMB releases.

The problem affects not only MS Mac Office but also various other software vendors.

The Macs are running Mac OS Version Catalina.

1
  • Make sure the file is not opened by someone else on a different computer. In such a case the file is usually locked and can't be overwritten or deleted no matter what permissions someone has one the file.
    – Robert
    Commented Jan 9, 2020 at 13:51

1 Answer 1

0

I had a similar issue for months with several macs on our network connecting to our Windows Server 2016 SMB shares, after much trial and error the following resolved our issues.

Coincidentally also our design team using adobe suite was the most problematic.

Create the following file:

/etc/nsmb.conf

With the following contents:

[default]
signing_required=no
streams=yes
file_ids_off=yes
protocol_vers_map=2

This can be done with the following commands (do these 1 line at a time.)

sudo -s
echo "[default]" >> /etc/nsmb.conf
echo "signing_required=no" >> /etc/nsmb.conf
echo "streams=yes" >> /etc/nsmb.conf
echo "file_ids_off=yes" >> /etc/nsmb.conf
echo "protocol_vers_map=2" >> /etc/nsmb.conf

When checking the ownership of the file using "ls -l" the user should be root and the group should be wheel, if it isn't use the following command:

sudo chown root:wheel /etc/nsmb.conf

The permissions of the file should also be as follows:

User  - Read + Write
Group - Read
Other - Read

if not use the following command:

sudo chmod 644 /etc/nsmb.conf

Hope this helps!

12
  • I'll try and let you know if it worked. Thank you.Best Regads
    – dosti31
    Commented Jan 10, 2020 at 7:24
  • i have tested this command but i get an error message i have no access on the server please contact your administrator [default] signing_required=no streams=yes file_ids_off=yes protocol_vers_map=2
    – dosti31
    Commented Jan 10, 2020 at 12:57
  • That is not a command, you need to put that in a file called nsmb.conf in the location /etc/.
    – CraftyB
    Commented Jan 10, 2020 at 13:01
  • I will say it would be best to restart the mac after as well so that all smb connections are fresh connections and therefore the new configuration is used.
    – CraftyB
    Commented Jan 10, 2020 at 13:06
  • I have also edited the answer with instructions / commands to create the file and insert the required lines.
    – CraftyB
    Commented Jan 10, 2020 at 13:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .