setting up debconf ldap driver

Bug #1035942 reported by molostoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
New
Undecided
Unassigned

Bug Description

setting ldap driver by uncommenting ldap configuration variables issued in

Attempt to access disallowed key 'keybykey' in a restricted hash at /usr/share/perl5/Debconf/DbDriver.pm line 35, <DEBCONF_CONFIG> chunk 7

also any other settings provided in comments report the same, it seems that they are not hashed, and I am unable to configure ldap remotedb, as it stated in doc.

Please provide some point for help...

Revision history for this message
molostoff (molostoff) wrote :

Also I have found some code meaningless (at least unclear):

--- a/LDAP.pm
+++ b/LDAP.pm
@@ -117,8 +117,7 @@ sub shutdown
                }

                foreach my $field (keys %{$data{fields}}) {
- next if ($data{fields}->{$field} eq '' &&
- !($field eq 'value'));
+ next if ($data{fields}->{$field} eq '');

I dont know the purpose, but without this check all works fine to me.

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.