LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-24-2009, 02:35 PM   #1
Ujjain
Member
 
Registered: Mar 2009
Posts: 33

Rep: Reputation: 15
I have installed and configured Samba on my server, what next?


I wish to add a Network Drive from the Samba Server. The Samba Server is located at another location.

Can I add the Network Drive without a VPN?
 
Old 04-24-2009, 03:33 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
http://us1.samba.org/samba/
 
Old 04-24-2009, 06:47 PM   #3
Ujjain
Member
 
Registered: Mar 2009
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by stress_junkie View Post
The website contains much too much information. I am seriously getting confused by all information about Samba. I am unable to find the instructions I desire for configuring my Vista workstation from that website and the wiki.
 
Old 04-24-2009, 07:19 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
What do you mean by adding a network drive to a samba server? If it is a NAS, it is another samba server all it's own. Do you mean you will be adding a hard drive to a samba server?

When you say the samba server is at another location, is it on another site, across the internet? If so, then smb isn't secure. Look at using a VPN tunnel, or use scp. Or look at webDAV or ftp. Although FTP isn't secure in its own right.

Ssh is good for secure tunnels using a single port, but Samba normally uses more than one port. So to use an ssh tunnel t secure the traffic, you need to run samba using only a single port. For that refer to the samba documentation. The one you want is "Samba 3 HOWTO & Reference Guide". You may be able to install a "Samba-doc" package. It contains this & two more books. Or google for the terms: `Samba3-HOWTO' extdf'

Last edited by jschiwal; 04-24-2009 at 07:20 PM.
 
Old 04-25-2009, 06:18 AM   #5
Ujjain
Member
 
Registered: Mar 2009
Posts: 33

Original Poster
Rep: Reputation: 15
I am seriously confused of Samba's role in network drives seriously. As far as I know a Samba server must be requires in your own network, or else you wouldn't be able to access it by \\HOSTNAME e.g. \\SAMBASERVER.

Using FTP and/or SCP for that purpose is not a good idea I think. I do require maximum latencies of 50 ms... for accessing files.

FTP and SSH logins can easily take up to a full second, which can be very annoying if you're working hard.
 
Old 04-25-2009, 07:15 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You didn't answer about whether the server you want to reach is on your LAN or on the Internet.
 
Old 04-25-2009, 07:16 AM   #7
Ujjain
Member
 
Registered: Mar 2009
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal View Post
You didn't answer about whether the server you want to reach is on your LAN or on the Internet.
I apoligize. It's on the internet. (datacenter)

I wish to access the network drive from multiple (geographical) locations.
 
Old 04-25-2009, 07:24 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Then use VPN or WebDAV or scp. You can't simply have a windows or Samba file server on the internet. As a matter of fact, most ISP's will block the ports that are used for Windows file sharing. You can also use ssh in a command such as:
tar -C -g timestampfile /home/ -cf - . | ssh user@host tar -C /backups/ -xf -
to replicate files across the internet.

Last edited by jschiwal; 04-25-2009 at 08:56 AM.
 
  


Reply



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
glib2.0 installed. xmms could not be configured ramkri Linux - Newbie 1 07-11-2007 03:30 AM
Linux 2.6.{0,1} (configured sources installed) gokultck Linux - Software 1 03-23-2006 07:54 PM
samba server is not installed Volcano Linux - Newbie 11 10-07-2005 05:07 AM
Installed Xfree 4.3.0, configured, but it still doesn't work enigma Z Linux - General 2 09-24-2003 08:41 PM
server wizards not there yet samba installed and running shaneblyth Mandriva 4 09-24-2003 05:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 PM.

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
Open Source Consulting | Domain Registration