s3: make better use of ccache by not including version.h in every C-file.
[ira/wip.git] / source3 / libnet / libnet_join.c
index 18743aad55210bd1fbddf84bde0d77f2fab48e88..be6943bad97159fdc10485123fdc51585b732428 100644 (file)
@@ -470,7 +470,7 @@ static ADS_STATUS libnet_join_set_os_attributes(TALLOC_CTX *mem_ctx,
                return ADS_ERROR(LDAP_NO_MEMORY);
        }
 
-       os_sp = talloc_asprintf(mem_ctx, "Samba %s", SAMBA_VERSION_STRING);
+       os_sp = talloc_asprintf(mem_ctx, "Samba %s", samba_version_string());
        if (!os_sp) {
                return ADS_ERROR(LDAP_NO_MEMORY);
        }