I am constantly forgetting one or more Samba/CIFS packages that are required to mount a Windows network share. The return codes don’t really provide very much useful info. Even when searching Google there was not a whole lot for return code -22. For CentOS, I found installing the following package solved my CIFS error.