git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updated the 3.0 branch from the head branch - ready for alpha18
[samba.git]
/
packaging
/
PHT
/
TurboLinux
/
findsmb
diff --git
a/packaging/PHT/TurboLinux/findsmb
b/packaging/PHT/TurboLinux/findsmb
index 986c2481779664268161168de8861f2953dca8ff..f70d18dcbdc1019163443dee92cb043df6f10f9b 100755
(executable)
--- a/
packaging/PHT/TurboLinux/findsmb
+++ b/
packaging/PHT/TurboLinux/findsmb
@@
-73,7
+73,7
@@
foreach $ip (@ipaddrs) # loop through each IP address found
$name = "unknown nis name";
}
} else {
- /(
\S+)
/;
+ /(
.{1,15})\s+<00>\s+
/;
$name = $1;
}
@@
-103,7
+103,7
@@
foreach $ip (@ipaddrs) # loop through each IP address found
@name = grep(/<00> - <GROUP>/,@nmblookup);
$_ = @name[0];
if ($_) {
- /(
\S+)
/;
+ /(
.{1,15})\s+<00>\s+
/;
$_ = "[$1]";
} else {
$_ = "Unknown Workgroup";