View previous topic :: View next topic |
Author |
Message |
mrconover n00b
Joined: 22 Aug 2003 Posts: 8
|
Posted: Tue Aug 03, 2004 8:40 pm Post subject: smbmount in local.start fails on boot but works from fstab |
|
|
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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Tue Aug 03, 2004 10:04 pm Post subject: |
|
|
Well, could you perhaps post the actual error so we can see what the problem is instead of making blind guesses? _________________ 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 |
|
|
mrconover n00b
Joined: 22 Aug 2003 Posts: 8
|
Posted: Thu Aug 05, 2004 3:38 pm Post subject: issue resolved |
|
|
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 |
|
|
|