On 08/11/16 11:00, S Eno wrote:

Perform the following steps to resolve the issue:

  1. Add nsmb.conf to ~/Library/Preferences/ with the following details:
    [default] 
    smb_neg=smb1_only
  2. Set Other-Networks and Static IP address in Network Preference.
  3. Connect to smb://pathname
This file has changed in Sierra, smb_neg is no longer an option. Instead there is protocol_vers_map, but you can only disable SMB v1, or SMB v1 and v2, not enforce v1 only.

I thought maybe it was Kerberos (not that you can disable that directly either), but logging in as a different user (via smb://user:*@filer/share) has the same problem.

I fired up Wireshark on the client and you can see it pausing when checking file access permissions, 2 seconds between each directory when it gets a STATUS_ACCESS_DENIED response. For admin users who can read all directories, it's quick, but for regular users who don't have access to most you see the delay.

Setting kloglevel=2 in nsmb.conf shows the permission denied responses, but there's nothing else indicative of the problem.

-- 
James Andrewartha
Network & Projects Engineer
Christ Church Grammar School
Claremont, Western Australia
Ph. (08) 9442 1757
Mob. 0424 160 877