From - Mon Jul 12 10:21:06 1999 Return-Path: Received: from fw.ykhm.cij.co.jp (fw.ykhm.cij.co.jp [192.168.9.99]) by kauai.ykhm.cij.co.jp (8.9.3+3.2W/3.7W/1999062813) with ESMTP id FAA27654 for ; Sat, 10 Jul 1999 05:00:35 +0900 (JST) Received: by fw.ykhm.cij.co.jp (3.7W/1999020113) id FAA15242; Sat, 10 Jul 1999 05:00:32 +0900 (JST) Received: from kong.bstc.net (kong.bstc.net [207.239.221.11]) by fw.ykhm.cij.co.jp (8.9.3+3.2W/3.7W/1999020419) with SMTP id FAA15232 for ; Sat, 10 Jul 1999 05:00:29 +0900 (JST) (envelope-from samba-technical@samba.org) Received: (qmail 15471 invoked from network); 9 Jul 1999 20:00:18 -0000 Received: from samba.anu.edu.au (150.203.164.44) by kong.bstc.net with SMTP; 9 Jul 1999 20:00:18 -0000 Received: from localhost ([127.0.0.1]:32766 "HELO ") by samba.anu.edu.au with SMTP id ; Sat, 10 Jul 1999 05:59:51 +1000 Message-Id: Errors-To: listproc-errors@samba.anu.edu.au Reply-To: greg@discreet.com Originator: samba-technical@samba.org Sender: samba-technical@samba.org Precedence: bulk From: Greg Dickie To: Multiple recipients of list SAMBA-TECHNICAL Subject: RE: 'Is a directory' message-samba 2.0.4b, clearcase Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Listprocessor-Version: 6.0d -- ListProcessor by Anastasios Kotsikonas X-URL: http://samba.anu.edu.au/listproc X-Comment: developer discussion of Samba implementation In-Reply-To: <37865230.75A92807@str.com> X-Mailer: XFMail 1.3 [p0] on IRIX Date: Sat, 10 Jul 1999 05:59:51 +1000 X-UIDL: dbbac10296af55f8e12c3ab127472eec Status: U Pick up the patch for this at ftp://ftp.discreet.com/outgoing/nttrans.c This file needs to go into source/smbd and be rebuilt. Greg On 09-Jul-99 Dan Christopherson wrote: > I have two Sloaris (2.6) boxen where I'm using samba to export the > ClearCase database files to NT workstations. > > This morning I upgraded the samba installations from 2.0.3 to 2.0.4b. > The next time I rebooted my workstation (NT 4.0 SP3), ClearCase > complained that it couldn't mount either database, logging the error > message "The VOB storage directory \\dudley\work\vob\ALI". However, I > could browse this directory under explorer. > > Here is a snippet from a level 3 samba log showing samba's view of the > problem: > [1999/07/09 12:49:25, 3] lib/doscalls.c:dos_ChDir(336) > dos_ChDir to /export/work > [1999/07/09 12:49:25, 3] lib/util.c:unix_clean_name(609) > unix_clean_name [/vob/ALI] > [1999/07/09 12:49:25, 3] lib/util.c:unix_clean_name(609) > unix_clean_name [vob/ALI] > [1999/07/09 12:49:25, 3] smbd/open.c:open_file(503) > Error opening file vob/ALI (Is a directory) (flags=0) > [1999/07/09 12:49:25, 3] smbd/open.c:fd_attempt_close(158) > fd_attempt_close fd = -1, dev = ffffffff, inode = > 18446744073709551616, open_f > lags = 2, ref_count = 1. > [1999/07/09 12:49:25, 3] smbd/error.c:error_packet(127) > 32 bit error packet at line 795 cmd=162 (SMBntcreateX) eclass=c00000ba > [Error: > Unknown error (186,49152)] > [1999/07/09 12:49:25, 3] smbd/error.c:error_packet(143) > error string = Is a directory > > Grrk! Of course it's a directory, you silly thing! > Anyone have any clue as to why samba would be calling 'open_file' on a > directory rather than 'open_directory'? I've grovelled the source a bit, > and found that there are quite a few diffs between 2.0.3 and 2.0.4b in > both open.c and nttrans.c (which I believe to be the original caller in > this case) > I may have time over the next couple weeks to look into this further, if > noone has any better notion than I. > > thanks all, > danch (now happily reverted) --------------------------------------------------------------------- Greg Dickie Just A Guy* *from discreet (the logic is gone) Montreal (514) 954-7171 greg@discreet.com