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@xxxxxxxxxxxxxxx <linux-cifs-owner@xxxxxxxxxxxxxxx> On Behalf Of Steve French Sent: Thursday, August 9, 2018 2:20 AM To: samba-technical <samba-technical@xxxxxxxxxxxxxxx>; CIFS <linux-cifs@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx 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 ��.n��������+%������w��{.n�����{�����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f