git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab9cef6
)
r8589: - support --version option to smbstatus
author
Andrew Tridgell
<tridge@samba.org>
Tue, 19 Jul 2005 09:29:30 +0000
(09:29 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:29:42 +0000
(13:29 -0500)
- print samba version at startup
(This used to be commit
eb3e4bbe7f4a8f48c9246275ad6ef21ed0b4d357
)
source4/scripting/bin/smbstatus
patch
|
blob
|
history
diff --git
a/source4/scripting/bin/smbstatus
b/source4/scripting/bin/smbstatus
index df8864f7e8e29b6538eea248c29eae13eb0363f5..7fefae69630ef240437ddf51888a065a875a3fd1 100755
(executable)
--- 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();