LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 11-11-2003, 11:11 PM   #1
plexi100
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
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...
 
Old 11-11-2003, 11:29 PM   #2
bretticus
Member
 
Registered: Nov 2003
Distribution: Debian 3.1
Posts: 36

Rep: Reputation: 15
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
 
Old 11-12-2003, 10:12 PM   #3
plexi100
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Original Poster
Rep: Reputation: 0
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...
 
Old 11-12-2003, 10:15 PM   #4
plexi100
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Also, this will mount upon startup...correct???
 
Old 11-12-2003, 11:45 PM   #5
bretticus
Member
 
Registered: Nov 2003
Distribution: Debian 3.1
Posts: 36

Rep: Reputation: 15
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.
 
Old 11-12-2003, 11:48 PM   #6
bretticus
Member
 
Registered: Nov 2003
Distribution: Debian 3.1
Posts: 36

Rep: Reputation: 15
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.
 
Old 11-12-2003, 11:59 PM   #7
bretticus
Member
 
Registered: Nov 2003
Distribution: Debian 3.1
Posts: 36

Rep: Reputation: 15
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
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to connect to windows share? rerun07 AIX 22 06-17-2005 05:53 PM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 09:23 AM
How to connect to a Windows share? Ook Slackware 9 04-08-2005 01:24 PM
Authenticating through Windows active directory to connect to a Linux share ganninu Linux - General 1 04-07-2005 06:39 PM
connect to windows share without samba? zuessh Linux - Software 7 01-30-2004 03:37 PM


All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration