Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
smbmount in local.start fails on boot but works from fstab
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
mrconover
n00b
n00b


Joined: 22 Aug 2003
Posts: 8

PostPosted: Tue Aug 03, 2004 8:40 pm    Post subject: smbmount in local.start fails on boot but works from fstab Reply with quote

I would really like to mount an smb share from local.start instead of fstab. The problem is that inside of local.start I get access denied errors upon boot. If I run the same command from the prompt it works fine.

smbmount //server/share /mnt/where -o password=xxx username=xxx

This problem seems to be universal on the net but I cannot locate a solution. I will be rolling gentoo out to 1450 different computers. Most of these computers reside on different networks with different computer names. If I use local.start to mount my smbshares I can easily set an environment variable for each of the different computer names. I don't want to rewrite fstab each time the computer boots unless I have to. It would be nice to leave that alone. What is the difference between running this command from local.start and running it from the command prompt? Is it a permissions issue? Any suggestions.
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Tue Aug 03, 2004 10:04 pm    Post subject: Reply with quote

Well, could you perhaps post the actual error so we can see what the problem is instead of making blind guesses? :D
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
mrconover
n00b
n00b


Joined: 22 Aug 2003
Posts: 8

PostPosted: Thu Aug 05, 2004 3:38 pm    Post subject: issue resolved Reply with quote

the actual error message was Access Denied. It turned out to be an issue with smbmount. If I did the exact same arguments with mount -t smbfs then it work flawlessly. Now I know.
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