Access A VISTA shared folder from UBUNTU
PROBLEM: For some reason I cannot see the vista shared folders from UBUNTU!
I can access any share on the XP and Linux Server from my Ubuntu system
When I try to access the Vista share (which has all of my music & Pics) I just
get "The folder Contents can not be displayed" error.
I can acces this share from any windoze PC, and I don't have a monitor and keyboard on the server to test it from there.
I already setup my smb.conf with the correct workgroup.
I've been running Linux servers for the past 10 years.
They just work!!
Suggestions?
SOLUTION:
In synaptic Package Manager
Install SMBCLIENT & SMBFS
restart samba (or reboot)
to manually mount a drive
Assume here Windoze & Linux user is fred, password is fredpass
vista system ip = 192.168.1.105
vista share is music
Folder to mount on Unbuntu system /home/fred/music
sudo mount -t smbfs –o
username=fred,password=fredpass //192.168.1.105/music /home/fred/music
This will mount the vista share to /home/fred/music
To make it automatic every time you boot use this....
create a text file in your home directory with 2 lines
username=fred
password=fredpass
save it as .smbpasswd (the . makes it hidden)
in a terminal:
chmod 600 .smbpasswd
then backup your fstab using
sudo cp /etc/fstab /etc/fstab.bak
sudo gedit /etc/fstab
add this line to the bottom
//192.168.1.105/music /home/fred/music smbfs credentials=/home/fred/.smbpasswd,uid=fred,gid=users 0 0
(The line above should read ,gid=users 0 0 (NOT use rs 0 0 )
save and exit
test it with
sudo mount –a
If all goes well it will now be mounted and the next time you reboot the share will be mounted automatically.
Good Luck!!!
I tried using the system's network name and it just wouldn't work. I had to us the IP address.
Credits for this solution goes to itzabo
Written by computerboom on November 16th, 2008 with
comments disabled.
Read more articles on News and Windows and Windows Downloads and Windows Tips and Windows Vista and Windows XP and software.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article