SMB access issues Server 2016 from Mac-Catalina

0

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.

dosti31

Posted 2020-01-09T13:38:43.553

Reputation: 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 – 2020-01-09T13:51:09.923

Answers

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!

CraftyB

Posted 2020-01-09T13:38:43.553

Reputation: 1 488

I'll try and let you know if it worked. Thank you.Best Regads – dosti31 – 2020-01-10T07:24:31.283

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 – 2020-01-10T12:57:57.727

That is not a command, you need to put that in a file called nsmb.conf in the location /etc/. – CraftyB – 2020-01-10T13:01:41.583

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 – 2020-01-10T13:06:49.663

I have also edited the answer with instructions / commands to create the file and insert the required lines. – CraftyB – 2020-01-10T13:10:50.557

okey i will try and come back for feedback Thank you Best Regards – dosti31 – 2020-01-10T13:36:49.597

i have try this metod but is the same – dosti31 – 2020-01-10T15:03:31.493

Just to confirm you are using the commands in the terminal? – CraftyB – 2020-01-10T15:06:22.867

Yes i use commands in the terminal – dosti31 – 2020-01-13T06:59:56.920

What error are you receiving now, also do you have access to an admins account? sudo requires an account with admin access as it functions as root. – CraftyB – 2020-01-13T08:49:01.623

Also at what point are you experiencing the issue?, is it when you are connecting to the server itself?, if this is the case you may need to change signing_required=no to signing_required=yes by editing /etc/nsmb.conf with nano or vi, its possible that signing is enforced by the server. Can you please also confirm if SMB V2 is enabled on the server or are you reliant on SMB V3? – CraftyB – 2020-01-13T08:53:23.437

i have used the command and customized nsmb.conf but when i try to connect to the network drive it fails. you cant connect to server.. any idea why...Best Regards – dosti31 – 2020-01-16T10:06:18.770