184ce3adff
bnc#710430 OBS-URL: https://build.opensuse.org/request/show/80345 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=60
13 lines
549 B
Diff
13 lines
549 B
Diff
Index: bind-9.6-ESVR4P3/vendor-files/tools/ldapdump
|
|
===================================================================
|
|
--- bind-9.6-ESVR4P3.orig/vendor-files/tools/ldapdump
|
|
+++ bind-9.6-ESVR4P3/vendor-files/tools/ldapdump
|
|
@@ -622,6 +622,7 @@ sub getLDAPConfigServer {
|
|
my $data;
|
|
open( FILE, "< /etc/openldap/ldap.conf" ) or die "unable to open /etc/openldap/ldap.conf. $!";
|
|
while(<FILE>) {
|
|
+ if ( /^uri\s+([^\s]*)\s*/i ) { $data = $1; last }
|
|
if ( /^host\s+([^\s]*)\s*/i ) { $data = $1; last }
|
|
}
|
|
close(FILE);
|