BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old December 18th, 2001, 03:58 PM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 8
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
Samba?

I have a LAN with a Win2k box and a freebsd box. If I want to be able to mount a drive on the W2K box on my FreeBSD box, would I use Samba for this, or is this only for making FreeBSD files/printers visible to Windows machines? If not, what approach is best to take?

Thanks.
Brett

Reply With Quote
  #2  
Old December 18th, 2001, 10:03 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,298 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 1 h 54 m 21 sec
Reputation Power: 41
Samba comes in two parts: the Samba server, so that Windows computers can mount Unix directories, and the Samba client, so that the Unix machine can access Windows file shares.

The Samba client (smbclient) is basically an ftp-style command-line interface. It doesn't really mount the Windows fileshare, to make it available as part of your Unix filesystem. It simply allows you to explore a Windows shared directory and download files locally.

If you really want to mount a Windows drive locally, you have a couple of choices:

1. Get an NFS server for Windows. This allows Windows to export a directory that appears to be a Unix network file share. Just do a search at Google for "NFS for Windows", and you will find several applications.

2. Get an application that allows your Unix box to actually mount the remote windows directory: Sharity Light is an example. Read more here. There is also a project to create full support for SMB file share mounting directly in FreeBSD, but this is still in beta development.
__________________
The real n-tier system:

FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

Amazon wishlist -- rycamor (at) gmail.com

Reply With Quote
  #3  
Old December 18th, 2001, 11:52 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> There is also a project to create full support for SMB file share mounting directly in FreeBSD

Yes. But although smbfs is in a developing stage, it's far more stable than sharity-light. It's even more stable when running latest version of FreeBSD stable branch -> 4.4-STABLE because smbfs support has been added and integrated to the kernel.

Here is a real example:
I mount my E:\Warez share from Windows to FreeBSD using smbfs because I have 20GB of Warez on Windows and my FreeBSD box doesn't have to much disk space. I also serve those appz to my friends via Apache running on FreeBSD, so I just setup a vhost and Alias the entire /mnt/warez partition for my warez site. As far as resource and maintenance, I don't have to get a 20GB drive for FreeBSD and of course, I don't have to sync the drives from Windows to FreeBSD.

Reply With Quote
  #4  
Old December 19th, 2001, 11:02 AM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 8
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
Cool. That is pretty much what I want to do -- share my original music, educational films of the adult variety, and no strings attached programs <cough> via ftp. Although, I have no need to set up a virtual host or alias it in bind because I am not serving via httpd. All of these files are on a large drive on my windows machine. I also want to be able send back ups of my FreeBSD machine to it (and a remote location eventually).

Thanks for the help, guys.

Brett

Quote:
Originally posted by freebsd
>> There is also a project to create full support for SMB file share mounting directly in FreeBSD

Yes. But although smbfs is in a developing stage, it's far more stable than sharity-light. It's even more stable when running latest version of FreeBSD stable branch -> 4.4-STABLE because smbfs support has been added and integrated to the kernel.

Here is a real example:
I mount my E:\Warez share from Windows to FreeBSD using smbfs because I have 20GB of Warez on Windows and my FreeBSD box doesn't have to much disk space. I also serve those appz to my friends via Apache running on FreeBSD, so I just setup a vhost and Alias the entire /mnt/warez partition for my warez site. As far as resource and maintenance, I don't have to get a 20GB drive for FreeBSD and of course, I don't have to sync the drives from Windows to FreeBSD.

Reply With Quote
  #5  
Old December 19th, 2001, 11:17 AM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,298 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 1 h 54 m 21 sec
Reputation Power: 41
Oh, yeah... I forgot that when a FreeBSD project is in beta, that means its more stable than Microsoft's umpteenth service release of a full product .

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Samba?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway