HP3000-L Archives

September 2006, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
donna hofmeister <[log in to unmask]>
Reply To:
Date:
Thu, 7 Sep 2006 13:04:33 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (77 lines)
--- "Gribbin, Francis J." <[log in to unmask]> wrote:

> Hi All,
> 
> Here's some useful info when getting SWAT going.
> 
> In SERVICES.NET you'll want a line that reads:
> swat         901/tcp                 # Samba/iX Web Admin Tool
> 
> In INETDCNF.NET you'll want:
> swat         stream tcp nowait.400 SAMBA.ORG /SYS/SAMBA/SWAT207L swat
> -a
> (adjust the path to your SWAT NMPRG)

(umm...do you really have 'nowait.400' in your inetdcnf.net.sys file??)

fwiw, the above comments for inetdcnf.net seem to be pretty old.  if
you're running 2.2.8, you'll want:

swat          stream tcp nowait MANAGER.SYS /usr/local/samba/SWAT swat

if you're running an older version of samba, you'll need to modify
'/usr/local....' to point to where swat actually lives (just like frank
already noted) (and case is important).  i *believe* the user needs to
match the user in your samba daemon jobs.  (for me, it's manager.sys,
for you it may be mgr.samba)  i also think you do NOT want to use the
-a switch.  here's what the swat documentation has to say:
----------------
-a
This option disables authentication and puts swat in demo mode. In that
mode anyone will be able to modify the smb.conf file. 

Do NOT enable this option on a production server. 
-----------------
when i connected to my mpe/samba server (running swat without -a) thru
a browser to access swat, i was asked for a logon and password...which
i figure is a good thing.

> I reboot the 3000 at this point.

you shouldn't need to do that.  after changing your services and
inetdcnf files, all that you should have to do is give inetd a swift
kick (e,g,  :inetd.net -c  ) check inetd's $stdlist after doing that
and you should see that it brought in the new configuration.

> In your web browser point to:
> http://xxx.xxx.xxx.xxx:901/
> (where xxx.xxx.xxx.xxx is the IP of your 3000)

(or you can use the name of your 3000 too...)

> The Samba Web Administration Tool should display.

holy cats!  it does!!  :-)

> I recommend Whisper's Programmer Studio when updating Samba and
> Apache
> config files as some are picky about how the records are terminated.
> Programmer Studio adjusts automagically.

i'll add my ditto for programmer studio too.  "oh look! it's got pretty
colors!" 8-}         - d (but qedit works great as well!)

Donna Hofmeister, HP-CSA  Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631              Longs Drug Stores

>>>MY opinions, not Longs Drug Stores'<<<

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2