I'me trying to track down a performance problem as I posted yesterday and
as I increase the log level I've noticed this...

[2003/02/21 08:19:06, 2] smbd/open.c:open_file(245)
  dm389245 opened file mr00257.bat read=Yes write=No (numopen=1)
[2003/02/21 08:19:06, 2] smbd/close.c:close_normal_file(213)
  dm389245 closed file mr00257.bat (numopen=0)

why does samba open and close the file so many times? this is the login
script file it is opening btw....
*Samba* is not opening and closing the file that many times; the client side is. COMMAND.COM and cmd both process batch files "one line at a time"; I haven't tested this but I suspect cmd opens the file, reads a line, closes the file, executes the line.

You can check this for yourself from the Windows side with filemon: http://www.sysinternals.com/ntw2k/source/filemon.shtml

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba

Reply via email to