s3: make better use of ccache by not including version.h in every C-file.
[samba.git] / source3 / smbd / sesssetup.c
index b8e0c86833e7e65fb01665be54402c4fe42d31d9..a2ad56bea16f94495840ca032cb13b4a9c646dfd 100644 (file)
@@ -71,7 +71,7 @@ static int push_signature(uint8 **outbuf)
        if (tmp == -1) return -1;
        result += tmp;
 
-       if (asprintf(&lanman, "Samba %s", SAMBA_VERSION_STRING) != -1) {
+       if (asprintf(&lanman, "Samba %s", samba_version_string()) != -1) {
                tmp = message_push_string(outbuf, lanman, STR_TERMINATE);
                SAFE_FREE(lanman);
        }