PDA

View Full Version : [ubuntu] Mount windows share



Griffi09
May 15th, 2008, 04:43 PM
Working with ubuntu server 8, a bit of a novice but trying to learn the command server. Put my server into an existing windows network. I want to mount some of those shared volumes, been searching on google but have come up short.

can someone help me with the command.

thanks

HermanAB
May 15th, 2008, 05:52 PM
Hmm, Samba is immensely complicated. Go to the http://samba.org and look for the Official Howto Guide. There is also a guide specific to Ubuntu. Read both guides and buy the book.

Cheers,

Herman

Griffi09
May 17th, 2008, 02:25 PM
Been working at this for awhile and think i'm getting closer but get an error. the best command to use so far has been

sudo mount -t ntfs -o username=Administrator,password=password //192.168.1.x/share /mnt/dir


the error: ntfs-3g failed to access volume no such file or directory.


the directory is shared off win2k3 with permissions for everyone to have full control.

any thoughts?

koenn
May 17th, 2008, 07:47 PM
you can't mount a samba share or windows share as type 'ntfs' : the client (the host where you execute the mount) doesn't see any ntfs filesystem, all it sees is smb packets.

try mount with -t smbfs or -t cifs, or smbmount

http://samba.org/samba/docs/man/manpages-3/smbmount.8.html

Griffi09
May 20th, 2008, 12:04 AM
Unfortunately no, still the same error msg. no matter if i start the command with mount -t cifs or mount -t smbfs

using smbmount i get a different error.

"mounting the DFS route for domain not implemented yet No Ipaddress specified or hostname found"

which i don't understand i am specifying the ip address of my 2k3 file server.

any idea's on what i'm doing wrong?

Iowan
May 20th, 2008, 02:59 AM
My latest favorite link. (http://ubuntuforums.org/showthread.php?t=800313&highlight=cifs)