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

Dan Christopherson danch at str.com
Fri Jul 9 19:49:04 GMT 1999


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)


More information about the samba-technical mailing list