GMT tokens to filetime

Tom Talpey ttalpey at microsoft.com
Thu Aug 9 14:52:19 UTC 2018


The snapshot GMTTokens are basically RFC3339 format, with some substitutions to accommodate storing as (unique-ish legal) filenames. There are lots of RFC3339 parsers that could easily be modified?

-----Original Message-----
From: linux-cifs-owner at vger.kernel.org <linux-cifs-owner at vger.kernel.org> On Behalf Of Steve French
Sent: Thursday, August 9, 2018 2:20 AM
To: samba-technical <samba-technical at lists.samba.org>; CIFS <linux-cifs at vger.kernel.org>
Subject: GMT tokens to filetime

Since snapshots are GMTTokens (48 bytes unicode followed by null e.g.
"@GMT-2001.03.30-14.44.00") while SMB3 timewarp open contexts require
Timestamps (64 bit field that is 100nsecs since 1601) anyone know
tools or examples that convert between them in userspace (that we
could use e.g. in cifs-utils to convert these)?

I didn't see snapshot related stuff in smbclient

-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvger.kernel.org%2Fmajordomo-info.html&data=02%7C01%7Cttalpey%40microsoft.com%7C10ae719d8aee475cc27c08d5fdc02d04%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636693924187320700&sdata=hHTZtb1yC3mD93EGoH4RD0xnB6fOFCHbhV2PBpLQr3Y%3D&reserved=0


More information about the samba-technical mailing list