Fix key error for NFS exports paths
This showed up a few days ago in the nightlies. I can connect to Freenas but the shares are not displayed. I cannot access a share directly.
- Status changed from Unscreened to Closed
seen in FreeNAS-11.3-MASTER-201901140913.
To reproduce add smb share and enable smb. Smb share is confirmed accessible. Reboot freenas smb share is still accessible. Add nfs share reboot freenas. Smb share is NOT accessible. Delete nfs share and reboot freenas. Smb share is accessible.
- File smb4_share.conf added
I think this is a side-effect of a breakage I introduced. Try replacing /usr/local/lib/python3.7/site-packages/middlewared/etc_files/local/smb4_share.conf with attached and the issue "midclt call etc.generate smb_share".
Issue is tracked here: https://github.com/freenas/freenas/pull/2400