I was playing with this on my test machine, (redhat 5.2, samba 2.0.3) worked great, and I was really impressed. So I decided to install this on my office machine. (redhat 4.2, samba 2.0.3) and the only significant difference is that on the office machine, I use encrypted passwords. I cannot get swat to authenticate on the second machine. That is, no matter what account, password combination it refuses to allow me to connect. I can't find any error logs for swat. Can anyone give me some help ? thanks bob
Master Browser Elections are decided according to master browser election protocol. The protocol establishes the following criteria: Election Protocol Version -- not used yet Operating System Type Time On-Line Hostname There are some other modifiers, but these are the general criteria. For extensive information get John D. Blair's book _SAMBA:__Integrating_UNIX_and_Windows_ and see the section "The Browser Election Protocol" on page 42. Brian Lee Bowers | Division of Government Research Computer Aide II | University of New Mexico dgr0bb@unm.edu |
rshepard@stpetes.org wrote:> I cannot get swat to authenticate on the second machine. That is, no > matter what account, password combination > it refuses to allow me to connect.Make sure you're not connecting using a web proxy.
> ------------------------------ > > Date: Mon, 22 Mar 1999 15:09:05 +0100 > From: sramirez@dimetronic.es > To: samba@samba.org > Subject: License Control in Samba - How to control opened files ? > > Hi Samba World > > I want to control the number of access (Open Operations) to a file to > implement a License Control. > > Cold I do this in samba with a option ? For example say that > \apli\backup.exe will open only 7 times !!! > > If with a samba option, I cannot do this, where can I modify or find the > function that open files from disk to modify it ? > > Regards > > Santos Ramirez >When I faced a similar problem in a multi-user app I wrote I did the following. I setup a file on the server in the directory where all application data files are located and whenever a user starts the application up from a workstation (or the server for what its worth) I add a record to the file and lock it. So, if there were four instances of the application running there would be four locked records. The record included the workstation ID, date/time, and a user login name. During program initialization before the program writes and locks the a new record it first reads through the file counting all the currently locked records. If the number of locked records exceeded the number of licensed users an appropriate message is displayed and the application terminates. It's a kind of dumb solution to the problem but it works. If one of the instances of the application bombs for whatever reason the record is automatically unlocked. Part of the logic of the startup process checks to see if there are no locked records (meaning this is the only instance of my application running) in which case the file is purged so it now only contains one record, which keeps it from growing to an unseemly size. There's no guarantee this is hacker proof but it works and I haven't had any problems with the 300+ sites using the multi-user version of the application. Regards, Scott
I've been placed with an odd task...and SMB and Windows networking itself are bad juju to me, so I'm certainly having a hassle with it. A number of users want to be able to do cross-subnet browsing. That isn't a problem... I know how to do that. With WINS at least. Although if cross- subnet browsing can be done without WINS (and without enabling UDP broadcasts across a hundred subnets), I'd love to hear how. The problem is, we want to be able to control the machines that register themselves with the Samba WINS server. In fact, we'd gladly turn off "registering" at all, and run total with an lmhosts file. This is generally to prevent people from plugging their box in as an arbitrary BOX from workgroup WORKGROUP and fooling others into thinking they're really that machine. I know "Workgroups" and WINS itself are generally aging concepts, but I'm dealing with about 6500 machines running anything from Win3.1 to NT5 betas. WINS seemed to be the lowest common denominator. Our DNS naming scheme generally appears as <User>.<Department>.Dal.Ca. IPs are not dynamic. What I'd LIKE to do is generate an lmhosts file that says "<Department>\<User> <IP>". Basically, take each machine, and shove it into a particular workgroup with a particular name, and if the user doesn't like it they'll just have to get over it. CAN this be done? I know the MS lmhosts files had a G: option of some sort, to specify which workgroup the machine was in, but Samba (as of 1.9 at least) doesn't appear to grok that. I hope what I'm trying to do is at least visible... as I read over my own explanation it sounds like such a mess. To make it worse, we're in a mixed protocol environment here (IPX and TCP/IP, although almost all the machines have IP, I'm sure).
I have 100 PC's, 90 of which I would like to allow guest to print, 10 which I would like to require a username/password. I see that I can add "include = /etc/smb.conf.%m" in the smb.conf, and have the [printers] share defined in that file. I guess I could have two files and 98 links with the names of each client, but perhaps there is another way? If anyone can make a suggestion I would appreciate it. Thanks, Dan --------------------------------------------------------- Dan Roscigno ddr@phys.ufl.edu (352)392-4028 Physics Dept. University of Florida 2122 New Physics Building
Hello, Can someone please tell me what is causing a fresh install of Samba 2.0.3, when going to localhost:901 and after being asked for passwd, get authentication error?? I have notice the following in messages: Mar 22 14:27:55 heretic swat: no modules loaded for `samba' service Mar 22 14:27:55 heretic last message repeated 120 times Thank you in advance for any help which you may offer. Lanny
When the world was young, Chris Moylan <crm0922@rocketmail.com> carved some runes like this:> I have installed samba 2.0.0 on our AIX 4.1 machine. It appears to be > working fine in domain security mode. Except for one thing: No matter > what the read permissions in Unix are, ANY user can read EVERY file in a > share. Write permission is working properly. What the heck is going on > here?What happens if you try security=user? Steve ****************************************************************** Stephen L Arnold http://www.rain.org/~sarnold #include <std_disclaimer.h> ******************************************************************
When the world was young, George Gallen <ggallen@slackinc.com> carved some runes like this:> We are running samba 1.9.16p11, and seem to be doing > just fine. > > Last Month, our IT dept informed us that our machine > was attempting to be a master browser, which the NT > Wins server was not happy about. Below is my global > config options. > > When I killed/restarted the samba daemons (running as > daemons and not via inetd) the problem seem to vanish. > Feeling this was a fluke, it was dismissed. > > Apparantly it happened again, last week, so I'm wondering.... > > The network is totally W95/98/NT, with the exception of > our unix system. Is there some way that samba can be made > to kick into a master browser mode, even though the config > file has "no" for preferred master?First, I would recommend using 1.9.18p8 or p10. Second, what are you other browse settings? If you don't want samba to be the master browser *ever*, then you should try the following: local master = no domain master = no preferred master = no OS level = 0 You don't need to use TCPdump to sniff packets; just up the debug level on samba (nmbd actually) and you'll see the log files fill with interesting messages about browse master, etc. Also, running smbclient -L hostname will show a browse list if that host has one. There should also be a way to use nmblookup to find the current browse master. Hope this helps, Steve ****************************************************************** Stephen L Arnold http://www.rain.org/~sarnold #include <std_disclaimer.h> ******************************************************************
When the world was young, Ray Curtis <ray@ray.clark.net> carved some runes like this:> I hope this is the correct list to ask this question, but I have a > redhat 5.2 system I am running samba on, that has always worked before > until I upgraded to this version. > > Anyway from my win95 machines I am now getting the error: > > Mar 21 14:34:09 ray PAM_pwdb[28118]: 1 authentication failure; (uid=0) -> > ray for samba service > > Nothing else has changed on the samba server, so the user 'ray is > valid with the correct passwd.This is not a samba problem (well, sort of); windoze networking (and M$ filesystems, etc) is not really case sensitive. I think the windoze client upper-cases all passwords before sending them (whereas passwords on the linux/unix host are definitely case sensitive). You get the PAM authentication failure because the all upper case password is incorrect. That's why samba has the password level setting in smb.conf to allow multiple tries with different case (but each unsuccessful try will generate a PAM auth failure). This was discussed on the list a while back; you need to search the archives. Look in /etc/pam.d for the configuration stuff. Steve ****************************************************************** Stephen L Arnold http://www.rain.org/~sarnold #include <std_disclaimer.h> ******************************************************************
I have the following situation, in log.nmb: "[1999/03/23 07:46:08, 1] nmbd/nmbd.c:main(672) Netbios nameserver version 2.0.3 started. Copyright Andrew Tridgell 1994-1998 [1999/03/23 07:46:08, 0] lib/pidfile.c:pidfile_create(86) ERROR: nmbd is already running. File /usr/local/samba/var/locks/nmbd.pid exists and process id 464 is running." This message is repeating for one minute _every second_, and again 10-15 minutes later, _all day_ wich cause a pretty big log file. Is this a normal situation ?
iordache wrote:> > I have the following situation, in log.nmb: > "[1999/03/23 07:46:08, 1] nmbd/nmbd.c:main(672) > Netbios nameserver version 2.0.3 started. > Copyright Andrew Tridgell 1994-1998 > [1999/03/23 07:46:08, 0] lib/pidfile.c:pidfile_create(86) > ERROR: nmbd is already running. File > /usr/local/samba/var/locks/nmbd.pid exists and process id 464 is > running." > This message is repeating for one minute _every second_, > and again 10-15 > minutes later, _all day_ wich cause a pretty big log file. > Is this a normal situation ?Are you trying to running nmbd from inetd.conf and already have it running as a daemon (-D switch)? Cheers, jerry ________________________________________________________________________ Gerald ( Jerry ) Carter Engineering Network Services Auburn University jerry@eng.auburn.edu http://www.eng.auburn.edu/users/cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
how can i configure swat to use smbpasswd not /etc/passwd? is there a known problem with swat and mixed upper/lowercase passwords? Mit freundlichen Gr??en NCI/Lingen Tel: 02166 /27 2646 eMail: Peter.Lingen@wrh.acab.alcatel.de
Just a general inquiry for a new user to the SAMBA suite of products. I currently use samba to connect to our offices WIN 95' NT 4.0 clients. I have been succesful in using smbclient to connect to shares. But after connecting how do I change directory to anything with a space in it such as 'IP info' .. If I try cd IP info.. it replies something like: unrecognized directory 'IP' other problem: I use SWAT to configure the smb.conf file .. however I cannot specify which smb.conf to configure... I currently have it located in my /etc directory on server1. However when I push the view icon in my web browser it tells me that I am configuring a smb.conf file on another computer. (It just happens to be my firewall) is this because I have netscape configured for a proxy? It's faking out SWAT? other question: I ran across a program several weeks ago called tkchooser, it is supposed to be a graphical tk interface for the Samba suite, has anybody used or configured this puppy? I have installed it, but after running the install script and the tkchooser program nothing happens. Any suggestions? Is it worth it? Is there anything else that would have this functionality?
I can't get Swat to run in Col 2.3. I get a message saying "the document contains no date" when I try the localhost:901 from my browser. Any ideas? -- Regards, Chuck Faranda http://www.se.mediaone.net/~chuckfa
Hello, When I run SWAT, all I get is all the Samba man pages, and the ability to view the config file. Is this correct, because I thought you could use SWAT to configure Samba???? Thanks in Advance! Bye for Now, Ian ---------------------------------------- Ian Chilton E-Mail: ian@ichilton.co.uk Web Page: http://www.ianchilton.co.uk ----------------------------------------
I have compiled samba 2.07 on a Pentium system running Redhat Linux 6.0. I configured swat as shown in the documentation. However, when I access swat via a browser and it asks me to authenticate, it will not accept any log in I try to use. Chris Vaughan A/Communications Administrator NSW Land Titles Office http://lto.nsw.gov.au
Hi, I have found a possible bug in SWAT. It was possible to view all the SWAT pages without providing a user/password. A login dialog appears everytime you are accessing a page but if you go back and forward a page using the Buttons of MS IE 5.0 you are able to see the whole configuration. I was not able to change anything but the knowlege which users exitst could be a advantage to an attacker. __________________________________________________ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/
Andreas Haas wrote:> > Hi, > > I have found a possible bug in SWAT. > It was possible to view all the SWAT pages without > providing a user/password.Strange, I have to be authenticated to get any pages. Perhaps something is misconfigured in your setup? Or maybe IE has cached some information for you?> A login dialog appears everytime you are accessing > a page but if you go back and forward a page using > the Buttons of MS IE 5.0 you are able to see the > whole configuration. > > I was not able to change anything but the knowlege > which users exitst could be a advantage to an attacker.How do you get a list of users this way (even if I could get an non-authenticated connection)? Not clear to me.... Cheers, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com VA Linux Systems gcarter@valinux.com http://www.samba.org SAMBA Team jerry@samba.org http://www.eng.auburn.edu/~cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
Dear all, Can You help me plese? I cannot run (configure) SWAT on my REDHAT 7.0 system. I cannot find inetd.conf file. But file xinetd.conf is present. Could You help me with this? Thank You very much Best regard Imrich Horvath
I recently upgraded to RH7.0 as well. I found from Red Hat's site (I think that is where) that Red Hat no longer uses inetd.conf. but instead a more secure xinetd.conf. I do not know what those little script files do in that directory but all the stuff for POP3, SWAT and all the other port services should be found in /etc/services this is what I get..... [ryan@the45 ryan]$ cat /etc/services | grep swat swat 901/tcp # Samba Web Administration Tool -ryu> Dear all, > > Can You help me plese? > I cannot run (configure) SWAT on my REDHAT 7.0 system. I cannot find > inetd.conf file. But file xinetd.conf is present. Could You help me with > this? > > Thank You very much > > Best regard > Imrich Horvath >
hmmm, come to think of it, my SWAT doesn't work either.. i made the recommended change and also try to set 'disable' to 'no'. Restarted the xinetd and everything but nothing works... having trouble installing netatalk as well on RH7, can't get anything to compile, not even the kernel! -ryu> Hi, > > I'm new to the list, but I'm very interested in this thread. I also, > can't get SWAT working. There is a caveat on the Red Hat site that > says the following with regard to SWAT on 7.0: > > >There is a bug in the internal tcpwrappers functionality of xinetd. > >The problem is known and is being worked on. In the meantime, you > >can change this line in the /etc/xinetd.d/swat file: > > > > only_from = localhost > > > > > >to > > > > only_from = 127.0.0.1 > > > > > >That should allow SWAT to function normally. > > Unfortunately, although I've made this change, I still can't get > SQUAT from SWAT. > > Anyone had success getting it working? > > Thanks, > > Rob Yale > > > > >I recently upgraded to RH7.0 as well. I found from Red Hat's site (Ithink> >that is where) that Red Hat no longer uses inetd.conf. but instead amore> >secure xinetd.conf. I do not know what those little script files do in > >that directory but all the stuff for POP3, SWAT and all the other port > >services should be found in /etc/services > > > >this is what I get..... > > > >[ryan@the45 ryan]$ cat /etc/services | grep swat > >swat 901/tcp # Samba WebAdministration> >Tool > > > >-ryu > > > >> Dear all, > >> > >> Can You help me plese? > >> I cannot run (configure) SWAT on my REDHAT 7.0 system. I cannot find > >> inetd.conf file. But file xinetd.conf is present. Could You help mewith> >> this? > >> > >> Thank You very much > >> > >> Best regard > >> Imrich Horvath > >> > > -- > McClear Digital Recording and Post Production Studios > Toronto, Canada, http://www.mcclear.com > Tel: 416-977-9740 Cellular: 416-579-9253 >
Yes, I just got it working now! What a difference a re-boot makes... Rob Yale>Hi Rob, > >I have tried your suggestion on /etc/xinetd.d/swat file, and it works now. my >/etc/xinetd.d/swat file is as follows: > >service swat >{ > disable = no > port = 901 > socket_type = stream > wait = no > only_from = 127.0.0.1 > user = root > server = /usr/sbin/swat > lon_on_failure += USERID >} > >I hope this works for you, too. Thaks a lot... > >Deniz Demir > > > >Rob Yale wrote: > >> Hi, >> >> I'm new to the list, but I'm very interested in this thread. I also, >> can't get SWAT working. There is a caveat on the Red Hat site that >> says the following with regard to SWAT on 7.0: >> >> >There is a bug in the internal tcpwrappers functionality of xinetd. >> >The problem is known and is being worked on. In the meantime, you >> >can change this line in the /etc/xinetd.d/swat file: >> > >> > only_from = localhost >> > >> > >> >to >> > >> > only_from = 127.0.0.1 >> > >> > >> >That should allow SWAT to function normally. >> >> Unfortunately, although I've made this change, I still can't get >> SQUAT from SWAT. >> >> Anyone had success getting it working? >> >> Thanks, >> >> Rob Yale >> >> >I recently upgraded to RH7.0 as well. I found from Red Hat's site (I think >> >that is where) that Red Hat no longer uses inetd.conf. but instead a more >> >secure xinetd.conf. I do not know what those little script files do in >> >that directory but all the stuff for POP3, SWAT and all the other port >> >services should be found in /etc/services >> > >> >this is what I get..... >> > >> >[ryan@the45 ryan]$ cat /etc/services | grep swat >> >swat 901/tcp # Samba Web Administration >> >Tool >> > >> >-ryu >> > >> >> Dear all, >> >> >> >> Can You help me plese? >> >> I cannot run (configure) SWAT on my REDHAT 7.0 system. I cannot find >> >> inetd.conf file. But file xinetd.conf is present. Could You help me with >> >> this? >> >> >> >> Thank You very much >> >> >> >> Best regard >> >> Imrich Horvath >> >> >> >> -- >> McClear Digital Recording and Post Production Studios >> Toronto, Canada, http://www.mcclear.com >> Tel: 416-977-9740 Cellular: 416-579-9253-- McClear Digital Recording and Post Production Studios Toronto, Canada, http://www.mcclear.com Tel: 416-977-9740 Cellular: 416-579-9253
I just upgraded from 2.0.5a to 2.0.7, and now when I run SWAT I notice that some of the icons are missing. I get the Samba log, and then on the second line I get the icon for home, status, view, and password. I see that the GIFs for printers, shares and globals exist in the images directory, but not on the web page. Any ideas would be greatly appreciated. Thx Pete Pete Geenhuizen pgeenhuizen@carolina.rr.com
Hello, You should update the SWAT doc page (swat8.html). I bought a RedHat distribution, and I spend a log time to try to make SWAT work. Actually, RH 7.0 uses xinetd, not inetd. And the syntax is very different... I havn't succeeded yet to make SWAT work. I'd like to get a translation of the line I was supposed to add in inetd.conf.
create a file in your /etc/xinetd directory called swat (touch /etc/xinetd/swat), then open it and put in this: # 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 { port = 901 socket_type = stream wait = no only_from = localhost user = root server = /usr/sbin/swat log_on_failure += USERID #disable = yes } If you are using the 2.0.7 version of SAMBA installed from rpm, this file should already be there. The trick is to comment out(or remove) the "disable=yes" line as I did above. After you do edit it, be sure to start/stop xinetd (I found that restarting it doesn't work very well...) HTH, Mike -----Original Message----- From: St?phane Vandenbogaerde [mailto:svdbg@symah-vision.fr] Sent: Thursday, February 01, 2001 9:51 AM To: samba@samba.org Subject: SWAT Hello, You should update the SWAT doc page (swat8.html). I bought a RedHat distribution, and I spend a log time to try to make SWAT work. Actually, RH 7.0 uses xinetd, not inetd. And the syntax is very different... I havn't succeeded yet to make SWAT work. I'd like to get a translation of the line I was supposed to add in inetd.conf.
i have redhat 7.0 with the latest patch for xinetd.conf as i heard this was the cause for the swat and web based linuxconf to not work.... i use this machine mainly as a masquerade box using ipfwadm and the like (trying to figure out ipchains as we speak)... i have the default web page up and running so i know httpd is working and i have turned on all the options i found for web access linux conf and samba web config.. i Now have the linux conf webserver telling me i dont have acces ie:error 500 500 access denied: Check networking/linuxconf network access which is turned on in linux conf and i getno acces to the swat page at all.... any response would be appreciated rjonese@home.com -------------- next part -------------- HTML attachment scrubbed and removed
my swat wont accept root username and password please help -------------- next part -------------- HTML attachment scrubbed and removed
I have mandrake 8.0. I have removed their version of samba using their software packager. After that, I compiled and loaded samba 2.2.1a based on their configuration file. I keep getting invalid password or user whenever I try to access the swat system. Do I have to add root to the smbpasswd or is swat broken in this version? -- Joseph Loo jloo@acm.org
I just sort of realize that the pam system was not setup. Thanks, I will now try to configure the pam files. Gerald (Jerry) Carter wrote:>On Tue, 16 Oct 2001, Joseph Loo wrote: > >>I did compiled with --with-pam. In fact, I have recently upgraded to >>2.2.2. The configure was done with the following: >>#!/bin/bash >>prog=samba-2.2.2 >>cd ~/tmp >>rm -rf $prog >>gunzip -c ~/system/samba/$prog.tar.gz | tar -xf - >>cd $prog/source >>./configure --prefix=/usr --libdir=/etc --with-lockdir=/var/lock/samba \ >> --with-privatedir=/etc --with-swatdir=/usr/share/swat \ >> --sysconfdir=/etc --with-sambabook=/usr/share/swat/using_samba \ >> --with-smbmount --with-automount --with-pam --with-mmap --with-quotas >>make CFLAGS=-O3 >> >>I compiled on Linux with gcc 3.0.1. >> > >Did you create /etc/pam.d/samba? > > > > > > > > > > > > >cheers, jerry > --------------------------------------------------------------------- > www.samba.org SAMBA Team jerry_at_samba.org > www.plainjoe.org jerry_at_plainjoe.org > --"I never saved anything for the swim back." Ethan Hawk in Gattaca-- > >-- Joseph Loo jloo@acm.org -------------- next part -------------- HTML attachment scrubbed and removed
Installed the pam files and swat works beautifully. Thanks alot. Joseph Loo wrote:> I just sort of realize that the pam system was not setup. Thanks, I > will now try to configure the pam files. > > Gerald (Jerry) Carter wrote: > >>On Tue, 16 Oct 2001, Joseph Loo wrote: >> >>>I did compiled with --with-pam. In fact, I have recently upgraded to >>>2.2.2. The configure was done with the following: >>>#!/bin/bash >>>prog=samba-2.2.2 >>>cd ~/tmp >>>rm -rf $prog >>>gunzip -c ~/system/samba/$prog.tar.gz | tar -xf - >>>cd $prog/source >>>./configure --prefix=/usr --libdir=/etc --with-lockdir=/var/lock/samba \ >>> --with-privatedir=/etc --with-swatdir=/usr/share/swat \ >>> --sysconfdir=/etc --with-sambabook=/usr/share/swat/using_samba \ >>> --with-smbmount --with-automount --with-pam --with-mmap --with-quotas >>>make CFLAGS=-O3 >>> >>>I compiled on Linux with gcc 3.0.1. >>> >> >>Did you create /etc/pam.d/samba? >> >> >> >> >> >> >> >> >> >> >> >> >>cheers, jerry >> --------------------------------------------------------------------- >> www.samba.org <http://www.samba.org> SAMBA Team jerry_at_samba.org >> www.plainjoe.org <http://www.plainjoe.org> jerry_at_plainjoe.org >> --"I never saved anything for the swim back." Ethan Hawk in Gattaca-- >> >> > >-- >Joseph Loo >jloo@acm.org <mailto:jloo@acm.org> > >-- Joseph Loo jloo@acm.org -------------- next part -------------- HTML attachment scrubbed and removed
Where are the swat source code??????? i need to use it. help. Barroca
On Thu, 25 Oct 2001, Leonardo Luiz Padovani da Mata wrote:> Where are the swat source code??????? > i need to use it.In the source/web directory of the Samba release. cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
I cannot get swat to work for samba 2.2.2-2 This is my xinetd file # # Simple configuration file for xinetd # # Some defaults, and include /etc/xinetd.d/ defaults { instances = 60 log_type = SYSLOG authpriv log_on_success = HOST PID log_on_failure = HOST } includedir /etc/xinetd.d swat stream tcp nowait.400 root /usr/sbin/swat swat This is my xinetd/swat file # 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 { port = 901 socket_type = stream wait = no #only_from = localhost user = root server = /usr/sbin/swat log_on_failure += USERID #disable = yes }
I cannot get swat to work for samba 2.2.2-2 This is my xinetd file # # Simple configuration file for xinetd # # Some defaults, and include /etc/xinetd.d/ defaults { instances = 60 log_type = SYSLOG authpriv log_on_success = HOST PID log_on_failure = HOST } includedir /etc/xinetd.d swat stream tcp nowait.400 root /usr/sbin/swat swat This is my xinetd.d/swat file # 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 { port = 901 socket_type = stream wait = no #only_from = localhost user = root server = /usr/sbin/swat log_on_failure += USERID #disable = yes } This is my pam.d/samba file #%PAM-1.0 auth required pam_nologin.so auth required /lib/security/pam_stack.so service=system-auth account required /lib/security/pam_stack.so service=system-auth session required pam_stack.so service=system-auth password required pam_stack.so service=system-auth swat is enabled in the etc/services file as swat 901/tcp # Samba Web Administration Tool
I have tried to set up my swat file, to match all ya'lls out there, however, when I run netscape as root, and type into the location bar :myhostname:901, nothing happens. What am I doing wrong. I seem to get the netscape keyword center instead. Here is my /etc/xinet.d/swat file service swat { port = 901 socket_type = stream wait = no only_from = 127.0.0.1 user = root server = /usr/sbin/swat log_on_failure += USERID disable = no Thanks
Have you tried checking your /etc/pam.d/samba file settings. Mine looks like this: auth required /lib/security/pam_stack.so service=system-auth account required /lib/security/pam_stack.so service=system-auth -----Original Message----- From: root [mailto:root@pc-62-30-143-166-gl.blueyonder.co.uk] Sent: Sunday, November 04, 2001 1:34 PM To: samba@lists.samba.org Subject: swat I cannot get swat to work for samba 2.2.2-2 This is my xinetd file # # Simple configuration file for xinetd # # Some defaults, and include /etc/xinetd.d/ defaults { instances = 60 log_type = SYSLOG authpriv log_on_success = HOST PID log_on_failure = HOST } includedir /etc/xinetd.d swat stream tcp nowait.400 root /usr/sbin/swat swat This is my xinetd/swat file # 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 { port = 901 socket_type = stream wait = no #only_from = localhost user = root server = /usr/sbin/swat log_on_failure += USERID #disable = yes } -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
swat "was" working before I installed libpcap-0.4 and tcpdump-3.4,,,,, Now it just hangs,, and with truss comes back with a *** process killed *** message. Has anyone experience a similar problem? thx, john
./swat (hangs then returns the following: ./swat Alarm Clock ????? any idea??? thx, -----Original Message----- From: John Dziegiel [mailto:jdziegiel@tellium.com] Sent: Wednesday, November 14, 2001 2:40 PM To: samba@samba.org Subject: swat swat "was" working before I installed libpcap-0.4 and tcpdump-3.4,,,,, Now it just hangs,, and with truss comes back with a *** process killed *** message. Has anyone experience a similar problem? thx, john -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
I am trying to configure up a fresh install of samba-2.2.2 on RH7.2. Once it has compiled and installed, I attempt to start SWAT with no success. I have confirmed that inetd.conf has the swat line in it, and I have also confirmed that services has the netbios listings in it. Any pointers would be appreciated. Gordon Othmer gdothmer@ikon.com ICQ - 10146701
> I am trying to configure up a fresh install of samba-2.2.2 on RH7.2. > Once it has compiled and installed, I attempt to start SWAT with no success. > I have confirmed that inetd.conf has the swat line in it, and I have also > confirmed that services has the netbios listings in it. > Any pointers would be appreciated.inetd.conf ?! RH7.2 uses xinetd.conf which has an other configuration file and syntax. You must confiture it there and (re)start xinetd. What errors are you getting? Christian #> > > > Gordon Othmer > gdothmer@ikon.com > ICQ - 10146701 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >_(_)_ wWWWw _ @@@@ (_)@(_) vVVVv _ @@@@ (___) _(_)_ @@()@@ wWWWw (_)\ (___) _(_)_ @@()@@ Y (_)@(_) @@@@ (___) `|/ Y (_)@(_) @@@@ \|/ (_)\ / Y \| \|/ /(_) \| |/ | \ | \ |/ | / \ | / \|/ |/ \| \|/ jgs|// \\|/// \\\|//\\\|/// \|/// \\\|// \\|// \\\|// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Subject: swat > > > I am trying to configure up a fresh install of samba-2.2.2 on RH7.2. > Once it has compiled and installed, I attempt to start SWAT > with no success. > I have confirmed that inetd.conf has the swat line in it, and > I have also > confirmed that services has the netbios listings in it. > Any pointers would be appreciated. >Thanks again to everyone who provided me answers and assistance.
I just installed samba and when trying to use swat, my passwd and username are not accepted? Any suggestions
You need to use the root system password, not root samba password. Nick ----- Original Message ----- From: "David L Nickel" <dnickel@aug.edu> To: "Samba Mailing List" <samba@lists.samba.org> Sent: Wednesday, January 23, 2002 4:09 PM Subject: Swat> I just installed samba and when trying to use swat, my passwd and username > are not accepted? Any suggestions > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
You gotta use root and the root password when logging into swat, unless/until you set up other swat users in swat itself. Charles> -----Original Message----- > From: samba-admin@lists.samba.org > [mailto:samba-admin@lists.samba.org]On > Behalf Of David L Nickel > Sent: Wednesday, January 23, 2002 4:10 PM > To: Samba Mailing List > Subject: Swat > > > I just installed samba and when trying to use swat, my passwd > and username > are not accepted? Any suggestions > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
If you want to start swat with no password required, (bad security), add the -a option to the swat command in your /etc/inetd.conf file. Joel
Last week I wrote about a problem when logging into Swat. Swat will not authenticate correctly. I ran swat with the -a option, but when I go to create a users it tells me it is not allowed to create users in demo mode. All I want the damn thing to do is authenticate my root account for admin purposes.... Thanks
At 08:58 AM 1/28/02 -0500, David L Nickel wrote:>Last week I wrote about a problem when logging into Swat. Swat will not >authenticate correctly. I ran swat with the -a option, but when I go to >create a users it tells me it is not allowed to create users in demo mode. >All I want the damn thing to do is authenticate my root account for admin >purposes.... >ThanksThen the answer is probably to add root to your smbpasswd file, but make sure you use a different password than the real one. I actually duplicated the root option in /etc/passwd, made it have no valid shell or home dir, and called it Administrator. this I then chose a very obscure random letters password and added the user to smbpasswd with one of our administrative passwords. This has the advantage of the NT guys knowing the password to add machines to the domain and should be possible to use for swat as well.>-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba=============Martyn Ranyard
Have you checked your pam.d files under samba. I can get samba to work without root in the /etc/smbpasswd. -----Original Message----- From: Martyn Ranyard [mailto:ranyardm@lineone.net] Sent: Monday, January 28, 2002 6:17 AM To: David L Nickel; Samba Mailing List Subject: Re: Swat At 08:58 AM 1/28/02 -0500, David L Nickel wrote:>Last week I wrote about a problem when logging into Swat. Swat will not >authenticate correctly. I ran swat with the -a option, but when I go to >create a users it tells me it is not allowed to create users in demo mode. >All I want the damn thing to do is authenticate my root account for admin >purposes.... >ThanksThen the answer is probably to add root to your smbpasswd file, but make sure you use a different password than the real one. I actually duplicated the root option in /etc/passwd, made it have no valid shell or home dir, and called it Administrator. this I then chose a very obscure random letters password and added the user to smbpasswd with one of our administrative passwords. This has the advantage of the NT guys knowing the password to add machines to the domain and should be possible to use for swat as well.>-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba=============Martyn Ranyard -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
On two alphas running Tru64 4.0F and 4.0G After upgrading from samba 2.0.x to 2.2.2 and to samba 2.2.3a I am on longer able to use swat to view globals and shares in the advanced view. I get authenticates fine, can change passwords, everything it seems except I cannot use the advanced view. Tried various browsers - all act the same way. The samba.gif is displayed, but no page beyond that ever appeared. The browser just sits trying to load the page. Occsionally I get a partial page with the advanced view for shares, but never in the globals section. It just sits saying "36K read" and nothing loads. Once the browser gave a quick someting about a javascript error, but it was so fast I couldn't get it. Swat worked perfectly at 2.0.x - no go with 2.2.2 ans 2.2.3a. Any ideas? Thanks - Mike
I have installed the binary version of samba-2.2.3a for RH7.2 and checked /etc/services that swat is located there. I have also set up the swat file in xinetd.d. When I tried to use swat with my browser nothing comes up. What am I doing wrong?>>> Max TenEyck Woodbury <mtew@cds.duke.edu> 02/21/02 17:19 PM >>>___cliff rayman___ wrote:> > bao wrote: > > > Hi everyone, > > > > My question is off the topic of the group, but I don't know anywhere > > else to ask. > > ok - put OT: in the subject line so everyone knows. > > > > > > > I see there are three kernel packages that I can't distinguish for RH > > 7.2 > > > > kernel-2.4.7-10.i386.rpm > > (1) this is the rpm that installs the kernel. > > > > > kernel-2.4.7-10.src.rpm > > (2) this installs the same kernel , but instead of it already being in a compiled > form, it is in source form. the kernel is compiled and then installed. > > > > > kernel-source-2.4.7-10.rpm > > (3) this is the source code by itself. if you had already installed > rpm (1), then needed the source, you could use this rpm. > > -- > ___cliff rayman___cliff@genwax.com___http://www.genwax.com/ >Having just gone through a bunch of documentation on this topic, and actually having used a .src.rpm to good effect, this is not quite correct. kernel-2.4.7-10.src.rpm is the package you would use to rebuild the various binary kernel-2.4.7-10.xxx.rpms. It puts the sources in /usr/src/redhat/SOURCE/... which is the work area for the rpm build suite. If you play with them there, you mess up the rpm build area. Normally, you do NOT want to drag in the .src.rpms! kernel-source-2.4.7-10.i386.rpm and kernel-headers-2.4.7-10.i386.rpm (note the .i386.) are the distributed sources that you can use to build a custom kernel NOTE: Red Hat has put out a number of kernel updates. The most recent is 2.4.9-21. You can get them from ftp.redhat.com under /pub/redhat/linux/updates/7.2/en/os/* or from updates.redhat.com /7.2/en/os/*. You may have to update some other packages if you update your kernel. If you want to live dangerously, check out /pub/redhat/linux/rawhide on ftp.redhat.com... mtew@cds.duke.edu. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
yes xinetd is running. ps aux|grep xinetd -gives xinetd - stayalive. when i point the browser to http;//localhost:901/ I get the error message that "Netscape connetction refused by server. the server may not be accepting connections or may be busy">>> Todd Knauer <Todd@jmtsolutions.com> 02/23/02 21:06 PM >>>Is the service turned on (/sbin/chkconfig swat on)? Is xinetd actually running (ps auxw | grep xinetd)? Did you reload it after adding swat/samba (/etc/rc.d/init.d/xinetd reload)? Do you have a firewall set up on that box (ipchains/iptables) and if so are you allowing the samba port (901)? And finally are you trying to connect to port 901 with your browser (http://yoursambaserver:901)? On Sat, 2002-02-23 at 15:31, Godfried Duodu wrote: I have installed the binary version of samba-2.2.3a for RH7.2 and checked /etc/services that swat is located there. I have also set up the swat file in xinetd.d. When I tried to use swat with my browser nothing comes up. What am I doing wrong? >>> Max TenEyck Woodbury <mtew@cds.duke.edu> 02/21/02 17:19 PM >>> ___cliff rayman___ wrote: > > bao wrote: > > > Hi everyone, > > > > My question is off the topic of the group, but I don't know anywhere > > else to ask. > > ok - put OT: in the subject line so everyone knows. > > > > > > > I see there are three kernel packages that I can't distinguish for RH > > 7.2 > > > > kernel-2.4.7-10.i386.rpm > > (1) this is the rpm that installs the kernel. > > > > > kernel-2.4.7-10.src.rpm > > (2) this installs the same kernel , but instead of it already being in a compiled > form, it is in source form. thekernel is compiled and then installed. > > > > > kernel-source-2.4.7-10.rpm > > (3) this is the source code by itself. if you had already installed > rpm (1), then needed the source, you could use this rpm. > > -- > ___cliff rayman___cliff@genwax.com___http://www.genwax.com/ > Having just gone through a bunch of documentation on this topic, and actually having used a .src.rpm to good effect, this is not quite correct. kernel-2.4.7-10.src.rpm is the package you would use to rebuild the various binary kernel-2.4.7-10.xxx.rpms. It puts the sources in /usr/src/redhat/SOURCE/... which is the work area for the rpm build suite. If you play with them there, you mess up the rpm build area. Normally, you do NOT want to drag in the .src.rpms! kernel-source-2.4.7-10.i386.rpm and kernel-headers-2.4.7-10.i386.rpm (note the .i386.) are the distributed sources that you can use to build a custom kernel NOTE: Red Hat has put out a number of kernel updates. The most recent is 2.4.9-21. You can get them from ftp.redhat.com under /pub/redhat/linux/updates/7.2/en/os/* or from updates.redhat.com /7.2/en/os/*. You may have to update some other packages if you update your kernel. If you want to live dangerously, check out /pub/redhat/linux/rawhide on ftp.redhat.com... mtew@cds.duke.edu. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Todd Knauer JMT Solutions http://www.jmtsolutions.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
You didn't answer all of the other questions. And if you did do all of the other steps I mentioned I have a couple of more questions. What does "tail /var/log/messages" and "tail /var/log/secure" say after trying and failing to connect? Also, you didn't happen to mess with your /etc/pam.d/* files did you? I had a buddy who had a similar problem and I found out he was messing with winbind and incorrectly made changes to /etc/pam.d/samba. Once I changed that file back to it's original state, swat worked fine. On Sat, 2002-02-23 at 23:53, Godfried Duodu wrote: yes xinetd is running. ps aux|grep xinetd -gives xinetd - stayalive. when i point the browser to http;//localhost:901/ I get the error message that "Netscape connetction refused by server. the server may not be accepting connections or may be busy" >>> Todd Knauer <Todd@jmtsolutions.com> 02/23/02 21:06 PM >>> Is the service turned on (/sbin/chkconfig swat on)? Is xinetd actually running (ps auxw | grep xinetd)? Did you reload it after adding swat/samba (/etc/rc.d/init.d/xinetd reload)? Do you have a firewall set up on that box (ipchains/iptables) and if so are you allowing the samba port (901)? And finally are you trying to connect to port 901 with your browser (http://yoursambaserver:901)? On Sat, 2002-02-23 at 15:31, Godfried Duodu wrote: I have installed the binary version of samba-2.2.3a for RH7.2 and checked /etc/services that swat is located there. I have also set up the swat file in xinetd.d. When I tried to use swat with my browser nothing comes up. What am I doing wrong? >>> Max TenEyck Woodbury <mtew@cds.duke.edu> 02/21/02 17:19 PM >>> ___cliff rayman___ wrote: > > bao wrote: > > > Hi everyone, > > > > My question is off the topic of the group, but I don't know anywhere > > else to ask. > > ok - put OT: in the subject line so everyone knows. > > > > > > > I see there are three kernel packages that I can't distinguish for RH > > 7.2 > > > > kernel-2.4.7-10.i386.rpm > > (1) this is the rpm that installs the kernel. > > > > > kernel-2.4.7-10.src.rpm > > (2) this installs the same kernel , but instead of it already being in a compiled > form, it is in source form. thekernel is compiled and then installed. > > > > > kernel-source-2.4.7-10.rpm > > (3) this is the source code by itself. if you had already installed > rpm (1), then needed the source, you could use this rpm. > > -- > ___cliff rayman___cliff@genwax.com___http://www.genwax.com/ > Having just gone through a bunch of documentation on this topic, and actually having used a .src.rpm to good effect, this is not quite correct. kernel-2.4.7-10.src.rpm is the package you would use to rebuild the various binary kernel-2.4.7-10.xxx.rpms. It puts the sources in /usr/src/redhat/SOURCE/... which is the work area for the rpm build suite. If you play with them there, you mess up the rpm build area. Normally, you do NOT want to drag in the .src.rpms! kernel-source-2.4.7-10.i386.rpm and kernel-headers-2.4.7-10.i386.rpm (note the .i386.) are the distributed sources that you can use to build a custom kernel NOTE: Red Hat has put out a number of kernel updates. The most recent is 2.4.9-21. You can get them from ftp.redhat.com under /pub/redhat/linux/updates/7.2/en/os/* or from updates.redhat.com /7.2/en/os/*. You may have to update some other packages if you update your kernel. If you want to live dangerously, check out /pub/redhat/linux/rawhide on ftp.redhat.com... mtew@cds.duke.edu. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Todd Knauer JMT Solutions http://www.jmtsolutions.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Todd Knauer JMT Solutions http://www.jmtsolutions.com/ -------------- next part -------------- HTML attachment scrubbed and removed
Hi, When I browse (konqueror) to http://localhost:901, I always got the message: "Could not connet to host localhost [port 901]" Without the port number, I was able to display a TestPage at localhost. Other browsers don't find the port either. I'm using Red Hat 7.2, Samba 2.2.1-3. I double checked what I did: /etc/services file lists: swat 901/tcp /etc/xinetd.d contains swat file What else do I need for running swat? Help... Chimin Yen __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com
Hello, My name is Benjamin Folayan. I am currently configuring Linux Red Hat 7.2. I wanted to use swat but one of the files I am suppose to adjust, the /etc/xinetd.d/swat file does not exist. I am suppose to change the "disable line". What can I do to set this configuration. I have tried reinstalling and that file still is not there. Is the line somewhere else. What steps should I follow to get SWAT to work. Thanks, In Advance. Benjamin Folayan -------------- next part -------------- HTML attachment scrubbed and removed
This is my swat file from RH 7.1. This is the default swat file. Joel # 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 { port = 901 socket_type = stream wait = no only_from = 127.0.0.1 user = root server = /usr/sbin/swat log_on_failure += USERID disable = yes On Mon, May 27, 2002 at 03:49:31PM -0400, Benjamin Folayan wrote:> Hello, > > My name is Benjamin Folayan. I am currently configuring Linux Red Hat 7.2. I wanted to use swat but one of the files I am suppose to adjust, the /etc/xinetd.d/swat file does not exist. I am suppose to change the "disable line". What can I do to set this configuration. I have tried reinstalling and that file still is not there. Is the line somewhere else. What steps should I follow to get SWAT to work. > > Thanks, In Advance. > Benjamin Folayan
change Disable = yes to Disable = no I've been trying to get SWAT working on Mandrake 8.1, looked everywhere, done everything everybody suggested. Gave up, now do it all in vi. GOOD LUCK suppose its like doom on Linux...some people can get it to work, lots can't. -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On Behalf Of Joel Hammer Sent: 27 May 2002 9:21 PM To: Benjamin Folayan; samba@lists.samba.org Subject: Re: [Samba] SWAT This is my swat file from RH 7.1. This is the default swat file. Joel # 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 { port = 901 socket_type = stream wait = no only_from = 127.0.0.1 user = root server = /usr/sbin/swat log_on_failure += USERID disable = yes On Mon, May 27, 2002 at 03:49:31PM -0400, Benjamin Folayan wrote:> Hello, > > My name is Benjamin Folayan. I am currently configuring Linux RedHat 7.2. I wanted to use swat but one of the files I am suppose to adjust, the /etc/xinetd.d/swat file does not exist. I am suppose to change the "disable line". What can I do to set this configuration. I have tried reinstalling and that file still is not there. Is the line somewhere else. What steps should I follow to get SWAT to work.> > Thanks, In Advance. > Benjamin Folayan-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Skipped content of type multipart/alternative
Been there, done that, checked all ports are set correct i.e. swat tcp 901 swat utp 901 ect and checked ect and checked etc. and checked that's why I gave up..... but now ive put mandrake 8.2 on another machine ( my swat not working was on a 8.1,but samba was) as a default install and samba wont even run, complains about not being able to open database files.....Aaaaarrrrrrrrrrrrr at least it will keep me busy for a couple of years, cant say that about a console game :o) but what's even sadder, you do get moving images on a games console. if only kids of today new the pleasure of that flashing command prompt curser., not to mention the [ ok ] in green....Yesssssssssssss -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On Behalf Of Joseph Loo Sent: 29 May 2002 2:48 PM To: samba list Subject: Re: [Samba] SWAT But did you have an entry on your pam.d directory? You need a file samba in /etc/pam.d with at least the following: auth required /lib/security/pam_stack.so service=system-auth account required /lib/security/pam_stack.so service=system-auth I could not get mine working until I placed the entry in. I am not sure if it is required to reboot the machine or restart pam. It has been too long since I played with it. Ken Walker wrote: change Disable = yes to Disable = no I've been trying to get SWAT working on Mandrake 8.1, looked everywhere, done everything everybody suggested. Gave up, now do it all in vi. GOOD LUCK suppose its like doom on Linux...some people can get it to work, lots can't. -----Original Message----- From: samba-admin@lists.samba.org <mailto:samba-admin@lists.samba.org> [ mailto:samba-admin@lists.samba.org <mailto:samba-admin@lists.samba.org> ]On Behalf Of Joel Hammer Sent: 27 May 2002 9:21 PM To: Benjamin Folayan; samba@lists.samba.org <mailto:samba@lists.samba.org> Subject: Re: [Samba] SWAT This is my swat file from RH 7.1. This is the default swat file. Joel # default: off # description: SWAT is the Samba Web Admin Tool. Use swat \ # to con figure your Samba server. To use SWAT, \ # connect to port 901 with your favorite web browser. service swat { port = 901 socket_type = stream wait = no only_from = 127.0.0.1 user = root server = /usr/sbin/swat log_on_failure += USERID disable = yes On Mon, May 27, 2002 at 03:49:31PM -0400, Benjamin Folayan wrote: Hello, My name is Benjamin Folayan. I am currently configuring Linux Red Hat 7.2. I wanted to use swat but one of the files I am suppose to adjust, the /etc/xinetd.d/swat file does not exist. I am suppose to change the "disable line". What can I do to set this configuration. I have tried reinstalling and that file still is not there. Is the line somewhere else. What steps should I follow to get SWAT to work. Thanks, In Advance. Benjamin Folayan -- Joseph Loo jloo@acm.org <mailto:jloo@acm.org> -------------- next part -------------- HTML attachment scrubbed and removed
I've been trying to get swat to work under rh7.3 and have had no luck. I've followed the instructions regarding the service file, xinet.d and etc. Yet, when I enter the http://server_ipaddress:901 I get nothing but can find http://server_ipaddress:901. I'm trying to access swat from an internal network. I have made the correct changes in the /etc/hosts.allow and /etc/hosts.deny files. Any ideas? Jon L. Miller MMT Networks Pty Ltd
Earlier I posted about the inetd.conf file not loading the services properly. I opened it up and figured out that it was because I copied the format that was already there. Each line had a # infront of it and I didn?t know that it was a comment. Duh! I removed it and up it came! However! swat still does not come up! The path is right. I verified it. Any ideas? Thanks Steffan --------------------------------------------------------------- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline Steffan@ExecuChoice.net Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 The Executive's Choice in Lasso driven Internet Applications -----------------------------------------------------------
Maybe this isn't the place to ask but maybe it is. I upgraded one of my systems to 2.2.5 from 2.2.3 and swat quit working. It's not really critical, but it sure is convenient. I have checked the services file OK, the xinet.d directory has the swat script and it looks OK. I think I have PAM running OK but I am not 100% sure. Has anyone else seen or reported this. I used the 2.2.5 RPM from http://va.samba.org/samba/ftp/Binary_Packages/redhat/RPMS/7.3/ Thank you. Tony McGrew WWW.Multicam.com
Joseph, Thank you for the answer. There is indeed no entry in the pam.d directory for swat. There is one for samba though. I have been trying to get it to go from these instructions http://samba.linuxbe.org/en/samba/learn/swat.html#installation I tried a copy of my currently working samba file called swat in the pam.d directory. I also tried putting exactly what these instructions said into a file called swat but I haven't had any luck. I have samba running on 5 boxes, and one time I had one of them running right with swat and was able to use swat from my windows box at the other end of the building. I have not been able to get any of the other boxes to run swat at all so if I can get it back on this one maybe I'll learn enough to get it on the other ones also. If you have any idea of what the swat file should be in the pam.d directory or any other direction I would appreciate it. Thanks. Tony McGrew WWW.Multicam.com <http://www.Multicam.com> -----Original Message----- From: Joseph Loo [mailto:jloo@acm.org] Sent: Tuesday, August 13, 2002 12:20 PM To: Tony McGrew Subject: Re: [Samba] swat have you checked for your swat file in the pam.d directory. Tony McGrew wrote:>Maybe this isn't the place to ask but maybe it is. I upgraded one of my >systems to 2.2.5 from 2.2.3 and swat quit working. It's not really >critical, but it sure is convenient. I have checked the services file OK, >the xinet.d directory has the swat script and it looks OK. I think I have >PAM running OK but I am not 100% sure. Has anyone else seen or reported >this. I used the 2.2.5 RPM from >http://va.samba.org/samba/ftp/Binary_Packages/redhat/RPMS/7.3/ > >Thank you. >Tony McGrew >WWW.Multicam.com >-- Joseph Loo jloo@acm.org
For some reason, I can use swat no more with my Netscape browser. if I type the URL http://localhost:901 as I did before, I get an error "Server Error The following error occurred: Bad URL ... Please contact the administrator." In the /etc/services file I have a line "swat 901/tcp" and in the /etc/inetd.conf file I have a line "swat stream tcp nowait.400 root /usr/sbin/swat swat". At this moment I was not able to find out what went wrong. Do you have any sugestions for me (I'm new to LINUX). Thanks in advance, Yves Vrijhoeven yvesvrijhoeven@hotmail.com -------------- next part -------------- HTML attachment scrubbed and removed
I need help getting swat to run I did it once (by luck) and can't do it again . both machines are mine small home network windows and redhat linux 7.1. re installed many times . when I start swat netscape sayes connection 127.0.0.1 :901 refused by server .... server may be busy... tried to configure smb.conf manualy got close but don't know what password it wants I tried all passwords I used during setup both boxes no good I do not have online access often but can wait unless someone can call (847) 409-8807 I would be greatfull or e'mail whirly206@hotmail.com i'm lost thank you donald mcmahan _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com
Just to get you running: You could circumvent the problem if it is just a home network, and disable Swat authentication by adding the -a parameter to you your swat file in /etc/xinetd.d: "-a This option disables authentication and puts swat in demo mode. In that mode anyone will be able to modify the smb.conf file." service swat { disable = no flags = REUSE socket_type = stream wait = no user = root server = /usr/local/samba/bin/swat server_args = -a log_on_failure += USERID } -----Original Message----- From: DOnnie McMahan [mailto:whirly206@hotmail.com] Sent: 15 October 2002 18:39 To: Samba@samba.org Subject: [Samba] swat I need help getting swat to run I did it once (by luck) and can't do it again . both machines are mine small home network windows and redhat linux 7.1. re installed many times . when I start swat netscape sayes connection 127.0.0.1 :901 refused by server .... server may be busy... tried to configure smb.conf manualy got close but don't know what password it wants I tried all passwords I used during setup both boxes no good I do not have online access often but can wait unless someone can call (847) 409-8807 I would be greatfull or e'mail whirly206@hotmail.com i'm lost thank you donald mcmahan _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 03/10/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 03/10/2002
Hi All, Why Swat strips all comment lines from the smb.conf? I couldn't find any field or tab that deals with this, but when I edited the smb.conf with Swat, my smb.conf became 'nude', so to speak. Thanks in advance. Yousef -------------- next part -------------- HTML attachment scrubbed and removed
Yousef, SWAT stripped down your smb.conf file in order to optimize Samba. The smaller your smb.conf file, the better the performance you can get out of Samba. I understand that future versions of SWAT will most likely warn users of the impending changes to the smb.conf file that SWAT will make. Don't worry about the changes, they were made to speed up your Samba installation. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -----Original Message----- From: Yousef I. Adan [mailto:yousef@emirates.net.ae] Sent: Tuesday, December 03, 2002 11:23 PM To: samba@lists.samba.org; Robert Adkins Subject: [Samba] swat Hi All, Why Swat strips all comment lines from the smb.conf? I couldn't find any field or tab that deals with this, but when I edited the smb.conf with Swat, my smb.conf became 'nude', so to speak. Thanks in advance. Yousef
dear sir i install it the samba and swat configuration in my pc,but my web browser cannot browse the http://localhost:901 i configure file this below : in etc/xinetd.conf : # # Simple configuration file for xinetd # # Some defaults, and include /etc/xinetd.d/ defaults { instances = 60 log_type = SYSLOG authpriv log_on_success = HOST PID log_on_failure = HOST cps = 25 30 } includedir /etc/xinetd.d swat stream tcp nowait root /usr/local/samba/bin/swat swat in etc/xinetd.d/swat is : service swat { port = 901 socket_type = stream wait = no user = root server = /usr/sbin/tcpd server_args = /usr/local/samba/bin/swat log_on_failure += USERID disable = no } in etc/samba/smb.conf is : [global] workgroup = WORKGROUP server string = Samba Server hosts allow = 192.168.123. 127. printcap name = /etc/printcap load printers = yes printing = lprng guest account = pcguest log file = /var/log/samba/%m.log max log size = 0 security = share ; password server = <NT-Server-Name> ; password level = 8 ; username level = 8 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* pam password change = yes username map = /etc/samba/smbusers include = /etc/samba/smb.conf.%m obey pam restrictions = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 host allow = 127. 10.1.1 194.7.51. host deny = * [shared] comment = Shared read/write directory for all LAN users and guest path = /home/shared public = yes only guest = yes writable = yes printable = no [homes] comment = Home directories browseable = no writable = yes valid users = %S create mode = 0664 directory mode = 0775 map to guest = bad user please help me . regards pedram dehghani System Administrator SG Co.
As a user, I log into SWAT to change my password. I click on the password icon, enter the old password, enter the new password twice and click on "change password". I get this error: "machine 127.0.0.1 rejected the password change. Error was RAP86. The specified password is invalid. The passwd for "user1" has NOT been changed. Any idea what went wrong here? Judy Lin NACS-DCS
Nevermind. I found the problem. Thanks. Judy Lin NACS-DCS On Thu, 16 Jan 2003, Judy Lin wrote:> As a user, I log into SWAT to change my password. I click on the > password icon, enter the old password, enter the new password twice and > click on "change password". I get this error: "machine 127.0.0.1 > rejected the password change. Error was RAP86. The specified password > is invalid. The passwd for "user1" has NOT been changed. > Any idea what went wrong here? > > Judy Lin > NACS-DCS > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Hi Folks Is there anyone managed to get work swat in NetBSD 1.6.It works nicely on older releases but now i've trouble with Authentication!When i switch in demo mode .. all is ok!Is this related to PAM?Any hint is welcome! Greetings --------------------------------------------- Powered By "NetBSD" http://www.netbsd.org/
Hi List, I would like to make work my SWAT. I have a AIX 4.3.3 and SAMBA 2.2.5. What is the lines I need to add at the /etc/services and /etc/inetd.conf for it works? See you, ___ (0 0) +----------------------------V------------+ | Rodrigo Nascimento | | Linux Users Brazil o0o o0o | +------------------------( )---( )--------+ http://www.ieg.com.br
On Fri, 31 Jan 2003, Rodrigo Nascimento wrote:> Hi List, > > I would like to make work my SWAT. > I have a AIX 4.3.3 and SAMBA 2.2.5. > > What is the lines I need to add at the /etc/services and /etc/inetd.conf for > it works?Please check the man page: man swat - John T. -- John H Terpstra Email: jht@samba.org
Hi, In the /etc/xinetd.d/swat check if the disable is true... In the browser check our local proxy... Tiago Cruz Brazilian GNU/Linux User #282636 My web site about GNU/Linux: http://www.linuxrapido.kit.net> ----- Original Message ----- > From: "Wolfram Quester" <wquester@mittelerde.physik.uni-konstanz.de> > To: <samba@samba.org> > Cc: "clementina di meglio" <cledimeg@tin.it> > Sent: Tuesday, February 25, 2003 3:24 PM > Subject: Re: [Samba] SWAT > > > > Hello Clementina, > > > > As far as I know redhat doesn't install swat by default. You may try > > `rpm -qa | grep swat` to check if it is installed. > > BTW, how can you see that swat isn't running? What's the error message? > > If you run swat via (x)inetd, check if it is configured correctly in > > /etc/inetd.conf or /etc/xinetd.d/swat. > > It might also be a firewall issue blocking port 901, if you are > > connecting from another host. > > > > Regards, > > > > Wolfi > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > >
Dear Andrew Tridgell, Excuse me for my English: it's terrible! I am a italian tetcher of Computer Science and I want to introduce the Open Source Software in my school. At this moment I search for to configure a School's LAN with Samba, bad i am *not successful to run SWAT*. Can you help me? I work with Linux Redhat 8.0 and Samba 2.2.5. Tank's for your responce. Clementina Di Meglio
Ok I have swat installed and I have the proper lines in both the /etc/serviecs and /etc/inetd.conf , when I go to use it through my browser (http://localhost:901) I am getting a operation time out. Any info?
Never mind I figure out what the problem is, in my inetd.conf file had it was pointing to the old location of swat. I changed it to he new one and rebooted. wham it work. On Sat, 22 Mar 2003, Iadicicco wrote:> Ok I have swat installed and I have the proper lines in both the > /etc/serviecs and /etc/inetd.conf , when I go to use it through my browser > (http://localhost:901) I am getting a operation time out. > > Any info? > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Hello, I am a newbe whit Linux and RedHat 7.2. I try to install Samba 2.2.1a that come whit RedHat 7.2. Ik folwed the instruction's but can't connect to port 901 whit my browser (and telnet). I found one file names swat.pl but it is in a doc dir from samba. Any help welkom Hans
You can access swat via webmin also check if you have it onto your linux box, if you don't , install it from your distro CD, is very easy, once You have installed it, check it as: https://yourserverip:10000 , probe it if you have trouble ask me no problem ok.... Manuel Casoluengo Villanueva Network Administrator Mexico Coty Inc. www.coty.com Office: +011525-54494260 fax: +011525-54494249 mailto:manuel_casoluengo@cotyinc.com _____ This message is intended for the use of the addressee and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in this message is strictly unauthorized and prohibited. If you have received this message in error, please notify the sender by reply e-mail and delete the message from your system. Opinions, conclusions, or other statements in this message which do not relate to the business of Coty Inc., its subsidiaries or affiliates, are neither given nor endorsed by Coty Inc.
Sounds like you got something messed up in your dns settings. Check and make sure that you have localhost as one of your aliases. Add any other aliases you might need as well. As for telnet (obvious question) but is it started? Also does it work when you go to the ip address? -----Original Message----- From: samba-bounces+gmiller=eccbm.com@lists.samba.org [mailto:samba-bounces+gmiller=eccbm.com@lists.samba.org] On Behalf Of SoloCDM Sent: Wednesday, April 30, 2003 2:46 PM To: Manuel_Casoluengo@cotyinc.com Cc: Samba (Request) Subject: [Samba] Re: SWAT On Tue, 29 Apr 2003 Manuel_Casoluengo@cotyinc.com wrote:> You can access swat via webmin also check if you have it onto > your linux box, if you don't , install it from your distro > CD, is very easy, once You have installed it, check it as: > https://yourserverip:10000 , probe it if you have trouble ask me no > problem ok....I didn't install webmin because it is too much of a security gap. I'm able to ping my server from another node, but I'm not able to telnet, even from within the server itself. Would this have any similarity to the situation, and if so, how? Prior to Mandrake 8.0, I was able to telnet into my server. -- Note: When you reply to this message, please include the mailing list address and my email address in To: and/or Cc: with any proper combination ********************************************************************* Signed, SoloCDM -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Dear all, After installing samba 2.2.8 on Red Hat 7.3, swat is not accessable from the samba server. When i browser with the url http://localhost:901. An error occured while loading http://localhost:901. Connection to host localhost is broken. When i type in lsof -i returns: xinetd 2058 root 5u IPv4 4803 TCP *:swat(LISTEN) I don't why it cannot working, pls help! Thanks. _____________________________________________________________________ iRepublics.com - Free Web Hosting for Businesses 33MB webspace free, SMS messaging, 30 email accounts, your own domain name Sign up Now at http://www.iRepublics.com
I have RedHat 8.0 I have swat enabled in my xinetd.d config file like this service swat { port = 901 socket_type = stream wait = no only_from = localhost user = root server = /usr/sbin/swat log_on_failure += USERID disable = no } I have a firewall/router ...not to sure about firewalls but don't think its the problem as it works for my windows boxes upstairs and I believe it accepts all local area traffic my hosts file is simple 127.0.0.1 localhost.localdomain localhost 192.168.1.1 linux8.puterland.ca linux8 tried changing the only_from line from localhost to 192.168.1.0/24 no work it says "the connection was refused when attempting to contact 192.168.1.1:901" any ideas?
There might be a log called messages. This might be a firewall issue. What do you see with: iptables -L | less ? Try, as root, iptables -P INPUT ACCEPT This command is only safe if you have this machine behind a firewall or if it is not connected to the internet. Joel On Sat, Jul 12, 2003 at 11:57:55PM -0500, Robert Jones wrote:> I Rebooted the pc > i have now looked in the logs....dunno what to look for though... no log > named either samba or swat > i did find tho that in /etc/samba that the file smbusers was now called > smbusers.rpmsave i guess an upgrade did that?.. i renamed it to smbusers > > but still wont work > > On Sat, 2003-07-12 at 07:36, Joel Hammer wrote: > > Did you restart xinetd? > > Have you looked in the logs in /var/log for any clues? > > Joel > > > > On Sat, Jul 12, 2003 at 02:24:22AM -0500, Robert Jones wrote: > > > I have RedHat 8.0 > > > I have swat enabled in my xinetd.d config file > > > like this > > > service swat > > > > > > { > > > > > > port = 901 > > > > > > socket_type = stream > > > > > > wait = no > > > > > > only_from = localhost > > > > > > user = root > > > > > > server = /usr/sbin/swat > > > > > > log_on_failure += USERID > > > > > > disable = no > > > > > > } > > > > > > > > > I have a firewall/router ...not to sure about firewalls but don't think its the problem as it works for my windows boxes upstairs and I believe it accepts all local area traffic > > > > > > my hosts file is simple > > > > > > 127.0.0.1 localhost.localdomain localhost > > > > > > 192.168.1.1 linux8.puterland.ca linux8 > > > > > > > > > > > > tried changing the only_from line from localhost to 192.168.1.0/24 > > > > > > no work > > > > > > it says > > > > > > "the connection was refused when attempting to contact 192.168.1.1:901" > > > > > > any ideas? > > > > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba > >
Flushing doesn't change policies. Maybe your INPUT policy is DROP. Joel On Sun, Jul 13, 2003 at 11:13:05AM -0500, Robert Jones wrote:> Even if i flush all my iptables and set them to accept it still dont > work > On Sat, 2003-07-12 at 14:03, Joel Hammer wrote: > > There might be a log called messages. > > > > This might be a firewall issue. What do you see with: > > iptables -L | less ? > > > > Try, as root, iptables -P INPUT ACCEPT > > > > This command is only safe if you have this machine behind a firewall or > > if it is not connected to the internet. > > > > Joel > > On Sat, Jul 12, 2003 at 11:57:55PM -0500, Robert Jones wrote: > > > I Rebooted the pc > > > i have now looked in the logs....dunno what to look for though... no log > > > named either samba or swat > > > i did find tho that in /etc/samba that the file smbusers was now called > > > smbusers.rpmsave i guess an upgrade did that?.. i renamed it to smbusers > > > > > > but still wont work > > > > > > On Sat, 2003-07-12 at 07:36, Joel Hammer wrote: > > > > Did you restart xinetd? > > > > Have you looked in the logs in /var/log for any clues? > > > > Joel > > > > > > > > On Sat, Jul 12, 2003 at 02:24:22AM -0500, Robert Jones wrote: > > > > > I have RedHat 8.0 > > > > > I have swat enabled in my xinetd.d config file > > > > > like this > > > > > service swat > > > > > > > > > > { > > > > > > > > > > port = 901 > > > > > > > > > > socket_type = stream > > > > > > > > > > wait = no > > > > > > > > > > only_from = localhost > > > > > > > > > > user = root > > > > > > > > > > server = /usr/sbin/swat > > > > > > > > > > log_on_failure += USERID > > > > > > > > > > disable = no > > > > > > > > > > } > > > > > > > > > > > > > > > I have a firewall/router ...not to sure about firewalls but don't think its the problem as it works for my windows boxes upstairs and I believe it accepts all local area traffic > > > > > > > > > > my hosts file is simple > > > > > > > > > > 127.0.0.1 localhost.localdomain localhost > > > > > > > > > > 192.168.1.1 linux8.puterland.ca linux8 > > > > > > > > > > > > > > > > > > > > tried changing the only_from line from localhost to 192.168.1.0/24 > > > > > > > > > > no work > > > > > > > > > > it says > > > > > > > > > > "the connection was refused when attempting to contact 192.168.1.1:901" > > > > > > > > > > any ideas? > > > > > > > > > > > > > > > -- > > > > > To unsubscribe from this list go to the following URL and read the > > > > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > > > >
Hi People. I can't login to swat using the current root password. what can I do?