LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 12-21-2004, 04:27 PM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
mount as user not working


hi there i'm using fedora core 1 and samba-3.0.7-2 and am trying to mount a samba share as a user but i can't seam to get it to work, i've followed all the instructions i can find and made my fstab file like this.

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sdb2 swap swap defaults 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,users,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,users,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
//senior_main/pma /home/paulie/pma smbfs auto,users,username=paulie,password=****** 0 0
//senior_main/d$ /home/paulie/main smbfs auto,users,username=paulie,password=****** 0 0

and when i try and run the mount command i get this

[paulie@localhost paulie]$ mount //senior_main/pma
mount: wrong fs type, bad option, bad superblock on //senior_main/pma,
or too many mounted file systems

could someone please help me out i'm totally lost

Last edited by paul_mat; 12-21-2004 at 04:28 PM.
 
Old 12-21-2004, 05:21 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Do you have support for the samba filesystem (smbfs) installed ? It is often a separate package.

Cheers,

mj
 
Old 12-21-2004, 05:30 PM   #3
cyto
Member
 
Registered: Aug 2004
Location: London
Distribution: FreeBSD 6.0, Freebsd 5.3, Freebsd 4.10, SuSE 9.2 pro, Slackware 10.1, FreeBSD 5.4 RC3
Posts: 270

Rep: Reputation: 30
Did u try to mount as root(user). I tried this in slackware as root and it worked for me. Thanks for sharing.

<edit>
Try ip addresses. it worked for me.
<edit>

Last edited by cyto; 12-21-2004 at 05:43 PM.
 
Old 12-21-2004, 10:15 PM   #4
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
i ran rpm -qa | grep samba to find out what if any samba services i have and it came back with 'samba-common-3.0.7-2.FC1' but when i ran locate smbmnt and smbumount i couldn't find those commands so maybe i don't have smbfs support, can you tell me how to get it?
 
Old 12-22-2004, 01:11 AM   #5
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
You need to recompile the kernel for smbfs. Here's how.

http://www.linuxquestions.org/questi...5&pagenumber=1
 
Old 12-22-2004, 05:57 AM   #6
cyto
Member
 
Registered: Aug 2004
Location: London
Distribution: FreeBSD 6.0, Freebsd 5.3, Freebsd 4.10, SuSE 9.2 pro, Slackware 10.1, FreeBSD 5.4 RC3
Posts: 270

Rep: Reputation: 30
Did u check the kernel for smbfs support? U might have to enable it.

Merry christmas.
 
Old 12-22-2004, 07:07 AM   #7
Gkarfield
Member
 
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123

Rep: Reputation: 15
bsd rules, but i messed it up (this was for cyto),

hey , for smb mounts, its somewhere, smb.conf, over there is another file, for mounts
do smbmount works? i used that and i had a strange access.
from the linux box i looked all the shares in the local net, and then share them back

check
www.oreilly.com
for samba
 
Old 12-22-2004, 07:08 AM   #8
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Oh I know! Use "user" instead of "users"!
 
Old 12-22-2004, 07:22 AM   #9
cyto
Member
 
Registered: Aug 2004
Location: London
Distribution: FreeBSD 6.0, Freebsd 5.3, Freebsd 4.10, SuSE 9.2 pro, Slackware 10.1, FreeBSD 5.4 RC3
Posts: 270

Rep: Reputation: 30
Quote:
Originally posted by Gkarfield
bsd rules, but i messed it up (this was for cyto),
What do u mean Gkarfield?
 
Old 12-22-2004, 08:45 AM   #10
Gkarfield
Member
 
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123

Rep: Reputation: 15
i am new to freebsd, and i can not do a thing, can not see the modem and all that, i am blind (in freebsd), i am a newbie, i messed up the thing. thats all cyto. oh yes I 've freebsd 5.3

Last edited by Gkarfield; 12-22-2004 at 08:54 AM.
 
Old 12-22-2004, 08:56 AM   #11
cyto
Member
 
Registered: Aug 2004
Location: London
Distribution: FreeBSD 6.0, Freebsd 5.3, Freebsd 4.10, SuSE 9.2 pro, Slackware 10.1, FreeBSD 5.4 RC3
Posts: 270

Rep: Reputation: 30
lol. Freebsd is not that hard. I have never configured xfree86 or xorg in linux(i just used default file). But in freebsd i configured them sucessfully by hand. Freebsd's documentation is great. Explains everything. Ports are great.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
user cannot mount? emanresu Linux - Newbie 4 12-08-2005 07:00 AM
user cant mount after chmod 777 /bin/mount misterwiddle Linux - General 2 04-06-2005 05:36 PM
User mount ?? exvor Linux - Software 8 11-13-2004 08:40 PM
how to use 'mount' as user servnov Linux - Newbie 6 11-02-2004 02:49 PM


All times are GMT -5. The time now is 03:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration