On Wed, Mar 30, 2005 at 02:30:36PM -0500, Nathan Vidican wrote: > Still experiencing two issues here; we get smbd processes that seem hung-out > and climb to 99% CPU utilization... While there, the end-user's PC seems to > spawn a new smbd process and cannot access the MS Office file (sometimes > excel, sometimes word - even powerpoint this morning), stating it's locked > for read only access. We manually do a kill, then a forced kill of the smbd > process in question, and the office app actually then immediately crashes > loosing any other documents open. So the second issue, is the locking up of > end users' files.
Can you try this patch against 3.0.13 please ? It may be the problem you're seeing. Jeremy. --- /home/jeremy/tmp/samba-3.0.13/source/smbd/dir.c 2005-03-23 12:30:27.000000000 -0800 +++ smbd/dir.c 2005-04-01 11:55:34.000000000 -0800 @@ -573,8 +573,6 @@ } } - dptr->has_wild = True; - /* In case sensitive mode we don't search - we know if it doesn't exist with a stat we will fail. */ @@ -584,6 +582,7 @@ dptr->dir_hnd->offset = *poffset = -1; return NULL; } else { + dptr->has_wild = True; return dptr_normal_ReadDirName(dptr, poffset, pst); } } @@ -602,7 +601,7 @@ return False; } - while (SearchDir(dptr->dir_hnd, name, poffset) == True) { + if (SearchDir(dptr->dir_hnd, name, poffset)) { if (is_visible_file(dptr->conn, dptr->path, name, pst, True)) { return True; } -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba