I've looked in /usr/local/samba/swat for help and even the samba source docs and can't find anything on setting up swat. I've also looked at samba.org/samba/docs, but can find a swat setup doc. Can some please point me in the right direction? thanks, daniel
Kinda depends on what OS you are running. Can you tell us? The Archimage Daniel_Casey@jbhunt.com wrote:> > I've looked in /usr/local/samba/swat for help > and even the samba source docs and can't > find anything on setting up swat. > > I've also looked at samba.org/samba/docs, > but can find a swat setup doc. > > Can some please point me in the right direction? > > thanks, > > daniel
Whoops, sorry. It's Sun Solaris 2.8 running apache. The Archimage <archimage@linux- To: samba@us5.samba.org magic.com> cc: Sent by: Subject: Re: setting up swat samba-admin@us5.s amba.org 01/03/2001 15:35 Kinda depends on what OS you are running. Can you tell us? The Archimage Daniel_Casey@jbhunt.com wrote:> > I've looked in /usr/local/samba/swat for help > and even the samba source docs and can't > find anything on setting up swat. > > I've also looked at samba.org/samba/docs, > but can find a swat setup doc. > > Can some please point me in the right direction? > > thanks, > > daniel
I hope this is the right mailing list to post this question. I have my swat binary located at "/usr/local/samba/sbin/swat", and the directory access point is "/usr/local/samba/swat". I went into my "/etc/xinetd.d" directory and created a new script with the name "swat", with the following contents: # default: off # description: SWAT is the Samba Web Admin Tool. Use swat # to configure your Samba server. To use SWAT, # connect to port 901 with your favorite web browser. service swat { disable = yes port = 901 socket_type = stream wait = no only_from = localhost user = root server = /usr/local/sbin/swat log_on_failure += USERID } Then, I issued the following command: chkconfig swat on However, when I load up the "http://localhost:901/" page, I don't get anything at all. Do I need to have apache web server installed, in order to use swat? Does anyone know why I can't get swat to come up on my system? Thanks.
Yea, when I run that command "chkconfig swat on", it sets the disable to "no". Red Hat controls the xinet through this chkconfig application, so it does all the HUP'ing for me. So after setting 'chkconfig swat on', I open the swat file and verify that it is set to disable = no. But I still can't connect on http://localhost:901 -----Original Message----- From: Rob Tanner To: Joseph Phillips; 'samba@lists.samba.org' Sent: 8/27/03 1:25 PM Subject: Re: [Samba] Setting up SWAT You need to enable SWAT. You've currently got disbale set to "yes". Set it to "no" Then you need to HUP the xinet daemon to get it to reread the files. -- Rob --On Wednesday, August 27, 2003 12:42:29 PM -0700 Joseph Phillips <jphillips@amphus.com> wrote:> I hope this is the right mailing list to post this question. > > I have my swat binary located at "/usr/local/samba/sbin/swat", and the > directory access point is "/usr/local/samba/swat". > > I went into my "/etc/xinetd.d" directory and created a new script with > the name "swat", with the following contents: > ># default: off ># description: SWAT is the Samba Web Admin Tool. Use swat ># to configure your Samba server. To use SWAT, ># connect to port 901 with your favorite web browser. > service swat > { > disable = yes > port = 901 > socket_type = stream > wait = no > only_from = localhost > user = root > server = /usr/local/sbin/swat > log_on_failure += USERID > } > > Then, I issued the following command: chkconfig swat on > > However, when I load up the "http://localhost:901/" page, I don't get > anything at all. > > Do I need to have apache web server installed, in order to use swat? > > Does anyone know why I can't get swat to come up on my system? > > Thanks. > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/sambaRob Tanner UNIX Services Manager Linfield College, McMinnville OR
I finally got it working. I changed 'localhost' to 127.0.0.1 and then it started working. But my /etc/hosts files looks configured properly, so I don't know why that would be an issue. Anyway, it's working now. But I have a new problem, which is that the 'Create Share' button does not work. I type in the name of my share (for example 'Public') and then click 'Create Share', and it brings me to a blank white page. It's supposed to go to a details page where I type in the location of the directory to be shared, etc. But it's not going on to that details page after I click 'Create Share' button. Anyone else have this problem? -----Original Message----- From: Rob Tanner To: Joseph Phillips Cc: ''samba@lists.samba.org' ' Sent: 8/27/03 3:08 PM Subject: RE: [Samba] Setting up SWAT A couple of things. First, I use RedHat and was never aware that chkconfig does the HUP'ing for you so I've always just done it all by hand, and SWAT works for me. Possible conclusion: chkconfig isn't working like it's suppossed to. The other thing to check is that your machine resolves localhost properly and that your pointing your browser to localhost as well, and not to the machine's regular IP address. Lastly, make sure that ipchains/iptables isn't causing the problem. -- Rob --On Wednesday, August 27, 2003 01:39:38 PM -0700 Joseph Phillips <jphillips@amphus.com> wrote:> Yea, when I run that command "chkconfig swat on", it sets the disableto> "no". Red Hat controls the xinet through this chkconfig application,so> it does all the HUP'ing for me. > > So after setting 'chkconfig swat on', I open the swat file and verify > that it is set to disable = no. But I still can't connect on > http://localhost:901 > > -----Original Message----- > From: Rob Tanner > To: Joseph Phillips; 'samba@lists.samba.org' > Sent: 8/27/03 1:25 PM > Subject: Re: [Samba] Setting up SWAT > > You need to enable SWAT. You've currently got disbale set to "yes". > Set > it to "no" Then you need to HUP the xinet daemon to get it to reread > the > files. > > -- Rob > > --On Wednesday, August 27, 2003 12:42:29 PM -0700 Joseph Phillips > <jphillips@amphus.com> wrote: > >> I hope this is the right mailing list to post this question. >> >> I have my swat binary located at "/usr/local/samba/sbin/swat", andthe>> directory access point is "/usr/local/samba/swat". >> >> I went into my "/etc/xinetd.d" directory and created a new scriptwith>> the name "swat", with the following contents: >> >># default: off >># description: SWAT is the Samba Web Admin Tool. Use swat >># to configure your Samba server. To use SWAT, >># connect to port 901 with your favorite web browser. >> service swat >> { >> disable = yes >> port = 901 >> socket_type = stream >> wait = no >> only_from = localhost >> user = root >> server = /usr/local/sbin/swat >> log_on_failure += USERID >> } >> >> Then, I issued the following command: chkconfig swat on >> >> However, when I load up the "http://localhost:901/" page, I don't get >> anything at all. >> >> Do I need to have apache web server installed, in order to use swat? >> >> Does anyone know why I can't get swat to come up on my system? >> >> Thanks. >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > Rob Tanner > UNIX Services Manager > Linfield College, McMinnville OR > >Rob Tanner UNIX Services Manager Linfield College, McMinnville OR