Error accessing mapped drive >2TB?
Warren Young
wyml@etr-usa.com
Wed Oct 21 18:05:00 GMT 2015
On Oct 21, 2015, at 10:22 AM, Corinna Vinschen wrote:
>
> On Oct 21 09:52, Warren Young wrote:
>>
>> I mean, I know how to snag a stream of SMB packets with Wireshark, but
>> I don’t know what I’d be looking for in the dump.
>
> Me neither, the Samba guys might be able to help there, perhaps.
Apple hasn’t shipped Samba as part of OS X since 10.6, quite a few years ago now. In 10.7, they switched to an internally-developed SMB server.
> Or, does wireshark know how SMB packages look like OTW?
The build of Wireshark on the machine I’m using right now has about 1,700 protocol dissectors, which covers pretty much every protocol you’ve ever heard of, and hundreds you haven’t.
The trick is, dissecting the packets is only useful if the protocol is human readable (SMB isn’t) or you know the protocol (I don’t) or you’re lucky and happen to see something you can make sense of. I was hoping not to have to rely on blind luck.
> HANDLE handle = CreateFile ("P:\\", ...);
I guess I’m not seeing what values to pass to CreateFile() because I get an error with the values I’m trying here. I’ve put my fleshed-out test program here:
http://pastebin.com/BfN2fNBQ
Its complaint is:
Bad handle: The filename, directory name, or volume label syntax is incorrect.
(0x7b)
I double-checked, and P: is still mapped.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list