Click to See Complete Forum and Search --> : Samba mount problems.


rnsmith
04-04-2003, 06:44 PM
I can manually mount an NTFS volume via the terminal in RH8.0 (mount -t smbfs, etc...). But when I browse with Nautilus (smb://)I get a "you do not have permissions to view" message. What is wrong?

Magueta
04-04-2003, 07:57 PM
What happens when you browse the mounted directory through your terminal, also, can you show us the complete mount command and the output?

Joe

rnsmith
04-05-2003, 12:45 PM
The terminal mount command is "mount -t smbfs -o username=x,password=x //ComputerName/Share/ /mountpoint"
This works fine. In Gnome I type smb:// in the Nautilus window and all the workgroups show up. I can then login to the NT Server and enter user/pass. A list of shares comes up. But when I double-click, I get the message "Not enough permissions to view contents." Maybe I need a mount point defined before I view?

Magueta
04-06-2003, 02:05 AM
I can suggest another couple of places to check. First I would have to ask how you decided to use the "username=x,password=x" options in the mount command. I'm not an expert on mounting NTFS but when I look in the man page for the mount command and I look at both the regular options and the filesystem specific options to -o I can't find the ones that you've entered so maybe you can check that. The second that I think you might check is the permissions on the files/folders that you're trying to mount. Finally, I'm a little unclear on what you're trying to mount, you say that you can mount an NTFS volume but your command mounts an smbfs volume. Are you trying to mount an NTFS volume from Linux?

Joe

rnsmith
04-07-2003, 10:23 AM
The username/password options were listed in the smbmount command, which is no longer available in RH8. When I tried smbmount it gave a "help" listing for the mount command. All I am trying to do is use the Gnome GUI to browse my NT network and mount volumes. I was using the mount -t smbfs command as a test. If the command line can do it, why can't the GUI?
Thanks.

elderdays
04-07-2003, 05:19 PM
A friend of mine is having a similar problem to this and I told him I would look here.

I can tell you that your mount command is fine. If you can then get to where you mounted the filesystem and see the files, it worked. Also I can say I use the same command often, but I leave off the password part and it prompts me for it.

rnsmith
04-07-2003, 09:07 PM
Thanks for confirming the mount command. But the underlying problem is when I use the GUI to "browse" the network. I get a login prompt, and the shares are visible. When I try to acces a share I get a permission error. What else does the GUI need that the Terminal does not?

elderdays
04-07-2003, 11:46 PM
I don't understand why you are saying you are mounting an NTFS partition. If this is a share on a remote computer, then it doesn't matter what file system type it is, as long as it is a true smb share.

If the share mounts successfully through the terminal with the mount command, then it is mounted into your /mountpoint and you should be able to just see it in nautilus without doing any of that smb:// stuff.

If this is a share on a remote computer, you are using the username/password for that share and not for you local machine's user account aren't you?

rnsmith
04-08-2003, 10:34 AM
Yes you are correct. If it is mounted in the terminal then I can get at it through Nautilus. The point I am trying to make is that if it is NOT MOUNTED through the terminal, shouldn't I still be able to browse the network and give a user/pass and mount a share through the GUI? Just like Windows does. I need to be able to browse the network and look for files easily. Easy = GUI.

elderdays
04-08-2003, 02:26 PM
If it really is an smb share and you have the smbclient installed, then yes, you should be able to access it with a username/password combo the will authenticate you to that share. Keep in mind this is not necessarily the username/password you use on your linux box.

Just put it in your /etc/fstab if its that big of a deal. Look over at this thread here (http://www.justlinux.com/forum/showthread.php?s=&threadid=95796&highlight=smbfs+AND+%2Fetc%2Ffstab) at what Hayl says a few posts down.