Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mounting a remote fileserver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Shrekkie
n00b
n00b


Joined: 22 May 2003
Posts: 64
Location: Belgium

PostPosted: Fri Apr 02, 2004 7:17 am    Post subject: mounting a remote fileserver Reply with quote

Hey,

I have a lil problem mounting a network drive at work.
I use samba and I can succesfully automount a share on another box via /etc/fstab.
Also that particular networkdrive I can browse via xfsamba, so i can reach it , and my credentials are ok.

Here's my fstab :
Quote:
/dev/hda1 /mnt/c ntfs noatime,umask=777 0 0
/dev/hda2 /boot ext3 noauto,noatime 1 1
/dev/hda4 / ext3 noatime 0 0
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

none /proc proc defaults 0 0

none /dev/shm tmpfs defaults 0 0
//TCU_Server/TCU_Server /mnt/tcuzuid smbfs username=*,password=*,fmask=777
//*****/Data/Afd/db/TCU/No /mnt/no smbfs username=*,password=*,fmask=777


and here's my error :

Quote:

root@S04200 n300851 # mount -a
18989: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed


I know its a pretty straightforward error, but I can browse that network drive with xfsamba.
It's about the last line in my fstab. My thought is that i can't mount it cause its not actually a share but a real drive, like a mapped network drive.

Any suggestions ? Thnx
_________________
irc.michiels.nu #lobby if you wanna talk to me.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Apr 02, 2004 12:46 pm    Post subject: Reply with quote

You must mount the share - you can't mount a directory on that share, which is what you're trying to do.
Note that this doesn't work in Windows either - it is always just one servername followed by one sharename.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Shrekkie
n00b
n00b


Joined: 22 May 2003
Posts: 64
Location: Belgium

PostPosted: Fri Apr 02, 2004 1:00 pm    Post subject: Reply with quote

tried to mount machine and than add following dirs as next steps to find out what the share is.
No luck. :|
_________________
irc.michiels.nu #lobby if you wanna talk to me.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Apr 02, 2004 1:52 pm    Post subject: Reply with quote

Read again what I said: you have to mount a share.
Nothing else can and will work.

Surely you know the name of the share and machine in your own network ?
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum