Incorrect rdn in the bind9 dn entry in the DEP8 test

Bug #2034251 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bind-dyndb-ldap (Ubuntu)
Fix Released
Low
Andreas Hasenack

Bug Description

There is a small mistake in the bind9 DN entry, it should have an attribute matching the dn, but instead it mentions a "replicator" entity that doesn't exist.

It doesn't fail the test, but it's an incorrect LDAP entry and should be fixed:

diff --git a/debian/tests/dyndb-ldap b/debian/tests/dyndb-ldap
index 5482bc0..019bf24 100644
--- a/debian/tests/dyndb-ldap
+++ b/debian/tests/dyndb-ldap
@@ -8,6 +8,7 @@ myhostname="dep8"
 ldap_admin_dn="cn=admin,${ldap_suffix}"
 ldap_admin_pw="secret"
 ldap_bind9_dn="uid=bind9,${ldap_suffix}"
+ldap_bind9_rdn="uid: bind9" # match ldap_bind9_dn
 ldap_bind9_pw="secretagain"

 cleanup() {
@@ -122,7 +123,7 @@ EOF
 create_bind9_uid() {
     ldapadd -x -D "${ldap_admin_dn}" -w "${ldap_admin_pw}" <<EOF
 dn: ${ldap_bind9_dn}
-uid: replicator
+${ldap_bind9_rdn}
 objectClass: simpleSecurityObject
 objectClass: account
 userPassword: {CRYPT}x

This was fixed in debian already via https://salsa.debian.org/freeipa-team/bind-dyndb-ldap/-/commit/6b5096776ee0502d9cac3966b6aa5f4da4cef664

Related branches

Changed in bind-dyndb-ldap (Ubuntu):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Andreas Hasenack (ahasenack)
summary: - Incorrect rdn in the bind9 dn entry
+ Incorrect rdn in the bind9 dn entry in the DEP8 test
description: updated
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Oops, this was fixed in bind9 already.

no longer affects: bind9 (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bind-dyndb-ldap - 11.10-6ubuntu1

---------------
bind-dyndb-ldap (11.10-6ubuntu1) mantic; urgency=medium

  * d/t/dyndb-ldap fixes:
    - use correct attribute in the bind9 dn entry (LP: #2034251)
    - allow writing to the dns tree (LP: #2034250)

 -- Andreas Hasenack <email address hidden> Tue, 05 Sep 2023 10:05:46 -0300

Changed in bind-dyndb-ldap (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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