On Wed, 13 Dec 2006, Peter Palfrader wrote:
> > Peter is mistaken, add_servers is only called if "$2" is empty - i.e. on an
> > initial installation.
> | if [ -n "$2" ]
> | then
> | add_servers
Actually, this is really bad.
It means the lines do _not_ get added on iditial installations:
[EMAIL PROTECTED]:/# dpkg -l heimdal-kdc
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==================-==================-===========================
pn heimdal-kdc <none> (no description available)
[EMAIL PROTECTED]:/# dpkg -i heimdal-kdc_0.7.2.dfsg.1-7_i386.deb
Selecting previously deselected package heimdal-kdc.
(Reading database ... 12797 files and directories currently installed.)
Unpacking heimdal-kdc (from heimdal-kdc_0.7.2.dfsg.1-7_i386.deb) ...
Setting up heimdal-kdc (0.7.2.dfsg.1-7) ...
[..]
+ cp -a /usr/share/doc/heimdal-kdc/examples/kadmind.acl
/etc/heimdal-kdc/kadmind.acl
+ kstash --master-key-fd=0
kstash: writing key to `/var/lib/heimdal-kdc/m-key'
+ echo -e '\n\n'
+ kadmin -l init CAME.SBG.AC.AT
Realm max ticket life [unlimited]:Realm max renewable ticket life
[unlimited]:+ touch /etc/heimdal-kdc/.configured
+ case "$1" in
+ '[' -n '' ']'
+ dpkg --compare-versions '' le 0.7.2.dfsg.1-6
+ enable_servers
+ update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/kadmind'
--enable kerberos-adm
+ '[' -x /etc/init.d/heimdal-kdc ']'
+ update-rc.d heimdal-kdc defaults
++ which invoke-rc.d
+ '[' -x /usr/sbin/invoke-rc.d ']'
+ invoke-rc.d heimdal-kdc start
[EMAIL PROTECTED]:/# grep heimdal /etc/inetd.conf
[EMAIL PROTECTED]:/#
--
| .''`. ** Debian GNU/Linux **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]