summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-01-08 10:55:02 +0000
committerOlivier Blin <oblin@mandriva.com>2009-01-08 10:55:02 +0000
commit9ed00ebd0c5e755e6795a6d94305b26094468fdf (patch)
treef8f1ce6aeddfdd160f549ce7cf9604391193794d /perl-install
parent755e9744bc66c5348d8e3564d80956771982c997 (diff)
downloaddrakx-backup-do-not-use-9ed00ebd0c5e755e6795a6d94305b26094468fdf.tar
drakx-backup-do-not-use-9ed00ebd0c5e755e6795a6d94305b26094468fdf.tar.gz
drakx-backup-do-not-use-9ed00ebd0c5e755e6795a6d94305b26094468fdf.tar.bz2
drakx-backup-do-not-use-9ed00ebd0c5e755e6795a6d94305b26094468fdf.tar.xz
drakx-backup-do-not-use-9ed00ebd0c5e755e6795a6d94305b26094468fdf.zip
lookup for Samba master browsers too (backport from trunk)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/fs/remote/smb.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 550878533..05a94791c 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- diskdrake:
+ o lookup for Samba master browsers too
+
Version 11.71.4 - 8 January 2009
- diskdrake:
diff --git a/perl-install/fs/remote/smb.pm b/perl-install/fs/remote/smb.pm
index a406b8253..378aa6a1e 100644
--- a/perl-install/fs/remote/smb.pm
+++ b/perl-install/fs/remote/smb.pm
@@ -53,7 +53,7 @@ sub smbclient {
}
sub find_servers {
- my (undef, @l) = `nmblookup "*"`;
+ my (undef, @l) = `nmblookup "*"; nmblookup -M -- -`;
s/\s.*\n// foreach @l;
require network::network;
my @servers = grep { network::network::is_ip($_) } @l;