[Samba] Mounting smbfs as guest at boot time
suespence99 at yahoo.co.uk
Thu Feb 28 15:52:05 GMT 2002
I wish you had replied to my most recent message,
where I mentioned that I have in fact tried mounting
the share in boot.local, which is the SuSE linux
equivalent to rc.local.
I may give up and negotiate with the win2k admins to
set me up some bogus user and then put a
username/password string in the mount command. I know
that will work. It's just not gonna work as guest
unless I background the mount during boot and let it
keep trying until it finally succeeds, and that seems
like a poor solution (even if it did work, and it
FWIW I think this is a bug. I'm just not sure whose
bug it is.
--- Joel Hammer <Joel at HammersHome.com> wrote:
> I haven't tried this lately but:
> I used to do as you want. I had a statement to mount
> all my network shares
> on my machine at boot. I put that command into
> which, according to the documentation in rc.local,
> is the last script run.
> If running last IS important, you could just make up
> your own script and
> finagle with the startup script sequences to run
> this script last. It
> isn't hard, and there may well be a GUI to do this
> for you.
> I mount all my shares as guest, too.
> These startup scripts I THINK run with root
> Why don't you post the exact commands your are
> trying to use from a
> startup script?
> Have you checked in /var/log/messages for errors
> during boot?
> On Thu, Feb 28, 2002 at 12:11:20PM +0000, Sue Spence
> > --- Joel Hammer <Joel at HammersHome.com> wrote: >
> > you tried putting your mount command in
> > > rc.local?
> > Yes. Isn't that actually earlier in the boot
> > than putting something like "mount -at smbfs" in
> > "start" section in /etc/init.d/smbfs (which is
> > executed when going to runlevel 2 because it is
> > as S11smbfs in /etc/init.d/rc2.d)?
> > There must be some minor but crucial environment
> > difference between being anywhere in the boot
> > and being logged in which causes mounts as guest
> > fail. I would love to find out how to fix it, if
> > possible.
> > Best regards,
> > Sue Spence
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
More information about the samba