The Windows FindExecutable API called from Windows XP will give an error (usually 31) when trying to find the executable program for a file with .html extension stored on Samba. It returns the correct executable if the file is renamed with the .htm extension. It returns the correct exectuable if the API is called from a Win9x machine. Thanks Peter Juliff PS below is a little program to use to demonstrate problem ============== #include <stdio.h> #include <windows.h> main(int argc, char *argv[]) { HINSTANCE status; char exepath[1024]; if (argc != 3) { fprintf(stderr, "usage: %s directory file\n", argv[0]); exit(1); } exepath[0] = '\0'; printf("About to FindExecutable(\"%s\", \"%s\", ...)\n", argv[2], argv[1]); status = FindExecutable(argv[2], argv[1], exepath); printf("==> %d, path: \"%s\"\n", status, exepath[0] == '\0' ? "ERROR!!" : exepath); }
Could you please attach two sniffs taken with ethereal, one when doing the request against a Windows server and the other one against a Samba server? This way we can find out the difference. And please try with Samba version 3.0.22, since 3.0.9 there have been dramatic changes, in particular in the open code. Thanks, Volker
Created attachment 1896 [details] Capture reading html on Samba from Windows XP Having not used ethereal before I hopw this is what you are after
The reading html on windows from windows has corrupted. I will redo and upload as soon as I can
Created attachment 1897 [details] Capture reading html on Windows from Windows XP This is reading the same file stored on WindowsXP. This is a large capture and as I am not familiar with Ethereal I hopw it is what you want. Thanks