[Samba] Mounting Share at Boot
Barry Skidmore
skidmore at mail.worldvenue.org
Mon Sep 30 18:18:00 GMT 2002
This is an excellent idea. In investigating this, however, I have
found that I can not even do the following:
--------------------------------------------------------------------
mount -t smbfs -o username=skidmore,password=xxx //sheltie/linux
/root/mnt/sheltie/linux
execvp of smbmnt failed. Error was No such file or directory.smbmnt
failed: 1
---------------------------------------------------------------------
I can assure you that "/root/mnt/sheltie/linux" exists, and if I do the
following with
'smbclient', I can connect.
(I can also mount '//sheltie/linux' using the GUI 'xSMBrowser')
------------------------------------------
[root at mail skidmore]# smbclient //sheltie/linux -U skidmore%xxx
added interface ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx
nmask=xxx.xxx.xxx.xxx
Got a positive name query response from xxx.xxx.xxx.xxx ( xxx.xxx.xxx.xxx )
smb: \> ls
. D 0 Tue Sep 10 12:33:52 2002
.. D 0 Tue Sep 10 12:33:52 2002
Nutritional Needs of Dogs With Cancer.txt 5665 Mon Mar 8
15:32:52 1999
38152 blocks of size 1048576. 28567 blocks available
smb: \>
---------------------------------------------------------------------
Any thoughts?
Thanks,
Barry
> > Have you tried smbmount "\\\\client machine\\dir"
> > '/home/barry' -o username=xxx password=xxx
> > in your rc.local file for boot and the unmount in
> > the
> > halt file.?
More information about the samba
mailing list