vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I just spent an entire morning trying to get samba's swat interface to work. I checked all the newsgroups, google, samba doc, etc. Hopefully, this will save someone else 4 hours! Getting SWAT to work on Gentoo! Gentoo's samba installation installs swat in a disabled state by default and per policy. To enable swat, the user must turn off disable in the file /etc/xinet.d/swat as so: service swat { port = 901 socket_type = stream wait = no only_from = localhost user = root server = /usr/sbin/swat log_on_failure += USERID # MAKE DISABLE = NO! disable = no } Next, and this is what caused me such angst, is to check that the module xinetd is installed! emerge -s xinetd If NOT, install it emerge xinetd For some reason, and I'm reporting this as a possible bug to the maintainers, since it should be a requirement. Lastly, add the xinetd startup script to the system default rc-update add xinetd default After that, swat pops right up. http://localhost:901 |
| |||
| So anyway, it was like, 18:55 CET Feb 09 2005, you know? Oh, and, yeah, Peter was all like, "Dude, > i just spent an entire morning trying to get samba's swat interface > to work. I checked all the newsgroups, google, samba doc, etc. > Hopefully, this will save someone else 4 hours! You might have had better luck starting out with the gentoo forums: <http://forums.gentoo.org/viewtopic.php?t=5013%2006> <http://forums.gentoo.org/viewtopic.php?t=8786> Or, just google for: swat samba site:gentoo.org. Shouldn't take four hours to get to the first hit that mentions merging xinetd. Nice effort with the howto, either way. -- Time flies like an arrow, fruit flies like a banana. Perth ---> * 19:29:38 up 108 days, 7:56, 5 users, load average: 0.02, 0.01, 0.00 Linux 2.6.9 x86_64 GNU/Linux Registered Linux user #261729 |
| ||||
| On Wed, 09 Feb 2005 19:36:09 +0100, Johan Lindquist wrote: > So anyway, it was like, 18:55 CET Feb 09 2005, you know? Oh, and, yeah, > Peter was all like, "Dude, > >> i just spent an entire morning trying to get samba's swat interface >> to work. I checked all the newsgroups, google, samba doc, etc. >> Hopefully, this will save someone else 4 hours! > > You might have had better luck starting out with the gentoo forums: > > <http://forums.gentoo.org/viewtopic.php?t=5013%2006> > <http://forums.gentoo.org/viewtopic.php?t=8786> You are right. But I hate the forums format and avoid them. The first link however would have save me! Oh well. So much for trying to be a hero. > > Or, just google for: swat samba site:gentoo.org. Shouldn't take four > hours to get to the first hit that mentions merging xinetd. Well, I did google, but not for gentoo.org. Just general. Lots of people had the problem, and when I kept running into xinitd, I realized maybe it was not loaded! > > Nice effort with the howto, either way. Ah gee, I'm blushing. |