Commit 6a8e01aa authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5440 argonaut-ldap2zone should be able to get data from a branch

parent e444bc1a
......@@ -831,6 +831,7 @@ sub argonaut_get_ldap2zone_settings {
'ttl' => 'argonautLdap2zoneTTL',
'rndc' => 'argonautLdap2zoneRndc',
'noreverse' => 'argonautLdap2zoneNoReverse',
'searchbase' => 'argonautLdap2zoneSearchBase',
},
@_
);
......
......@@ -86,6 +86,10 @@ sub argonaut_ldap2zone
my ($ldap,$ldap_base) = argonaut_ldap_handle($config);
if ($settings->{'searchbase'} ne "") {
$ldap_base = $settings->{'searchbase'};
}
if ($ldap2view) {
print "Searching DNS View '$zone'\n" if $verbose;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment