GMT tokens to filetime

Tom Talpey ttalpey at
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 <linux-cifs-owner at> On Behalf Of Steve French
Sent: Thursday, August 9, 2018 2:20 AM
To: samba-technical <samba-technical at>; CIFS <linux-cifs at>
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


To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo at
More majordomo info at

More information about the samba-technical mailing list