s4: show samba version in bin/samba -b
authorAndrew Tridgell <tridge@samba.org>
Thu, 14 Oct 2010 01:42:40 +0000 (12:42 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 14 Oct 2010 02:24:47 +0000 (02:24 +0000)
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Oct 14 02:24:47 UTC 2010 on sn-devel-104

source4/smbd/server.c

index 37fdd2515a6f192ed2ff1377d52581e178d3b03f..e8e2217c01fb29830186e199ccc0f89ed25a3569 100644 (file)
@@ -262,6 +262,7 @@ static void show_build(void)
        };
        int i;
 
+       printf("Samba version: %s\n", SAMBA_VERSION_STRING);
        printf("Build environment:\n");
 #ifdef BUILD_SYSTEM
        printf("   Build host:  %s\n", BUILD_SYSTEM);