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 |
Do you have support for the samba filesystem (smbfs) installed ? It is often a separate package.
Cheers, mj |
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> |
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?
|
You need to recompile the kernel for smbfs. Here's how.
http://www.linuxquestions.org/questi...5&pagenumber=1 |
Did u check the kernel for smbfs support? U might have to enable it.
Merry christmas. |
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 |
Oh I know! Use "user" instead of "users"!
|
Quote:
|
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
|
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.
|
All times are GMT -5. The time now is 10:51 PM. |