LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Connect to Windows Share (https://www.linuxquestions.org/questions/linux-newbie-8/connect-to-windows-share-115059/)

plexi100 11-11-2003 10:11 PM

Connect to Windows Share
 
I have Apache running on a RedHat 7.3 box. I am currently building webpages with Netscape Composer. I want to be able to create a link in the Composer page that will link to a shared file on a Windows 2000 machine.

What does my Linux box need to complete this. Samba???

Even a point in the right direction will help

thanks in advance...

bretticus 11-11-2003 10:29 PM

If you have smbfs compiled into your kernel, you can insert this into your /etc/fstab.

//machine/share /mnt/share smbfs noauto,username=user,password=pass

This allows me mount a share on a Linux box as it it were a nfs mount. Pretty cool stuff

plexi100 11-12-2003 09:12 PM

I believe I do, if not I can get it from my cd's or the Internet.

I will give it a go...

thanks for all the help...

this is an awesome site...

plexi100 11-12-2003 09:15 PM

Also, this will mount upon startup...correct???

bretticus 11-12-2003 10:45 PM

actually, if you don't have it compiled into your kernel, you'll need to recompile your kernel. Seems like I coudln't just make it a module. You'll know if you don't when you try to mount it because you'll get a "ERROR: smbfs filesystem not supported by the kernel" when you issue the mount command. I would recommend keeping it "noauto" or not having it come up on a reboot.

bretticus 11-12-2003 10:48 PM

On second thought, If it's not compiled into your kernel. I would at least try to use a kernel module. Worth a try at least. unless you're comfortable recompiling your kernel.

bretticus 11-12-2003 10:59 PM

Oh, I guess I should mention too, you need to get the smbfs commands via a package RPM or deb (Debian is my favorite flavor). OR you can probably get it or info Here


All times are GMT -5. The time now is 10:36 AM.