Subject: Re: CVS commit: sharesrc
To: Johan Danielsson <joda@pdc.kth.se>
From: Jason R Thorpe <thorpej@zembu.com>
List: source-changes
Date: 08/11/2000 07:36:57
On Fri, Aug 11, 2000 at 11:59:17AM +0200, Johan Danielsson wrote:

 > We should probably start kadmind from rc.d too.

Why?  I've been *using* it from inetd!  It works fine there.

 > /Johan
 > 
 > Index: inetd.conf
 > ===================================================================
 > RCS file: /cvsroot/basesrc/etc/inetd.conf,v
 > retrieving revision 1.38
 > diff -w -u -r1.38 inetd.conf
 > --- inetd.conf	2000/08/06 20:35:13	1.38
 > +++ inetd.conf	2000/08/11 09:59:50
 > @@ -45,9 +45,6 @@
 >  #
 >  #	Services run ONLY on the Kerberos server
 >  #
 > -#kerberos-adm	stream	tcp	nowait	root	/usr/libexec/kadmind	kadmind
 > -#kpasswd	stream	tcp	nowait	root	/usr/libexec/kpasswdd	kpasswdd
 > -#
 >  # The hprop service is run on slave KDCs to receive the database from
 >  # the master KDC.
 >  #hprop		stream	tcp	nowait	root	/usr/libexec/hpropd	hpropd
 > Index: rc.d/kdc
 > ===================================================================
 > RCS file: /cvsroot/basesrc/etc/rc.d/kdc,v
 > retrieving revision 1.1
 > diff -w -u -r1.1 kdc
 > --- kdc	2000/08/06 21:32:56	1.1
 > +++ kdc	2000/08/11 09:59:50
 > @@ -15,3 +15,21 @@
 >  
 >  load_rc_config $name
 >  run_rc_command "$1"
 > +
 > +
 > +name="kadmind"
 > +command="/usr/sbin/${name}"
 > +pidfile="/var/run/${name}.pid"
 > +required_files="/etc/krb5.conf"
 > +
 > +load_rc_config $name
 > +run_rc_command "$1"
 > +
 > +
 > +name="kpasswdd"
 > +command="/usr/sbin/${name}"
 > +pidfile="/var/run/${name}.pid"
 > +required_files="/etc/krb5.conf"
 > +
 > +load_rc_config $name
 > +run_rc_command "$1"

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>