ref: 0e97c8d1d7dd8dc2ba800656939106721b1d816f
parent: b72af6a27d5e183dd6a1ac69dc495c044c6af017
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue May 26 20:09:46 EDT 2020
ip/cifsd: add FIND_FIRST2 SMB_FIND_FILE_FULL_DIRECTORY_INFO info level
--- a/sys/src/cmd/ip/cifsd/smb.c
+++ b/sys/src/cmd/ip/cifsd/smb.c
@@ -1066,6 +1066,13 @@
&namep, r->o->untermnamepack, d->name);
break;
+ case 0x0105: /* SMB_FIND_FILE_FULL_DIRECTORY_INFO */
+ n = pack(b, p, e, "llvvvvvvl#0lvv{.f}%4",
+ 0, i, mtime, atime, mtime, mtime, dlen, alen, extfileattr(d),
+ (vlong)0, (vlong)i,
+ &namep, r->o->untermnamepack, d->name);
+ break;
+
case 0x0202: /* SMB_FIND_FILE_UNIX */
n = pack(b, p, e, "llvvvvvvvlvvvvv.f",
0, i,