Skip to main content

Thread: Unable to permanently mount shared folders


within our network, we're running windows 2008 server, ubuntu server v11.10, , several windows 7/xp workstations.

having trouble sharing folders/files hosted on ubuntu server. i'm able create shared folder manually selecting folder , configuring shared options. after creating shares, other computers can access data.

issue starts whenever server reboots.

after server restarts, have reconfigure shared folders again.


i'd find way mount shared folders during boot process. date, added follow command rc.local file:

sudo mount -t cifs -o username=root,password=xxxxxx //192.168.1.11/ms_sharename /media/fc503cc8503c8c00/foldername

problem shared folders not mount correctly and/or other computers can not access these shares. please let me know we're missing...

thanks.


make credentials file

put in /root

name .sharecred

contents follows...

username=domain\user
password=password

edit /etc/fstab

//192.168.1.11/share /media/fc503cc8503c8c00/foldername smbfs credentials=/root/.sharecred,gid=1901,iocharset=utf8,file_mode=0777,dir_mode=0 777 0


type mount -a mount it.

mount after every reboot automatically.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Unable to permanently mount shared folders


Ubuntu

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?