X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; q=dns; s=default; b=lNzEjVORUIVxzMtcLxogLZWHEJvX FcwVcwmOqrDRkzwY3266pUEYJSmLJyvYxLmeer6D09OFTPdmBLjNVmVhpBYKZ6Gf 0uR13kg+SrQ6O1Nn+LeCw3Yfy3212fyQw0Z3TzEGG6HICfsIvqyQGf6HUibSc97S wbv2NaNUnKrT7WI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; s=default; bh=tyhUgHurbUe26t/QWmF43/kCmI8=; b=iL MBOv9DN1FjFLJl41e4qyIBI3kJeNvIOMqNQBgUatthPxmJH7zRN919yobvioogXD 0A8mU8y3Lx0KpGFP68EJXi7KiFakOXFXdmFZdjFAfdSWRnS8K61e6Dru7XPJHvrS yGvUypFZogC2ePd6chy9A8JTnxaEWubeH8wlUeTwc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: etr-usa.com Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Error accessing mapped drive >2TB? From: Warren Young In-Reply-To: <20151021162254.GC19868@calimero.vinschen.de> Date: Wed, 21 Oct 2015 11:26:29 -0600 Message-Id: <169BF9F6-FF26-4073-9CC4-786882EFBAE9@etr-usa.com> References: <712A87EA-64C7-4033-BE7F-39C8C8D527EB AT etr-usa DOT com> <20151021100328 DOT GL5319 AT calimero DOT vinschen DOT de> <20151021162254 DOT GC19868 AT calimero DOT vinschen DOT de> To: cygwin AT cygwin DOT com X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t9LHQjDI031169 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