Some possibilities:
* Add "_" to the regex (any other characters missing?) - not even sure "_" is valid
* Add [ "$DEBIAN_FRONTEND" == "noninteractive" ] && db_set slapd/domain
nodomain in a relevant place
* Set the default for slapd/invalid_config to false in the template
(In reply to comment #1)
> Is this bug still present in Breezy/Dapper?
Appears to be
Reproduce with FRONTEND= noninteractive DEBUG=developer set-selections
# export DEBIAN_
# export DEBCONF_
# dpkg --purge slapd
# echo slapd slapd/domain string _ | debconf-
# apt-get install slapd
<spin>
Some possibilities: config to false in the template
* Add "_" to the regex (any other characters missing?) - not even sure "_" is valid
* Add [ "$DEBIAN_FRONTEND" == "noninteractive" ] && db_set slapd/domain
nodomain in a relevant place
* Set the default for slapd/invalid_