summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/smbstatus
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/bin/smbstatus')
-rwxr-xr-xsource4/scripting/bin/smbstatus2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/bin/smbstatus b/source4/scripting/bin/smbstatus
index df8864f7e8..7fefae6963 100755
--- a/source4/scripting/bin/smbstatus
+++ b/source4/scripting/bin/smbstatus
@@ -14,6 +14,7 @@ var options = new Object();
ok = GetOptions(ARGV, options,
"POPT_AUTOHELP",
"POPT_COMMON_SAMBA",
+ "POPT_COMMON_VERSION",
"nbt");
if (ok == false) {
println("Failed to parse options: " + options.ERROR);
@@ -81,6 +82,7 @@ function show_nbt()
println("");
}
+printf("%s\n\n", lpGet("server string"));
if (options['nbt'] != undefined) {
show_nbt();