[Tfug] Mounting smbfs
Josh Miller
jmiller at larson-usa.com
Wed Nov 12 15:13:29 MST 2003
Nope, the drive mounts - the command just doesn't return to the shell
prompt. If I ctl-c the shell or, I suppose, open a different shell, I
can use the mounted filesystem normally.
The local system is redhat 9 with samba 2.2
The remote shares I'm mounting are samba 2.0 on redhat (I think) 7
-Josh
On Wed, 2003-11-12 at 14:57, Jeremy Rogers wrote:
> Coincidentally, I was trying to get some automagic backup things working using samba today, and I put exactly the same thing as Josh in my fstab and everything worked fine.. no hanging. I did have problems with password authentication and whatnot that I had to straighten out first. Could it be that the wrong username and/or password is being sent?
>
> I have:
> debian/testing
> samba 2.2.3a-12.3
>
> Cheers,
> JDR
>
> -----Original Message-----
> From: tfug-bounces at tfug.org on behalf of Terence Rudkin
> Sent: Wed 11/12/2003 8:56 AM
> To: Tucson Free Unix Group
> Cc:
> Subject: Re: [Tfug] Mounting smbfs
> I too have hung mounting smbfs.
> This is what I did
>
> in /etc/fstab
> //server/d$ /mnt/D smbfs defaults,user,credentials=/root/cred 0 0
>
> in /root/cred
> username = somename
> password = somepass
>
> Non root users cannot see the file with permissions:
> drwxr-x--- 22 root root 4096 Nov 12 08:46 root
> -rw-r--r-- 1 root root 37 Jul 22 08:24 /root/cred
> as long as there are not member of group root.
>
>
> On Wed, 2003-11-12 at 08:22, Josh Miller wrote:
> > This isn't a problem, it's an annoyance and a curiosity.
> >
> > I want to mount an smb share on my linux box.
> > At the command line, I can do "$smbmnt //server/share ... etc" and it
> > works fine, but I want to enter "$mount /mnt/smb", which is a little
> > quicker, so i put an entry in fstab:
> >
> > //server/share /mnt/smb smbfs noauto,user 0 0
> >
> > Now when I enter "$mount /mnt/smb", I am asked for the password and the
> > volume is mounted, but the command doesn't finish and return to the
> > shell prompt. i.e. it seems to hang and I have to hit ctl-c to get the
> > prompt back.
> >
> > Any ideas?
More information about the tfug
mailing list