»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 12-22-2003, 02:00 AM   #1 (permalink)
Registered User
 
squeech's Avatar
 
Join Date: May 2002
Location: Rocky Mountain High
Posts: 522
squeech is on a distinguished road
Samba-fstab issues

Greetings all,

I'm in the process of building a web fileserver for myself and others that I know.

The system that I am running on is Drake 8.2, and I am having a little trouble with some of my samba mount points.

This system will have a few folders mounted on it from a few WinXP boxes that I have around here. When i run smbmount as root, each individual share mounts perfectly. However, I would like to translate these mounts to the fstab file so that I do not have manually reenter them should the need arise to reboot the server.

Currently, my entries look like this:

//compname/folder /home/user/mountfolder smbfs user,password=,uid=ed,gid=ed

And every time I boot the machine, Linux says "Access Denied" for each folder while mounting SMB filesystems.

What am I missing? When I run the mount under root, I am asked for a password and I simply press enter each time and it mounts great. Do I need to add something specific??

TIA

__________________
Talking in numbers doesn't make you smarter.
squeech is offline   Reply With Quote
Old 12-22-2003, 10:33 AM   #2 (permalink)
Registered User
 
squeech's Avatar
 
Join Date: May 2002
Location: Rocky Mountain High
Posts: 522
squeech is on a distinguished road
^_^
__________________
Talking in numbers doesn't make you smarter.
squeech is offline   Reply With Quote
Old 12-22-2003, 02:05 PM   #3 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
Do you specify the username when you mount it?
I mount my samba shares like this (not the most secure way I know)
Code:
//files/documents /mnt/network/server smbfs username=richard,umask=077,uid=richard,gid=users,rw,noauto,user 0 0
Your local user (in this case richard) has to have read/write access to the directory as well.
Make sure you didn't create the directory as root. Check it with ls -l.
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 12-22-2003, 08:11 PM   #4 (permalink)
Registered User
 
squeech's Avatar
 
Join Date: May 2002
Location: Rocky Mountain High
Posts: 522
squeech is on a distinguished road
Aha. It was indeed a login permission problem. After reading your post, I went back over the options directives for smbmount on the man page and I noticed the username directive. I was using the nfs title for user!

Also, you are right, the local uid and gid were cauing r/w issues with the specified directory.

Thanks for the inspiration!
__________________
Talking in numbers doesn't make you smarter.
squeech is offline   Reply With Quote
Old 12-23-2003, 08:35 AM   #5 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
Bugger. Double post
__________________
_____
NuKeS

Last edited by nukes; 12-23-2003 at 08:47 AM.
nukes is offline   Reply With Quote
Old 12-23-2003, 08:35 AM   #6 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
np, glad you got it sorted.
Now you can get at your fileserver for christmas
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 12:17 PM.