I've got a private share set up on my home server (running Ubuntu Server 12.04.2 64-bit), such that I can mount it with a username/password. I've got it auto-mounting in /etc/fstab with the following line:
This worked immediately after I set it up. Though if I reboot my server while my desktop is up, I'm unable to re-mount it later. I get this fun error:
//192.168.1.120/jaywalker_pshare /media/server cifs username=jaywalker,password=xxx,domain=WORKGROUP 0 0
Which of course tells me nothing. The only solution I've found is to delete user jaywalker from smbpasswd, and re add. THEN I can re-mount the share, but that's a horrid fix.
mount error(13): Permission deniedRefer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I'm hoping someone can shed some light on this?
The shares config is like so:
Let me know if you need more info. My desktop (the machine mounting the drive) is running Ubuntu 12.04.2 64-bit.
comment = Jays Private Share
path = /media/Storage/jaywalker_pshare
valid users = jaywalker
browsable = no
guest ok = no
read only = no
directory mask 770
create mask = 770