I'm having a problem enabling SWAT. I've followed the directions that I was able to find on the net. One of the step, however, eludes me:> Edit file "/etc/inetd.conf". Add the following line if it isn't already > there. > swat stream tcp nowait.400 root /usr/sbin/swat swat > Note: If you have the program "swat" installed somewhere other than "/usr/ > sbin", then change "/usr/sbin/swat" to be the correct path to "swat".Unfortunately, I can't seem to find a file called "inetd.conf" in the /etc dir, or anywhere else on the system. I've tried this on Red Hat Linux 7, 7. 2, and Linux Mandrake 8.1. What are the steps necessary to activate SWAT? Trying to weed through the docs when all the direction that I get from the installer is to read "/swat/README" when there are tens of readme files is somewhat disconcerting.... Thanks in advance.. marc
> >Edit file "/etc/inetd.conf". Add the following line if it isn't already > >there. > >swat stream tcp nowait.400 root /usr/sbin/swat swat > >Note: If you have the program "swat" installed somewhere other than "/usr/ > >sbin", then change "/usr/sbin/swat" to be the correct path to "swat". > Unfortunately, I can't seem to find a file called "inetd.conf" in the /etc > dir, or anywhere else on the system. I've tried this on Red Hat Linux 7, 7. > 2, and Linux Mandrake 8.1. What are the steps necessary to activate SWAT?I believe it was called /etc/xinetd.conf or something in RedHat? Jelmer -- Jelmer Vernooij <jelmer@nl.linux.org> - http://nl.linux.org/~jelmer/ Development And Underdevelopment: http://library.thinkquest.org/C0110231/ Listening to Radio 3FM 22:14:52 up 5:32, 6 users, load average: 0.88, 0.73, 0.68
"Marc R. Hoffman" wrote:> > I'm having a problem enabling SWAT. I've followed the directions that I > was able to find on the net. One of the step, however, eludes me: > > > Edit file "/etc/inetd.conf". Add the following line if it isn't already > > there. > > swat stream tcp nowait.400 root /usr/sbin/swat swat > > Note: If you have the program "swat" installed somewhere other than "/usr/ > > sbin", then change "/usr/sbin/swat" to be the correct path to "swat".On RH 7.x (and probably mandrake 8.x, since it's based on RH), inetd has been replaced by xinetd. It uses a modular config file system - each servide has its own little file under /etc/xinetd.d or similar. IMHO, while xinetd may be more secure, the multiple config files suck. Anyway, man xinetd should get you started. You will end up creating a file /etc/xinetd.d/swat . BTW, that doc really should be updated, along with a sample xinetd.d/swat file. Since I have not been able to get swat working, I won't volunteer mine ;-) I have an authentication error, BTW, not an xientd problem. --Yan -- Daddy, did all the hair that fell off your head stick to your arms? Akari, age 4 ... oberon.cardhome.lan: 4:18pm up 7 days, 20:37, 5 users, load average: 0.09, 0.38, 0.25
"Marc R. Hoffman" wrote:> I'm having a problem enabling SWAT. I've followed the directions that I > was able to find on the net. One of the step, however, eludes me: > > > Edit file "/etc/inetd.conf". Add the following line if it isn't already > > there. > > swat stream tcp nowait.400 root /usr/sbin/swat swat > > Note: If you have the program "swat" installed somewhere other than "/usr/ > > sbin", then change "/usr/sbin/swat" to be the correct path to "swat". > > Unfortunately, I can't seem to find a file called "inetd.conf" in the /etc > dir, or anywhere else on the system. I've tried this on Red Hat Linux 7, 7. > 2, and Linux Mandrake 8.1. What are the steps necessary to activate SWAT? > > Trying to weed through the docs when all the direction that I get from the > installer is to read "/swat/README" when there are tens of readme files is > somewhat disconcerting.... > > Thanks in advance.. > > marc > >RedHat 7.x uses xinetd, not inetd. The easy way: chkconfig swat on -- Dennis K. Grow RedHat 7.2 Kernel: 2.4.13 KDE: 2.2-10 ALSA: 0.5.11 Samba 2.2.2 1:25pm up 2:58, 5 users, load average: 0.96, 1.34, 1.49 ------------------------------------------------------------
Are there any docs for this? Like the schema used, etc. It is called "experimental". How likely will it survive as is? Andrew Bartlett wrote:> "Jon L.Gardner" wrote: > >>Pop quiz: >> >>If I configure using the "--with-ldapsam" option, and have "encrypt >>passwords = Yes" in smb.conf, does Samba still maintain a separate set >>of passwords in smbpasswd, or does it authenticate from the LDAP server? >> > > It maintains a seperate set of passwords *in* the LDAP server. > >-- Gary Algier, WB2FWZ gaa@@ulticom.com +1 856 787 2758 Ulticom Inc., 1020 Briggs Rd, Mt. Laurel, NJ 08054 Fax:+1 856 866 2033 A self-addressed envelope would be addressed "envelope."
On Tue, 15 Jan 2002, Gary Algier wrote:> Are there any docs for this? Like the schema used, etc. > It is called "experimental". How likely will it survive as is?Download the latest SAMBA_2_2 cvs code (http://samba.org/samba/cvs.html) and read the Samba-LDAP-HOWTO. jerry