Windows 9x client communication issue - more detail

Greer, Darren (MED) Darren.Greer at med.ge.com
Mon Feb 12 18:38:47 GMT 2001


I have samba 2.0.7 running on SunOS 5.7.  I am using security = server,
and pointing the samba server to an NT PDC for user authentification.
Everything is working fine as far as user access.  The problem that is
happening exists only with Windows 9x clients.

They can connect to the samba share just fine, and can create/modify
files in the shares root directory all day long.  However, as soon as
they try to create or modify directories, or files under those
directories, they get errors ranging from "Access Denied" to the file
"Does not exist".  Permissions on the files/directories are all correct.
Likewise, if someone from Windows NT or Windows 2000 comes in, the
problem does not exist. 

I am convinced that this is a "Samba" issue, and not a Windows 9x issue.
Or that, it is a problem with Samba interacting with the inconsistencies
of Windows 9x.

Here is a snippet of the Samba log files where a user is trying to first
access a "New Folder" and second create a directory under the share's
root directory.  This actually brings up another issue.  When the user
tries to create a directory in the base directory, it actually creates
the folder and then immediately tells the user that the file already
exists.  The permission on that folder are, again, correct.  The fact
that "New Folder" is showing up in there as "NEW FOLDER" scares me.
Following the log snippet is the [global] section of my smb.conf file,
and the section where the folder is defined.

Any help on this issues is /greatly/ appreciated.

Thanks.     **code below**

Darren Greer

--------------------------------
[2001/02/12 09:51:11, 3] lib/doscalls.c:(342)
  dos_ChDir to /etc
[2001/02/12 09:51:11, 3] lib/doscalls.c:(342)
  dos_ChDir to /www/develop/navwiz
[2001/02/12 09:51:11, 3] lib/util.c:(522)
  unix_clean_name [/NEW FOLDER]
[2001/02/12 09:51:11, 3] lib/util.c:(522)
  unix_clean_name [NEW FOLDER]
[2001/02/12 09:51:11, 3] smbd/reply.c:(1115)
  stat of NEW FOLDER failed (No such file or directory)
[2001/02/12 09:51:11, 3] smbd/error.c:(138)
  error packet at line 1127 cmd=8 (SMBgetatr) eclass=1 ecode=2
[2001/02/12 09:51:11, 3] smbd/error.c:(143)
  error string = No such file or directory
[2001/02/12 09:51:12, 3] smbd/process.c:(618)
  Transaction 26 of length 94
[2001/02/12 09:51:12, 3] smbd/process.c:(448)
  switch message SMBtrans2 (pid 29310)
[2001/02/12 09:51:12, 3] lib/doscalls.c:(342)
  dos_ChDir to /etc
[2001/02/12 09:51:12, 3] lib/doscalls.c:(342)
  dos_ChDir to /www/develop/navwiz
[2001/02/12 09:51:12, 3] smbd/trans2.c:(668)
  call_trans2findfirst: dirtype = 22, maxentries = 6,
close_after_first=0, close_if_end = 0 requires
_resume_key = 0 level = 260, max_data_bytes = 2432
[2001/02/12 09:51:12, 3] lib/util.c:(522)
  unix_clean_name [/NEW FOLDER]
[2001/02/12 09:51:12, 3] lib/util.c:(522)
  unix_clean_name [NEW FOLDER]
[2001/02/12 09:51:12, 3] lib/util.c:(522)
  unix_clean_name [./]
[2001/02/12 09:51:12, 3] smbd/dir.c:(491)
  creating new dirptr 256 for path ./, expect_close = 1
[2001/02/12 09:51:12, 3] smbd/error.c:(138)
  error packet at line 817 cmd=50 (SMBtrans2) eclass=1 ecode=2
--------------------------------


--------------------------------
[global]
  workgroup = GEMEDAMERICA
  server string = Web Solutions - Development %v
  hosts allow = 192.168.1. 192.168.2. 127. 3.
  printing = cups
  log file = /var/log/samba/log.%m
  max log size = 50
  security = server
  password server = uswaupdcmedge
  encrypt passwords = yes
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  dns proxy = no 
  preserve case = yes
  case sensitive = yes
  ;  short preserve case = no
  ;  default case = lower

[navwiz]
  comment = Navigation Wizard
  path = /www/develop/navwiz
  valid users = @wnavwiz
  write list = @wnavwiz
  force user = admweb
  force group = wnavwiz
  force create mode = 0775
  force directory mode = 0775
  browseable = yes
  writeable = yes
  public = no
--------------------------------





More information about the samba mailing list