'Is a directory' message-samba 2.0.4b, clearcase

Greg Dickie greg at discreet.com
Fri Jul 9 19:58:21 GMT 1999


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 at discreet.com



More information about the samba-technical mailing list