Can't view directories in 2.2.1a with win98's explorer

Bergman Janne bjp at cs.tut.fi
Mon Oct 1 12:39:02 GMT 2001



	I've a RedHat 6.2 system on which I had samba-2.0.7 installed.
Everything worked perfectly and I was able to see everything in the samba
volumes in win98's exlorer.

	I updated to samba-2.2.1a from the RPM package available at the
samba.org website.

	After the update I no longer can see any directories in windows
explorer or in e.g. Word's open documents dialog. The directories do exist
and I can move into them in the open dialog by manually typing in the
name of a directory.

	If I kill the smbd process and start the 2.0.7 smbd (using the
same config file), the directories become visible again after refreshing
the explorer's view (hit F5). Killing the 2.0.7 verioin and starting the
2.2.1a, and refreshing the view again, the directories disappear again.

	However, when using the command promt, I can see both the files
and the directories with the dir command, in both versions of samba.


	From the smb.<client> log file there are lines of the following
kind when using 2.2.1a:

[2001/09/30 16:34:47, 3, effective(110, 110), real(0, 0)] lib/util.c:unix_clean_name(403)
  unix_clean_name [/*.*]
[2001/09/30 16:34:47, 3, effective(110, 110), real(0, 0)] lib/util.c:unix_clean_name(403)
  unix_clean_name [*.*]
[2001/09/30 16:34:47, 3, effective(110, 110), real(0, 0)] lib/util.c:unix_clean_name(403)
  unix_clean_name [./]
[2001/09/30 16:34:47, 3, effective(110, 110), real(0, 0)] smbd/dir.c:dptr_create(491)
  creating new dirptr 256 for path ./, expect_close = 1
[2001/09/30 16:34:47, 4, effective(110, 110), real(0, 0)] smbd/trans2.c:call_trans2findfirst(758)
  dptr_num is 256, wcard = *.*, attr = 22
[2001/09/30 16:34:47, 4, effective(110, 110), real(0, 0)] smbd/trans2.c:call_trans2findfirst(844)
  SMBtrans2 mask=*.* directory=./ dirtype=22 numentries=6

	When using the command promt, the mask used is only '*'.

	With the 2.0.7 version, the mask used seems to be '*.*' as with
2.2.1a. However, any directories not containing the '.' character will not
be displayed (those that contain the '.' are shown).

	Could it be that 2.2.1a treats the '*.*' mask in a more strict
manner than 2.0.7, thus breaking the compatibility (without knowing
anything about the samba protocols) with atleast win98? Or is it just me
(in which case, what am I doing wrong)?



		TIA,
		Janne Bergman





More information about the samba-technical mailing list