summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-01-22 11:33:17 +0100
committerVolker Lendecke <vl@samba.org>2008-01-22 12:39:47 +0100
commit559603ad693ede382c566cb8bbd8e6bd8d5750a6 (patch)
tree7762739ed51074ced10ab3d2d1c3f5814613a64e /examples
parenta4c2b04a2b46fd308e98cc83c26de8307f5196a5 (diff)
downloadsamba-559603ad693ede382c566cb8bbd8e6bd8d5750a6.tar.gz
samba-559603ad693ede382c566cb8bbd8e6bd8d5750a6.tar.bz2
samba-559603ad693ede382c566cb8bbd8e6bd8d5750a6.zip
Get Samba version or capability information from Windows
On Jan 21 16:18, Danilo Almeida wrote: > Corina wrote: > > > + time_t samba_gitcommitdate; > > And: > > > + SIVAL(pdata,28,extended_info.samba_gitcommitdate); > > + memcpy(pdata+32,extended_info.samba_version_string,32); > > Note that you are dropping bits on a system w/64-bit time_t, and that this has the 2038 problem. Right. I changed samba_gitcommitdate from time_t to NTTIME and shortened samba_version_string to 28 bytes. New patch below. Thanks, Corinna (This used to be commit 28aa1c199d3a22cda34afcaab49c0561eeb0abcb)
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions