Posts Tagged ‘share’

Recently we needed to add a new alias to a share for it to be accessible from 

  1. Add DNS A record for that name ( e.g. fileshare -> 192.168.0.33 )
  2. run setspn -S host/fileshare existingfileshareserver (e.g. setspn -S host/filenew file01)
GD Star Rating
loading...
GD Star Rating
loading...
Recently needed to create an NFS share to hosts some ISO's for Xen server

New-NfsShare -Name "NFSshare01" -Path "C:\NFSshare" -EnableUnmappedAccess $True -Authentication Sys 


Grant-NfsSharePermission -Name "NFSshare01" -ClientName "10.0.0.110" -ClientType "host" -Permission "readwrite" -AllowRootAccess $True 

 

 
GD Star Rating
loading...
GD Star Rating
loading...

Recently we had a Mac not be able to access a Windows Samba (SMB) Share

Thinking a windows update could have caused some issue, we tested another Mac but it worked fine 

OS X Mavericks 10.9 brings a change of SMB2 instead of SMB1 , which can be disabled with the below command 

echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf

This still didn’t work so we reverted back to SMB2 with the below

rm ~/Library/Preferences/nsmb.conf

I used Telnet to make sure there wasn’t a network issue on port 445 ( Open Terminal , enter Telnet and open IP 445) which worked

I installed a trial of this on the Windows File Server which creates an AFP share , which worked by is 1000$!

https://www.acronis.com/en-au/mobility/mac-windows-compatibility/

We upgraded the Mac to the latest OS 10.14 ( for free )  and it solved the issues

GD Star Rating
loading...
GD Star Rating
loading...