config is in heimdal-kdc 7.5.0+dfsg-1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_title "Heimdal KDC"
RCFILE=/etc/default/heimdal-kdc
if [ -f "$RCFILE" ]; then
. "$RCFILE" || true
fi
# get default realm
# should use krb5-config setting???
if db_get krb5-config/default_realm && [ ! -z "$RET" ]
then
default_realm="$RET"
else
default_realm="`hostname -d | tr a-z A-Z`"
fi
db_fget heimdal/realm seen
if [ "$RET" != "true" ]; then
db_set heimdal/realm "$default_realm"
fi
db_subst heimdal/realm default_realm "$default_realm"
db_input medium heimdal/realm || true
db_go
# get password
db_input medium heimdal-kdc/password || true
db_go
|