[Samba] unix_convert problem?

2005-06-03 Thread Oliver Schulze L.

Hi,
I'm getting this error in my log:
[2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(108)
 unix_convert called on file data/8WBS0043.TMP
[2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(179)
 unix_convert begin: name = Data/8WBS0043.TMP, dirpath = Data, start = 
8WBS0043.TMP

[2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(328)
 New file 8WBS0043.TMP
[2005/06/03 10:34:11, 5] smbd/trans2.c:call_trans2findfirst(1412)
 dir=Data, mask = 8WBS0043.TMP
[2005/06/03 10:34:11, 5] smbd/dir.c:start_dir(334)
 start_dir dir=Data
[2005/06/03 10:34:11, 3] smbd/dir.c:dptr_create(491)
 creating new dirptr 256 for path Data, expect_close = 1
[2005/06/03 10:34:11, 4] smbd/trans2.c:call_trans2findfirst(1442)
 dptr_num is 256, wcard = 8WBS0043.TMP, attr = 22
[2005/06/03 10:34:11, 5] smbd/trans2.c:call_trans2findfirst(1493)
 call_trans2findfirst - (2) closing dptr_num 256
[2005/06/03 10:34:11, 4] smbd/dir.c:dptr_close_internal(224)
 closing dptr key 256
[2005/06/03 10:34:11, 3] smbd/error.c:error_packet(105)
 error string = No such file or directory
[2005/06/03 10:34:11, 3] smbd/error.c:error_packet(129)
 error packet at smbd/trans2.c(1504) cmd=50 (SMBtrans2) 
NT_STATUS_NO_SUCH_FILE


Anyone know if there is a problem with unix_convert?
Or maybe it is a case sensitive problem?

It seems that this file is tried to create:
data/8WBS0043.TMP
But the path should be:
Data/8WBS0043.TMP

Thanks
Oliver

--
Oliver Schulze L.
[EMAIL PROTECTED]

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


Re: [Samba] unix_convert problem?

2005-06-03 Thread Jeremy Allison
On Fri, Jun 03, 2005 at 11:28:53AM -0400, Oliver Schulze L. wrote:
 Hi,
 I'm getting this error in my log:
 [2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(108)
  unix_convert called on file data/8WBS0043.TMP
 [2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(179)
  unix_convert begin: name = Data/8WBS0043.TMP, dirpath = Data, start = 
 8WBS0043.TMP
 [2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(328)
  New file 8WBS0043.TMP
 [2005/06/03 10:34:11, 5] smbd/trans2.c:call_trans2findfirst(1412)
  dir=Data, mask = 8WBS0043.TMP
 [2005/06/03 10:34:11, 5] smbd/dir.c:start_dir(334)
  start_dir dir=Data
 [2005/06/03 10:34:11, 3] smbd/dir.c:dptr_create(491)
  creating new dirptr 256 for path Data, expect_close = 1
 [2005/06/03 10:34:11, 4] smbd/trans2.c:call_trans2findfirst(1442)
  dptr_num is 256, wcard = 8WBS0043.TMP, attr = 22
 [2005/06/03 10:34:11, 5] smbd/trans2.c:call_trans2findfirst(1493)
  call_trans2findfirst - (2) closing dptr_num 256
 [2005/06/03 10:34:11, 4] smbd/dir.c:dptr_close_internal(224)
  closing dptr key 256
 [2005/06/03 10:34:11, 3] smbd/error.c:error_packet(105)
  error string = No such file or directory
 [2005/06/03 10:34:11, 3] smbd/error.c:error_packet(129)
  error packet at smbd/trans2.c(1504) cmd=50 (SMBtrans2) 
 NT_STATUS_NO_SUCH_FILE
 
 Anyone know if there is a problem with unix_convert?
 Or maybe it is a case sensitive problem?
 
 It seems that this file is tried to create:
 data/8WBS0043.TMP
 But the path should be:
 Data/8WBS0043.TMP

Are you sure it was a create issue ? Maybe the client only asked
for open privillages, not create. I'd need more log to be sure.

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


Re: [Samba] unix_convert problem?

2005-06-03 Thread Oliver Schulze L.

Hi Jeremy,
it was a open issue and a permision problem in Linux.
This issue is solved, thanks for the reply.

I solved by:
- deleting the -s attribut to the directory of the share: chmod g-s -R Data
- adding these parameters to the share config
 force create mode = 0660
 force directory mode = 0770

Thanks
Oliver

I send the more logs so others can search the archive of the list:

[2005/06/03 10:34:11, 3] smbd/process.c:switch_message(886)
 switch message SMBntcreateX (pid 2700) conn 0x9c25fe8
[2005/06/03 10:34:11, 4] smbd/uid.c:change_to_user(194)
 change_to_user: Skipping user change - already user
[2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(108)
 unix_convert called on file data/8WBS0043.TMP
[2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(179)
 unix_convert begin: name = Data/8WBS0043.TMP, dirpath = Data, start = 
8WBS0043.TMP

[2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(328)
 New file 8WBS0043.TMP
[2005/06/03 10:34:11, 3] smbd/dosmode.c:unix_mode(111)
 unix_mode(Data/8WBS0043.TMP) returning 0764
[2005/06/03 10:34:11, 5] smbd/files.c:file_new(122)
 allocated file structure 7550, fnum = 11646 (9 used)
[2005/06/03 10:34:11, 4] smbd/open.c:open_file_shared1(1244)
 calling open_file with flags=0x2 flags2=0x240 mode=0764
[2005/06/03 10:34:11, 3] smbd/open.c:open_file(178)
 Error opening file Data/8WBS0043.TMP (Permission denied) 
(local_flags=66) (flags=578)

[2005/06/03 10:34:11, 5] smbd/files.c:file_free(385)
 freed files structure 11646 (8 used)
[2005/06/03 10:34:11, 3] smbd/error.c:error_packet(105)
 error string = Permission denied
[2005/06/03 10:34:11, 3] smbd/error.c:error_packet(129)
 error packet at smbd/trans2.c(2243) cmd=162 (SMBntcreateX) 
NT_STATUS_ACCESS_DENIED

[2005/06/03 10:34:11, 5] lib/util.c:show_msg(486)
[2005/06/03 10:34:11, 5] lib/util.c:show_msg(496)



Jeremy Allison wrote:


Are you sure it was a create issue ? Maybe the client only asked

for open privillages, not create. I'd need more log to be sure.

Jeremy.
 



--
Oliver Schulze L.
[EMAIL PROTECTED]

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