[PLUG] Samba help....

Maximillian Karpiak mxk@purdue.edu
Thu, 12 Nov 1998 01:47:42 -0500


Well, first you've gotta set up samba. You need to edit the file
"smb.conf" to reflect the values on your machine.

Here's the simplest route to sucess:

In smb.conf (which lives in /etc/ on redhat, on other distros I don't
know), set:

workgroup = foo
netbios name = bar (you may have to add this line!)
server string = some sort of comment

where foo is the name of the workgroup you want to be in, bar is the
name you want your machine to display, and "some sort of comment" is a
piece of text about your machine. Mine is "Max's Linux Box", minus the
quotes.

>From there, the defaults will probably suffice, though there may be
security holes. Your best bet is to read the Samba HOWTO
(www.linuxhowto.com) and the manpage for smb.conf.
>From there, once you're done tweaking the conf file, fire up smbd and
nmbd. If you're using a machine that uses a SysV type init (Redhat,
others) I can provide you with a service start/stop script.

That'll get samba going in general. Now to connect to the machine you
want, you've gotta use smbclient. It's an ftp-like program. Its manpage
is excellent, check it out. A starting hint is to use something like

smbclient '\\Foo\' -I 128.210.193.214

where Foo is the name of your friend's computer (in windows networking).
You may also need to provide user name, etc. Read the manpage. The
manpage is your friend.

Again, you need to look at the manpage for smb.conf, smbclient, and the
HOWTO document. It's possible to open security holes with this program,
though it's also possible to do some amazingly cool things. I'm
currently serving home directories to people with accounts on my
machine, as well as a printer, a shared directory, and allowing friends
to join my workgroup even though they're on another subnet. The
documentation is your friend, though the stuff above is a collection of
things I found useful.

Later,
Max

ReTodd wrote:
> 
> Can someone please give me some information on how to use Samba please?  I
> want to connect to a MS network in the dorm, more importantly the guys IP is
> 128.210.193.214.  Do I use smbclient or something like that?  First to reply
> with working answer wins!!!
> 
> Thanks,
> ReTodd "Self-Proclaimed Linux Virgin"
> retodd@purdue.edu
> 
> --
> This message is from the Purdue Linux Users' Group (PLUG) mailing list.
> Send mail server commands to <plug-request@csociety.purdue.edu>.
--
This message is from the Purdue Linux Users' Group (PLUG) mailing list.
Send mail server commands to <plug-request@csociety.purdue.edu>.