So I'm trying to mount the network share, when I run
sudo mount -a
I'm prompted for a password with the message
Password for root@//192.168.1.10/storage
And when I enter the root password for the Freenas box I receive the error
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
running
tail -f /var/log/kern.log
returns the following
Jan 1 11:05:42 wolololo kernel: [54440.154538] CIFS: Unknown mount option "0"
Jan 1 11:07:39 wolololo kernel: [54556.213730] CIFS: Unknown mount option "0"
Jan 1 11:09:50 wolololo kernel: [54687.169066] RPC: Registered named UNIX socket transport module.
Jan 1 11:09:50 wolololo kernel: [54687.169071] RPC: Registered udp transport module.
Jan 1 11:09:50 wolololo kernel: [54687.169073] RPC: Registered tcp transport module.
Jan 1 11:09:50 wolololo kernel: [54687.169075] RPC: Registered tcp NFSv4.1 backchannel transport module.
Jan 1 11:09:50 wolololo kernel: [54687.192241] FS-Cache: Netfs 'nfs' registered for caching
Jan 1 11:13:17 wolololo kernel: [54894.193108] CIFS: Unknown mount option "0"
Jan 1 11:13:48 wolololo kernel: [54925.858485] CIFS: Unknown mount option "0"
Jan 1 11:14:50 wolololo kernel: [54987.706216] CIFS: Unknown mount option "0"
My fstab line is as follows:
//192.168.1.10/storage /media/nasMount username=anonymous,password=,uid=1000,gid=1000,users,auto 0 0
Sorry to be a bother, I'm basically in an entirely Windows environment at work, so cutting my teeth on linux at home feels a bit alien at times. I'm going to try to mount the ACD share with the tool you linked though.
Edit:
I figured it out! My shares aren't PW protected (I'm horrible I know.)
the correct fstab line was:
//192.168.1.10/storage /nasShare cifs guest,uid=1000,iocharset=utf8 0 0
So far I have the network share + the acd mounted, working on ENCFS now.