X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <2094.139.153.254.191.1217340180.squirrel@www.cs.stir.ac.uk>
In-Reply-To: <20080729134843.GY29031@calimero.vinschen.de>
References: <2870.139.153.254.191.1217245935.squirrel@www.cs.stir.ac.uk>     <20080728123114.GM29031@calimero.vinschen.de>     <1399.139.153.254.191.1217336060.squirrel@www.cs.stir.ac.uk>     <20080729134843.GY29031@calimero.vinschen.de>
Date: Tue, 29 Jul 2008 15:03:00 +0100 (BST)
Subject: Re: opendir/readdir failure on non-Samba Unix-hosted remote       	volumess
From: "Sam Nelson" <sam@cs.stir.ac.uk>
To: cygwin@cygwin.com
Reply-To: sam@cs.stir.ac.uk
User-Agent: SquirrelMail/1.4.9a
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-stir.ac.uk-MailScanner: Found to be clean
X-stir.ac.uk-MailScanner-From: sam@cs.stir.ac.uk
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, July 29, 2008 14:48, Corinna Vinschen wrote:
> On Jul 29 13:54, Sam Nelson wrote:
>> On Mon, July 28, 2008 13:31, Corinna Vinschen wrote:
>> >   and right in front of the comment starting in line 1713 in
>> >   fhandler_disk_file.cc add
>> >
>> >     if (!NT_SUCCESS (status))
>> >       debug_printf ("NtQueryDirectoryFile failed, status %p, win32
>> error
>> > %lu",
>> > 		    status, RtlNtStatusToDosError (status));
>> >
>> >   Add the same lines preceeding the closing brace in line 1728.
>>
>> OK, did that.  With the `augmented' cygwin1.dll in place, my `strace ls'
>> now says (excerpted):
>>
>> --------------------------------------------------------------------
>>   934  239541 [main] ls 5132 fhandler_disk_file::readdir:
>> NtQueryDirectoryFile failed, status 0xC00000BB, win32 error 50
>>   526  240067 [main] ls 5132 fhandler_disk_file::readdir:
>> NtQueryDirectoryFile failed, status 0xC00000BB, win32 error 50
>
> That's weird.  None of the calls work and the status code is actually
> STATUS_NOT_SUPPORTED.  That's ... weird.  I have no idea what to think
> about this.  At least the FileBothDirectoryInformation info class is
> really old and exists since at least NT 4 times.

The `backstop' to all of this is that Cygwin talked successfully to TAS
until 1.5.19-4 was released.

> Here's a question:  Does TAS have a client side component?  Do you
> have to install a driver or something?  Or does it work transparently
> like Samba?

It's transparent.  It looks like a Windows fileserver, you map a drive
from it with a Windows domain, username, and password; it looks (mostly)
like a Windows fileserver.

> That might not change anything.  The problem here is to figure out what
> the underlying problem is and then how to workaround it.  I don't know
> how much time you want to invest, but if you want to, you will have to
> dig deeper:

I'll work my way down the list.

[snip useful list of pointers]

> - Still?  Then we're probably stuck if you can't get help from the
>   TAS guys.

I have tried, once or twice.  They weren't interested; I don't think
they'd heard of Cygwin at the time.

Thanks,
-- 
SAm.

-- 
Academic Excellence at the Heart of Scotland.
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

