apologies to the author for double mails, forgot to cc: the list :)> > Here is the mtab entry: > > //DELL-4400/linux /root/mnt/DELL-4400/linux smbfs 0 0 >Try: DELL-4400/linux /root/mnt/DELL-4400/linux smbfs defaults 0 0 you must specify options for all mount points :) Hope this helps.. -Justin
Or this. //DELL-4400/linux /root/mnt/DELL-4400/linux smbfs noauto,user,rw umask= 0 0 0 --- Justin Ryan <justin@gnubian.org> skrev: > apologies to the author for double mails, forgot to> cc: the list :) > > > > > Here is the mtab entry: > > > > //DELL-4400/linux /root/mnt/DELL-4400/linux smbfs > 0 0 > > > > Try: > > DELL-4400/linux /root/mnt/DELL-4400/linux smbfs > defaults 0 0 > > you must specify options for all mount points :) > > Hope this helps.. > > -Justin > > -- > To unsubscribe from this list go to the following > URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba______________________________________________________ Se den nye Yahoo! Mail p? http://no.yahoo.com/ Nytt design, enklere ? bruke, alltid tilgang til Adressebok, Kalender og Notisbok
I am trying to mount a Windows share on my Linux machine at boot time. I tried using the same syntax in /etc/fstab that is in /etc/mtab, but this did not work. Here is the mtab entry: //DELL-4400/linux /root/mnt/DELL-4400/linux smbfs 0 0 Barry
Barry Skidmore wrote:> > I am trying to mount a Windows share on my Linux machine at boot time. > I tried using the same syntax in /etc/fstab that is in /etc/mtab, but > this did not work. > > Here is the mtab entry: > > //DELL-4400/linux /root/mnt/DELL-4400/linux smbfs 0 0 > > Barry > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/sambaThis may or may not meet your needs - sorry for the wasted bandwidth if it doesn't. We needed a mechanism for our experimental LTSP lab to transparently mount & unmount shares from a Win2000 server at login/logoff awhile back. What we came up with is a set of shell scripts that do this utilizing the capability of gdm to run pre & postsession scripts. Unfortunately, at least at this time, you _do_ have to use gdm as your display manager as I have not found a way to make kdm perform similar functions. This does not tie you to the Gnome desktop - you can still run, KDE, Ice, or whatever - but you have to use gdm to do it. The scripts use two hidden files in your home directory, one to tell the scripts what share to mount where, the other is a credentials file. Putting the credentials in your home directory (hopefully) keeps them more secure as opposed to putting them in fstab which is usually world readable. If you want to give them a spin you can get them at: http://scnc.lsd.k12.mi.us/~mrambo Just follow the linux link. Hope this helps. -- Mike Rambo mrambo@lsd.k12.mi.us
Mike, Thanks, I will take a look at this. What I was realling looking for, however, was a way to do the mount at boot rather than at logon. So far none of the posted suggestions have worked for me. Barry> We needed a mechanism for our experimental LTSP lab to transparently > mount & unmount shares from a Win2000 server at login/logoff
Hallo Barry Skidmore, you wrote:> I tried the command you sent and used the quotes. Below > is the result, i.e., the same error message: > > [root@mail skidmore]# /usr/sbin/smbmount "\\\\sheltie\\linux" > '/root/mnt/sheltie/linux' -o username=skidmore,password=xxx > execvp of smbmnt failed. Error was No such file or directory.smbmnt > failed: 1if you are using a selfcompiled version, you need a link to the correkt location of smbmount in /sbin. I think, this is not documented yet but I had the same problem and there was a tip in the mailing list... Here is, what I do: cd /sbin ln -sf ../usr/bin/smbmount mount.smbfs If smbmount is in /usr/bin... tom
I tried the command you sent and used the quotes. Below is the result, i.e., the same error message: [root@mail skidmore]# /usr/sbin/smbmount "\\\\sheltie\\linux" '/root/mnt/sheltie/linux' -o username=skidmore,password=xxx execvp of smbmnt failed. Error was No such file or directory.smbmnt failed: 1 Barry On 09.30.2002 13:50 linux power wrote:> There is a problem in samba with the mount command. I > got the same error when I tried a month ago.So I found > that command I send you and use the quotes , and that > worked. But I think samba must be compiled with the > smbfs option. >
[skidmore@mail skidmore]$ /usr/sbin/smbmount "\\\\sheltie\\linux" '/home/skidmore/linux' -o username=skidmore,password=xxx execvp of smbmnt failed. Error was No such file or directory.smbmnt failed: 1 I received the same error message after setting up a mount point in my home directory: /home/skidmore/linux In your command, are you certain about the direction of the '\' -vs- '/' and the use of ' instead of " around the mount point? Barry> You shall not use the mnt to mount a smb file system. > Its not in any man pages. U shall try with > '/home/barry/linux' and make sure the dir excist.
//sheltie/linux exists on windows. It can be accessed from both Windows (using Network Neighborhood) and from Linux (using smbclient or the xSMBrowser GUI). Do I have to do anything special with the mount point on the Linux side (/home/skidmore/linux), other than to make sure it exists? Barry> Are u sure the > shares excists on both windoze and lindoze and that u > have shared that folder in the windoze?