Fred K Ollinger on Mon, 13 Jan 2003 15:01:08 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Samba question


> On Sun, 2003-01-12 at 14:57, Eric Alexander wrote:
> > I am very new to Linux and I'm trying to get Samba working on Red Hat 8.0.
> > I've followed the instructions that I've read in a couple of books, but I
> > get an error on my browser that says "Could not connect to host localhost
> > (port 901)".  Does anybody have any suggestios of what I can try? Like I
> > said, I'm very new to Linux, so let me know if you need more info.

Samba is a great way to "cut your teeth" on linux as it teaches you a bit
about configging a linux box, and its syntax is a lot nicer than say,
sendmail.

Samba runs on port: 139

Windows will find this automagically.

On linux box:

Do:

nmap localhost to determine if samba is running. If it's not then you need
to install (man up2date on rh).

My nmap looks like this:

139/tcp    open        netbios-ssn

Next.
Open smb.conf file and add your
configs. smb.conf is highly human readable.
Location varies by distro.

Do:

/etc/init.d/restart

Then do

smbpasswd -a bob

Where bob is your account login. Add a passwd when prompted.

Go to windows box:

Add a user to windows (there are many windows distros so this varies a
bit) with the same name: bob, or whatnot.

Then click on "Network Neighborhood" or "Places" (again varies w/ the win
distro).

Then on windows box, search for linux box by domain (again varies, click
around a bit):

charlie.bob.com (for example)

>From here, treat linux box like a regular windows box.

Fred Ollinger


_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug