Re: [Samba] Fstab mounting error
Try using mount -t cifs instead of mount -t smbfs. It will work just fine. Notice my last two mount entries. Mark [EMAIL PROTECTED]:~$ mount /dev/sda2 on / type ext3 (rw,errors=remount-ro) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) usbfs on /proc/bus/usb type usbfs (rw) tmpfs on /dev/shm type tmpfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda6 on /home type ext3 (rw) /dev/sda3 on /usr type ext3 (rw) /dev/sda5 on /var type ext3 (rw) tmpfs on /dev type tmpfs (rw,size=10M,mode=0755) /dev/sdb1 on /mnt/usbdrive type ext3 (rw) //CORPFPS02/d$ on /mnt/fps02 type cifs (rw,mand) //CORPFPS03/c$ on /mnt/fps03 type cifs (rw,mand) [EMAIL PROTECTED]:~$ On 3/3/06, Aaron Hawryluk <[EMAIL PROTECTED]> wrote: > > Hi all, > > I've googled on this but no luck so far. > > I'm using FC4. This works flawlessly: > > Mount -t smbfs //host/share /var/mount/hostname/sharename -o > username=username,password=password,domain=DOMAIN,fmask=0777,dmask=0777 > > However, it fails in fstab when I do: > > //host/share /var/mount/hostname/sharename smbfs > username=username,password=password,domain=DOMAIN,fmask=0777,dmask=0777 0 > 0 > > Any ideas? Is this because it's not root that runs the fstab mounts? > Because even if I run mount -a as root, still no love. > > --- > Aaron Hawryluk > Webmaster, The Calgary Sun > [EMAIL PROTECTED] > http://www.calgarysun.com > Office: (403)250-4371 > Cell: (403)828-8677 > Home email: [EMAIL PROTECTED] > http://www.silicongraffiti.com > --- > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > -- "Knowledge is power and I like power." Cobra Bubbles, Lilo & Stitch -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Fstab mounting error
That worked PROPER. Thanks a million. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig White Sent: Friday, March 03, 2006 1:50 PM To: samba@lists.samba.org Subject: RE: [Samba] Fstab mounting error try putting it inside of double quotes... //host/share /var/mount/hostname/sharename smbfs "username=DOMAIN \username,password=password,fmask=0777,dmask=0777" 0 0 Craig On Fri, 2006-03-03 at 13:32 -0700, Aaron Hawryluk wrote: > Addendum: fstab fails with DOSErr = 13 "Permission denied". The > mount -t smbfs command also fails if I don't add the DOMAIN\\ > indicator in front of the user name (DOMAIN\\username). Could this be > due to different parsing of backslashes between the mount commandline and fstab? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Aaron Hawryluk > Sent: Friday, March 03, 2006 1:04 PM > To: samba@lists.samba.org > Subject: [Samba] Fstab mounting error > > Hi all, > > I've googled on this but no luck so far. > > I'm using FC4. This works flawlessly: > > Mount -t smbfs //host/share /var/mount/hostname/sharename -o > username=username,password=password,domain=DOMAIN,fmask=0777,dmask=077 > 7 > > However, it fails in fstab when I do: > > //host/share /var/mount/hostname/sharename smbfs > username=username,password=password,domain=DOMAIN,fmask=0777,dmask=077 > 7 0 0 > > Any ideas? Is this because it's not root that runs the fstab mounts? > Because even if I run mount -a as root, still no love. > > --- > Aaron Hawryluk > Webmaster, The Calgary Sun > [EMAIL PROTECTED] > http://www.calgarysun.com > Office: (403)250-4371 > Cell: (403)828-8677 > Home email: [EMAIL PROTECTED] > http://www.silicongraffiti.com > --- > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Fstab mounting error
try putting it inside of double quotes... //host/share /var/mount/hostname/sharename smbfs "username=DOMAIN \username,password=password,fmask=0777,dmask=0777" 0 0 Craig On Fri, 2006-03-03 at 13:32 -0700, Aaron Hawryluk wrote: > Addendum: fstab fails with DOSErr = 13 "Permission denied". The mount -t > smbfs command also fails if I don't add the DOMAIN\\ indicator in front of > the user name (DOMAIN\\username). Could this be due to different parsing of > backslashes between the mount commandline and fstab? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Aaron Hawryluk > Sent: Friday, March 03, 2006 1:04 PM > To: samba@lists.samba.org > Subject: [Samba] Fstab mounting error > > Hi all, > > I've googled on this but no luck so far. > > I'm using FC4. This works flawlessly: > > Mount -t smbfs //host/share /var/mount/hostname/sharename -o > username=username,password=password,domain=DOMAIN,fmask=0777,dmask=0777 > > However, it fails in fstab when I do: > > //host/share /var/mount/hostname/sharename smbfs > username=username,password=password,domain=DOMAIN,fmask=0777,dmask=0777 0 0 > > Any ideas? Is this because it's not root that runs the fstab mounts? > Because even if I run mount -a as root, still no love. > > --- > Aaron Hawryluk > Webmaster, The Calgary Sun > [EMAIL PROTECTED] > http://www.calgarysun.com > Office: (403)250-4371 > Cell: (403)828-8677 > Home email: [EMAIL PROTECTED] > http://www.silicongraffiti.com > --- > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Fstab mounting error
Further addendum: If I use the Windows Administrator's username and password, I connect properly to the fstab mounts. Anyone got any ideas? Do I need to do some advanced user administration here or something? Addendum: fstab fails with DOSErr = 13 "Permission denied". The mount -t smbfs command also fails if I don't add the DOMAIN\\ indicator in front of the user name (DOMAIN\\username). Could this be due to different parsing of backslashes between the mount commandline and fstab? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Hawryluk Sent: Friday, March 03, 2006 1:04 PM To: samba@lists.samba.org Subject: [Samba] Fstab mounting error Hi all, I've googled on this but no luck so far. I'm using FC4. This works flawlessly: Mount -t smbfs //host/share /var/mount/hostname/sharename -o username=username,password=password,domain=DOMAIN,fmask=0777,dmask=0777 However, it fails in fstab when I do: //host/share /var/mount/hostname/sharename smbfs username=username,password=password,domain=DOMAIN,fmask=0777,dmask=0777 0 0 Any ideas? Is this because it's not root that runs the fstab mounts? Because even if I run mount -a as root, still no love. --- Aaron Hawryluk Webmaster, The Calgary Sun [EMAIL PROTECTED] http://www.calgarysun.com Office: (403)250-4371 Cell: (403)828-8677 Home email: [EMAIL PROTECTED] http://www.silicongraffiti.com --- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Fstab mounting error
On Friday 03 March 2006 15:32, Aaron Hawryluk wrote: > However, it fails in fstab when I do: > > //host/share /var/mount/hostname/sharename smbfs > username=username,password=password,domain=DOMAIN,fmask=0777,dmask=07 >77 0 0 > > Any ideas? Is this because it's not root that runs the fstab mounts? I used smbfs in the past with no problem but I'm currently using cifs and this works for me: //host/share /mnt/point cifs credentials=/root/credfile 0 0 # cat credfile username=myusername password=mypassword Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Fstab mounting error
Addendum: fstab fails with DOSErr = 13 "Permission denied". The mount -t smbfs command also fails if I don't add the DOMAIN\\ indicator in front of the user name (DOMAIN\\username). Could this be due to different parsing of backslashes between the mount commandline and fstab? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Hawryluk Sent: Friday, March 03, 2006 1:04 PM To: samba@lists.samba.org Subject: [Samba] Fstab mounting error Hi all, I've googled on this but no luck so far. I'm using FC4. This works flawlessly: Mount -t smbfs //host/share /var/mount/hostname/sharename -o username=username,password=password,domain=DOMAIN,fmask=0777,dmask=0777 However, it fails in fstab when I do: //host/share /var/mount/hostname/sharename smbfs username=username,password=password,domain=DOMAIN,fmask=0777,dmask=0777 0 0 Any ideas? Is this because it's not root that runs the fstab mounts? Because even if I run mount -a as root, still no love. --- Aaron Hawryluk Webmaster, The Calgary Sun [EMAIL PROTECTED] http://www.calgarysun.com Office: (403)250-4371 Cell: (403)828-8677 Home email: [EMAIL PROTECTED] http://www.silicongraffiti.com --- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Fstab mounting error
Hi all, I've googled on this but no luck so far. I'm using FC4. This works flawlessly: Mount -t smbfs //host/share /var/mount/hostname/sharename -o username=username,password=password,domain=DOMAIN,fmask=0777,dmask=0777 However, it fails in fstab when I do: //host/share /var/mount/hostname/sharename smbfs username=username,password=password,domain=DOMAIN,fmask=0777,dmask=0777 0 0 Any ideas? Is this because it's not root that runs the fstab mounts? Because even if I run mount -a as root, still no love. --- Aaron Hawryluk Webmaster, The Calgary Sun [EMAIL PROTECTED] http://www.calgarysun.com Office: (403)250-4371 Cell: (403)828-8677 Home email: [EMAIL PROTECTED] http://www.silicongraffiti.com --- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] fstab mounting
Sorry, did not know how to reply to the mailing list... samba in fstab //server/share /mountpoint smbfs userid=foo,passwd=bar,rw 0 0 -- Paul Edgar Verification Engineer Linux Technology Center / IBM External 512.838.1493 / TieLine 678-1493 [EMAIL PROTECTED] No trees were destroyed in the sending of this message, however, a significant number of electrons were terribly inconvenienced. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] fstab mounting
On Fri, 2004-01-02 at 07:46, Bruno Cochofel wrote: > Hi there... > I want to mount a windows share automatically in fstab but I get an error > > When I try: mount -t smbfs //MSWinSMBServer/share /mnt/share, it works, > and even when I pass options like, > > mount -t smbfs -o > username=bcochofel,workgroup=COCHOFEL,uid=bcochofel,gid=users > > then, when asked, I type password... > > The problem is when I do this in my fstab... > > here's the line: > > //MSWinSMBServer/mnt/sharesmbfsnoauto,user00 > Shouldn't the first part include the actual share? //MSWinSMBServer/SHARE Craig -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] fstab mounting
Hi there... I want to mount a windows share automatically in fstab but I get an error When I try: mount -t smbfs //MSWinSMBServer/share /mnt/share, it works, and even when I pass options like, mount -t smbfs -o username=bcochofel,workgroup=COCHOFEL,uid=bcochofel,gid=users then, when asked, I type password... The problem is when I do this in my fstab... here's the line: //MSWinSMBServer/mnt/sharesmbfsnoauto,user00 I even tried, //MSWinSMBServer/mnt/sharesmbfs noauto,user,credentials=/home/bcochofel/.smbpassword00 //MSWinSMBServer/mnt/sharesmbfs noauto,user,username=bcochofel,workgroup=COCHOFEL,uid=bcochofel,gid=users 00 but I get always this error: mount error: Invalid argument Please refer to the smb... smbmnt failed: 255 What is wrong in my fstab? -- Bruno Cochofel, Tlm: +351 918921624 ICQ#: 314484707 [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba