Click to See Complete Forum and Search --> : linNeighborhood and smbmount issues..


inspleak
06-24-2002, 08:58 PM
Hi all.. I finally have my box running like I want all except for this one thing..

I can't seem to mount SMB shares.. I can copy stuff to and from the Linux Box (RH 7.3)
from the Win2k machine...I even have LinPopUp working.. However I cannot mount drives from the Win2k machine onto the Linux Box..

This is the error I get with Linneighborhood

execvp of smbmnt failed.Error was No such file or directory.smbmnt failed:1

So I went to the command line and tried to just use smbmount to mount the share
then I noticed that now you are supposed to use smbmount from mount.. so I tried this:

mount -r smbfs -o username=lev_user //leviathan/Lev_C /home/inspleak/testmnt

it asked for the password.. I put it in.. and then I got the same error that I recieved in linNeighborhood

so I went to the linNeighborhood site and in there he said something about 2 different version of smbmount.. however this is a clean install of RH7.3 and I can only find 1 version of smbmount or smbmnt..

so there you have it.. any suggestions?
oh and how do you set the PATH variable without just adding to the end of it?

thanks so very much!

I have documented everything that I have done since the install and I will post it all after I clean it up and I fix this one last problem..

-Jake

Wolff
06-25-2002, 04:27 AM
Have you tried :

smbmount //what_you_want_to_mount /where_you_want_to_mount_it -o username=*username*

This is the default I use, and it works fine. You didn`t state your distro, but with slackware, using LinNeigbourhood you have to be root, or set the permissions for ordinary users.

cowanrl
06-25-2002, 04:58 AM
This post may give some help using smbmount:
http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=13&t=006455

jaygee432
06-25-2002, 10:03 AM
I've used linneighborhood and smbmount, but I prefer sharity light (http://www.obdev.at/products/sharity-light/) for mounting windows shares in linux, found it easier to set and use.

inspleak
06-25-2002, 10:54 AM
hey guys.. thanks for the help..
It seems that I needed to be root inorder to
mount things... could someone tell me how
to set it so that I can mount and not be root?

thanks again!

Wolff: I'm running RedHat 7.3
Cowanrl: thanks for the link!
jaygee432: Thanks I'll give it a shot..

-Jake

cowanrl
06-25-2002, 11:57 AM
Originally posted by inspleak:
<STRONG>It seems that I needed to be root inorder to mount things... could someone tell me how
to set it so that I can mount and not be root?
-Jake</STRONG>

You need to suid /usr/bin/smbmnt. Just enter this command as root at a command line:

chmod u+s /usr/bin/smbmnt

And it is smbmnt, not smbmount. smbmount calls smbmnt to actually mount the share. You can't suid smbmount(well you can, but it won't work properly)

After that, non-root users can use smbmount. It will also let non-root users use LinNeighborhood.

inspleak
06-25-2002, 07:49 PM
Thanks again guys.. everything is working
quite nicely.. I can't get flash to work
under Konqueror but works great under mozilla..

thanks again!

I will clean up my new docs soon and try to get them uploaded here or someplace..

-jake