1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-18 06:04:06 +03:00
Douglas Bagnall e219193387 examples:winexe: embed Samba version as exe timestamp
It turns out the timestamp doesn't need to be real, and it isn't used,
but it might as well tell you something. So let's make it tell you what
version of Samba it came from, which could be useful for people who have
lots of old winexes lying around, the poor souls.

00000040  0e 1f ba 0e 00 b4 09 cd  21 b8 01 4c cd 21 54 68  |........!..L.!Th|
00000050  69 73 20 70 72 6f 67 72  61 6d 20 63 61 6e 6e 6f  |is program canno|
00000060  74 20 62 65 20 72 75 6e  20 69 6e 20 44 4f 53 20  |t be run in DOS |
00000070  6d 6f 64 65 2e 0d 0d 0a  24 00 00 00 00 00 00 00  |mode....$.......|
00000080  50 45 00 00 64 86 0a 00  00 15 04 00 00 00 00 00  |PE..d...........|
                                    |  |  |
                                    |  |  major  4.
                                    |  minor     21.
                                    release      0

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13213

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Fri May 31 01:28:06 UTC 2024 on atb-devel-224

(cherry picked from commit 3a7dbf8b77b2a9e7cdc55bc5b339b9f501d037aa)
2024-06-10 13:24:16 +00:00
..
2022-02-22 16:20:58 +00:00
2021-04-19 18:18:31 +00:00
2023-07-13 05:41:36 +00:00
2023-10-10 23:23:40 +00:00
2023-04-11 09:06:35 +00:00
2004-02-09 18:48:44 +00:00
2023-03-28 09:33:31 +00:00
2023-03-28 09:33:31 +00:00
2024-01-09 10:21:34 +00:00
2022-05-19 17:51:33 +00:00
2023-10-25 22:23:37 +00:00

Copyright(C) Samba-Team 1993-2001

This directory contains example config files and related material for
Samba. 

At a minimum please refer to the smb.conf.default file for current
information regarding global and share parameter settings.

To contribute to Samba see: https://wiki.samba.org/index.php/Contribute