There was an syntaks error in what I wrote.At boot it should be auto and not noauto.MAke sure /root.. dir excist. It should then be: //DELL-4400/linux /root/mnt/DELL-4400/linux smbfs auto,user,rw,umask= 0 0 0 --- linux power <linuxpower2002@yahoo.no> skrev: > Dato: Sun, 29 Sep 2002 22:20:22 +0200 (CEST)> Fra: linux power <linuxpower2002@yahoo.no> > Tema: Re: [Samba] Mounting Share at Boot > Til: samba@lists.samba.org > > 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 >______________________________________________________ Se den nye Yahoo! Mail p? http://no.yahoo.com/ Nytt design, enklere ? bruke, alltid tilgang til Adressebok, Kalender og Notisbok
//DELL-4400/linux /root/mnt/DELL-4400/linux smbfs auto,user,rw,umask= 0 0 0 When the system (Red Hat 7.2) is booting with the above line in fstab, it hangs up at the following point: "Mounting SMB filesystems:" If I hit Enter, the following message appears: "Password: SMB Connection Failed" Any ideas what might be going on? Thanks, Barry
On Sun, Sep 29, 2002 at 12:25:02PM -0500, Barry Skidmore wrote:> //DELL-4400/linux /root/mnt/DELL-4400/linux smbfs auto,user,rw,umask= 0 0 0 > > When the system (Red Hat 7.2) is booting with the above line in fstab, it > hangs up at the following point: > > "Mounting SMB filesystems:" > > If I hit Enter, the following message appears: > > "Password: SMB Connection Failed"Where are the windows user and password? Take a look at "man smbmount" You would add .., username=WindowsUser, password=WindowsPassword, ... to the options, or better ..., credentials=FileName, ... where the file FileName has the following content: username = WindowsUser password = WindowsPassword -- Frank Matthie? fm+samba@Microdata-pos.de
On Mon, Sep 30, 2002 at 12:05:01AM -0500, Barry Skidmore wrote:> Frank, > > I know how to do what you suggest when using smbmount, but not for an > entry in fstab. Could you provide some additional help on that? > > //DELL-4400/linux /root/mnt/DELL-4400/linux smbfs auto,user,rw,umask= 0 0 0//awek-ref/Barzen /mnt/awek-ref/barzen smbfs rw,username=xxxxxx,password=xxxxxxxxxx,uid=1000,gid=1000 This mount a remote smbfs ( Windows nt 4.0 Workstation) at my box. //awek-ref/Barzen /mnt/awek-ref/barzen smbfs rw,credentials=/root/.barzen.smbfs,uid=1000,gid=1000 cat /root/.barzen.smbfs username = XXXXXXXXXXXXXXXX password = XXXXXXXXXXXXXXXX Hope this helps. Frank. -- Frank Matthie? fm+samba@Microdata-pos.de