slapd.config infinite loop

Bug #12470 reported by Tristan Hill on 2005-02-02
6
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
Low
Unassigned
Dapper
Undecided
Unassigned
openldap2.2 (Ubuntu)
Low
Unassigned
Dapper
Low
Unassigned

Bug Description

slapd_2.1.30-2

The query_initial_config function will only terminate if validate_initial_config
is true. If you do something silly like put a _ in the domain the function
will infinite loop (if in DEBIAN_FRONTEND=noninteractive mode)

Dennis Kaarsemaker (dennis) wrote :

Is this bug still present in Breezy/Dapper?

Tristan Hill (stan) wrote :

(In reply to comment #1)
> Is this bug still present in Breezy/Dapper?

Appears to be

Reproduce with
# export DEBIAN_FRONTEND=noninteractive
# export DEBCONF_DEBUG=developer
# dpkg --purge slapd
# echo slapd slapd/domain string _ | debconf-set-selections
# apt-get install slapd
<spin>

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

Confirmed in Dapper.

Changed in openldap2.2:
status: Unconfirmed → Confirmed

Also, I don't see this problem in Debian Sarge.

Colin Watson (cjwatson) on 2007-04-20
Changed in openldap2.2:
assignee: kamion → nobody
Mathias Gug (mathiaz) on 2008-07-24
Changed in openldap2.2:
status: Confirmed → Invalid
Changed in openldap:
status: New → Invalid
importance: Undecided → Low
status: New → Confirmed
Changed in openldap2.2:
importance: Undecided → Low
status: New → Confirmed
Mathias Gug (mathiaz) on 2009-03-10
Changed in openldap:
status: Confirmed → Triaged
Changed in openldap2.2:
status: Confirmed → Triaged
JC Hulce (soaringsky) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue.

Changed in openldap (Ubuntu):
status: Triaged → Incomplete
Changed in openldap2.2 (Ubuntu Dapper):
status: Triaged → Incomplete
JC Hulce (soaringsky) wrote :

Dapper is EOL, closing this bug.

Changed in openldap2.2 (Ubuntu Dapper):
status: Incomplete → Invalid
Tristan Hill (stan) wrote :

still reproducible with slapd from precise following steps in #2

JC Hulce (soaringsky) wrote :

Thank you, reopened.

Changed in openldap (Ubuntu):
status: Incomplete → Confirmed
Changed in openldap2.2 (Ubuntu):
status: Invalid → Confirmed
Tristan Hill (stan) wrote :

I think the package is slapd, now source package openldap. AFAIK openldap2.2 no longer exists - so openldap2.2 invalid/won't fix status is probably correct.

JC Hulce (soaringsky) on 2012-03-12
Changed in openldap2.2 (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.