Originally Posted by
sloppyc
Thanks to the OP! This worked flawlessly on the first try. I just skipped the netbios part and substituted the IP address for my own needs. Now I have my shared media from my Vista box mounted at bootup. Awesome.
Okay, this did work in Hardy. I upgraded to Jaunty, now I get this:
Code:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Here's my fstab:
Code:
# /etc/fstab: static file system information.
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=af04d48e-9288-41b6-9d3f-d7ced1be6ac8 / ext3 relatime,errors=remount-ro 0 1
# /home was on /dev/sdb1 during installation
UUID=2f52c6fd-e43d-4796-b2a5-fdf944e31ee7 /home ext3 relatime 0 2
# swap was on /dev/sda5 during installation
UUID=63cde2cd-974c-33a1-de20-181f6e7ea2a2 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
##Network shares
//192.168.0.199/Audio /media/Audio cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_m$
//192.168.0.199/Videos /media/Videos cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_m$
//192.168.0.199/Software /media/Software cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_m$
//192.168.0.199/iTunes /media/iTunes cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_m$
I have set up smbpasswd and I can access the shares when I go the "connect to server" route. So the account does have permission.
I tried adding "nounix" after ".smbcredentials" and that made no difference (do I really want "nounix" anyway? I'm just running Vista at the moment, but I will be installing Ubuntu and openSUSE on here and would like the shares avalable to the other PCs no matter what OS I'm in as I did before I upgraded my machines this week)
Bookmarks