[Samba] File case sensitivity

2004-11-11 Thread Brent McDowell

Hi;

I'm re-posting this hoping that someone might be able to help me out -- 
I'm prepared to pay for support if necessary.

I've run into a somewhat interesting issue in regards to IIS serving 
content from a samba share. Occasionly, IIS will return 404 errors for 
content that does infact exist.

From the samba machine, I captured the following:

This is an example of the site http://www.mysite.co.nz/foo not working:

[2004/11/04 09:30:14, 3] smbd/trans2.c:call_trans2qfilepathinfo(2353)
  call_trans2qfilepathinfo: SMB_VFS_STAT of USER/MYSITE.CO.NZ/HTDOCS/FOO failed 
(No such file or directory)
[2004/11/04 09:30:14, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2004/11/04 09:30:14, 3] smbd/error.c:error_packet(114)
  error packet at smbd/trans2.c(2217) cmd=50 (SMBtrans2) 
NT_STATUS_OBJECT_PATH_NOT_FOUND
[2004/11/04 09:30:14, 3] smbd/process.c:process_smb(890)


This is an example of the same site working, after I visited
http://www.mysite.co.nz/ first, a few seconds later:

[2004/11/04 09:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(2361)
  call_trans2qfilepathinfo user/mysite.co.nz/htdocs/foo (fnum = -1) level=1004 
call=5 total_data=0
[2004/11/04 09:34:02, 3] smbd/process.c:process_smb(890)
  Transaction 8253551 of length 154
[2004/11/04 09:34:02, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans2 (pid 14455)
[2004/11/04 09:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(2331)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2004/11/04 09:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(2361)
  call_trans2qfilepathinfo user/mysite.co.nz/htdocs/foo (fnum = -1) level=1004 
call=5 total_data=0
[2004/11/04 09:34:02, 3] smbd/process.c:process_smb(890)
  Transaction 8253552 of length 164

So the issue appears to be that samba is returning 
NT_STATUS_OBJECT_PATH_NOT_FOUND errors when IIS is requesting the 
file/path in uppercase. What I don't understand is that samba, by default, 
is configured to ignore case sensitivity.

Has anyone else had similar problems and/or could point me in the right 
direction?

TIA.

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


[Samba] File case sensitivity

2004-11-03 Thread Brent McDowell

Hi;

I've run into a somewhat interesting issue in regards to IIS serving 
content from a samba share. Occasionly, IIS will return 404 errors for 
content that does infact exist. 

From the samba machine, I captured the following:

This is an example of the site http://www.mysite.co.nz/foo not working:

[2004/11/04 09:30:14, 3] smbd/trans2.c:call_trans2qfilepathinfo(2353)
  call_trans2qfilepathinfo: SMB_VFS_STAT of USER/MYSITE.CO.NZ/HTDOCS/FOO failed (No 
such file or directory)
[2004/11/04 09:30:14, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2004/11/04 09:30:14, 3] smbd/error.c:error_packet(114)
  error packet at smbd/trans2.c(2217) cmd=50 (SMBtrans2) 
NT_STATUS_OBJECT_PATH_NOT_FOUND
[2004/11/04 09:30:14, 3] smbd/process.c:process_smb(890)


This is an example of the same site working, after I visited
http://www.mysite.co.nz/ first, a few seconds later:

[2004/11/04 09:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(2361)
  call_trans2qfilepathinfo user/mysite.co.nz/htdocs/foo (fnum = -1) level=1004 call=5 
total_data=0
[2004/11/04 09:34:02, 3] smbd/process.c:process_smb(890)
  Transaction 8253551 of length 154
[2004/11/04 09:34:02, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans2 (pid 14455)
[2004/11/04 09:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(2331)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2004/11/04 09:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(2361)
  call_trans2qfilepathinfo user/mysite.co.nz/htdocs/foo (fnum = -1) level=1004 call=5 
total_data=0
[2004/11/04 09:34:02, 3] smbd/process.c:process_smb(890)
  Transaction 8253552 of length 164

So the issue appears to be that samba is returning 
NT_STATUS_OBJECT_PATH_NOT_FOUND errors when IIS is requesting the 
file/path in uppercase. What I don't understand is that samba, by default, 
is configured to ignore case sensitivity.

Has anyone else had similar problems and/or could point me in the right 
direction?

TIA.

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


[Samba] (no subject)

2003-06-25 Thread Brent McDowell




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


Re: [Samba] (no subject)

2003-06-25 Thread Brent McDowell

 
 

err.. appologies -- damn pine!

--Brent

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


[Samba] Samba - Open files

2003-06-08 Thread Brent McDowell

Hi All;

I'm having an issue with Samba and I'm wondering if anyone here can either
help or point me in the right direction. Anyhow, I recently moved to Samba
2.2.6 (yes, I ought to upgrade further to the latest stable release), from
2.2.2, which ran on a different machine.

I have (at the moment) a single Windows 2000 server that connects to it.

Every now and then, Samba will crash and the log shows 'Too many open
files' - an 'lsof' shows this clearly. Now, my question is how do I
configure Samba so that it'll kill off an inactive file handle after a set
period of time? Hell, is this even possible? I did have a look at the
'deadtime' option and if my understanding is correct, this is only useful
if the client machine didn't have any open files - and that's what gets
reset, the connection itself, yes?

A roll back to the old machine, and this problem appears non-existant. I'm 
also wondering if it may be Kernel related - both boxes do run different 
kernels, old one runs 2.4.17 and the new runs 2.4.19.

I've been beating my head against a brick wall for the last couple of 
days, so any help would be greatly appreciated.

Thanks.

--Brent


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


[Samba] Win2k(IIS5) + Samba weirdness

2002-11-26 Thread Brent McDowell

Hi all;

I don't know if this is a specificly a Samba problem, so appologies if 
this is a little OT. Anyhow, I have a Windows 2000 Server (SP2) running 
IIS5 hosting a number of web sites. The content itself is housed on a 
RH 7.1 Linux box running Samba 2.2.2, which Windows mounts. 

Now, occasionly when going anywhere beneath the root of a web site
IIS reports a 404 error (NTFileMon confirms this too, that the file 
cannot be found) even though the file does exist.

Now, when this happens, the only fix appears to be to browse to the root 
of the site. Then all content (even the one that gave a 404 initialy) work 
perfectly.

Running TCPdump I can clearly see TCP 135 and 139 being sent from the 
Windows box to the Linux Machine, but I can't seem to get anything useful 
out of Samba.

Has anyone on this list witnessed such weird behaviour between IIS and 
Samba before?

TIA

--Brent


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