search for: lastnameoffset

Displaying 1 result from an estimated 1 matches for "lastnameoffset".

1999 Oct 23
0
smbfs: patch for directory listing
...another is the much larger buffersize of smbclient (0xffff vs 4096-17). Removing the flags for resume keys stops smbfs from working with a samba-2.0.4 server (and possibly others). That is probably because of a bug (?) in smbfs that it does not return the "lastname" properly. The "LastNameOffset" points to the last record in the data area, not to the actual filename. But the code simply does strncpy(mask, lastname, mask_len); where lastname is a pointer to a record looking something like this: 00000000 00000000 14000000 45646974426f7844656661756c742e6a61766100 nnnnnnnn iiiiiiii lllll...