LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-10-2003, 11:20 AM   #1
thatto
LQ Newbie
 
Registered: Apr 2003
Posts: 11

Rep: Reputation: 0
Bash/Samba smbfs mount question


OK.

I am on a winNT domain at work. I have added my machine to the network via samba. I have mounted one of my network shares, but the other has a space in the path, i.e:

mount -t smbfs -o username=*****,password=*****,domain=***** //server/Personal Folders/thatto /work/personal/

yields:
Invalid share name

Contextually, this command works as I've mounted other shares the same way. I think the space between Personal and Folders is screwing it up. Ive tried hard and soft quotes around the share name. I ve also tried Personal\ Folders. I was thinking a different shell would handle the space better. Any help would be appreciated.

-Thatto
 
Old 04-10-2003, 11:44 AM   #2
BruceCadieux
Member
 
Registered: Apr 2002
Location: Wales MA.
Distribution: openSuSE 11.1
Posts: 409

Rep: Reputation: 32
Personal\ Folders/
 
Old 04-10-2003, 12:09 PM   #3
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
use:
smbclient -U username=***** -L //server
to see all the shares (and its syntax)
 
Old 04-10-2003, 02:29 PM   #4
thatto
LQ Newbie
 
Registered: Apr 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks guys.
first, BruceCadieux, I tried that already.

second, dorian33, the personal folders directory doesn't show even in Net-Neighborhood. But I can map that directory from Win2K. I think that is is hidden on the system. Is there a way to force it to show all, or is this something I should take to the sysadmin?

Thanks again
 
Old 04-10-2003, 04:37 PM   #5
Magueta
LQ Newbie
 
Registered: Apr 2003
Location: Toronto, Ontario, Canada
Distribution: Red Hat
Posts: 29

Rep: Reputation: 15
There are a couple possibilities I guess, you can make sure that the directory "Personal Folders" exists on the system, you can set the options "available" and "browseable" for the share in smb.conf to "=yes".

Joe
 
Old 04-10-2003, 04:43 PM   #6
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Sorry, I do not know NT and do not understand the idea of 'hidden' shares (wonderful M$ invention)
you can check if quoting or double-quoting the spaced folder name will help...
 
Old 04-11-2003, 09:50 AM   #7
thatto
LQ Newbie
 
Registered: Apr 2003
Posts: 11

Original Poster
Rep: Reputation: 0
When I run smbclient -U username=***** -L //server
as you suggested, the personal Folders directory is not listed, because I do not have the permissions to read it. But I do have the rights to read my subfolder in Personal folders. A hidden share is the ~same as chmod 1777 /directory. All users can only see files they own.

The problem is that I cannot "see" the synatx of the sharename from samba because I do not have the appropiate permissions.

Thanks guys.
I'll take this to our sysadmin.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount smbfs vs cifs Zurvan Linux - Networking 2 12-29-2006 02:46 PM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 03:30 PM
cannot mount smbfs flipboi Linux - Security 2 08-12-2004 09:18 AM
mount -t smbfs loganwva Linux - Networking 1 10-21-2003 11:02 AM
mount -t smbfs / smbstatus jeffvd Linux - Networking 10 10-16-2003 03:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration