No, no.  Sorry Tim that is not right.

Samba is an SMB and NT server emulator.

SMB is "server message blocks", a session layer (I think) network protocol.  It is 
also called Netbios and lanmanager protocol.

On your win2k box, share the files with normal windows sharing.  You may want to have 
the shares set to read only.

On your debian system, compile the "smbfs" kernel module.  It is under "network 
filesystems" or something like that.
apt-get install the smbfs package which contains smbmount/smbumount

in /etc/smb.conf put your workgroup (or domain)
workgroup=blah

mount a drive like this:
smbmount //win2kbox/share /mnt/hamma -o username=joe/blah%secret

/mnt/hamma must exist.  The full username/password need not be in there.  You should 
include at least the username.  It will prompt for a password.

In your fstab you can put something like:
//arne/cory     /home/cory/pd   smb     defaults,user  0 0

which is the reason for using the /etc/smb.conf file.
Although you will get an error message on boot up (something like -v option not valid) 
you can then just type:
mount pd  (run in my home dir: /home/cory)

and it will ask for the password, then mount the drive.

Justin, having your "C:" drive formatted to fat32 should have nothing to do with 
giving macintoshes the ability to read it, unless that system is a mac (running 
win2k), or unless you take that harddrive out and plug it into a mac.  Only the win2k 
kernel reads the drive directly.  Any system that "reads" it across the network is 
really only talking to Win2k's (freebsd's) tcp/ip stack and win2k network drivers and 
redirectors.  Whether the filesystem is ntfs or fat32 does not matter.  The win2k 
kernel can read it either way, and talks to the network drivers the same, either way.  
With ntfs5, you will get the ability to do compression, greater security flexibility 
and perhaps a faster access due to the layout of the file system for such a large 
drive.

Cory


On Mon, Jul 23, 2001 at 01:13:06PM -0700, Tim Howe wrote:
> So, basically you need to set up your Win2k box as a NFS server OR use
> SAMBA
> on the firewall to share the drive that way...  Right?
> 
> Tim
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Justin Bengtson
> > Sent: Monday, July 23, 2001 1:06 PM
> > To: 'euglug'
> > Subject: [EUG-LUG:1804] how do i mount a network drive?
> >
> >
> > i have a 40gb drive in my main computer and i'd like to mount
> > the drive from
> > my firewall.
> >
> > the main computer is using win2k pro, the firewall runs
> > debian.  the drive
> > is fat32 (so even my macs can read it...)
> >
> > do i have to install anything on win2k, or can i just mount
> > the shared drive
> > from my firewall?  more importantly, has anyone ever done this?
> >
> > thanks!
> >

Reply via email to