[Samba] Error when Synchronising

Nick Gale nick at thegales.me.uk
Thu Nov 20 09:25:46 GMT 2003


I'm trying ot get Windows 2K off line folders to work but it fails when
writing a file back to the Samba share reporting that access is denied on
the share. But I can copy and replace the file manually without a proplem.

Running Samba 2.2.7-security-rollup-fix on Redhat 8 (upto date)

Samba Logfile for Machine account is below.

Any ideas?

Thanks

Nick Gale

[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans2 (pid 30608)
[2003/11/20 09:18:04, 3] smbd/trans2.c:call_trans2qfilepathinfo(1700)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/DBA Reports]
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [DBA Reports]
[2003/11/20 09:18:04, 3] smbd/trans2.c:call_trans2qfilepathinfo(1732)
  call_trans2qfilepathinfo DBA Reports level=1004 call=5 total_data=0
[2003/11/20 09:18:04, 3] smbd/process.c:process_smb(878)
  Transaction 4165 of length 127
[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans2 (pid 30608)
[2003/11/20 09:18:04, 3] smbd/trans2.c:call_trans2findfirst(898)
  call_trans2findfirst: dirtype = 22, maxentries = 1366,
close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 260,
max_data_bytes = 16384
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/DBA Reports/Stock Sheet (nickgale v1).xls]
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [DBA Reports/Stock Sheet (nickgale v1).xls]
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [DBA Reports]
[2003/11/20 09:18:04, 3] smbd/dir.c:dptr_create(488)
  creating new dirptr 256 for path DBA Reports, expect_close = 1
[2003/11/20 09:18:04, 3] smbd/process.c:process_smb(878)
  Transaction 4166 of length 130
[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBntcreateX (pid 30608)
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/DBA Reports/Stock Sheet (nickgale v1).xls]
[2003/11/20 09:18:04, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(DBA Reports/Stock Sheet (nickgale v1).xls) returning 0744
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [DBA Reports/Stock Sheet (nickgale v1).xls]
[2003/11/20 09:18:04, 2] smbd/open.c:open_file(245)
  nickgale opened file DBA Reports/Stock Sheet (nickgale v1).xls read=Yes
write=No (numopen=1)
[2003/11/20 09:18:04, 3] smbd/process.c:process_smb(878)
  Transaction 4167 of length 76
[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans2 (pid 30608)
[2003/11/20 09:18:04, 3] smbd/trans2.c:call_trans2qfilepathinfo(1645)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1022
[2003/11/20 09:18:04, 3] smbd/trans2.c:call_trans2qfilepathinfo(1732)
  call_trans2qfilepathinfo DBA Reports/Stock Sheet (nickgale v1).xls
level=1022 call=7 total_data=0
[2003/11/20 09:18:04, 3] smbd/process.c:process_smb(878)
  Transaction 4168 of length 45
[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBclose (pid 30608)
[2003/11/20 09:18:04, 3] smbd/reply.c:reply_close(3165)
  close fd=26 fnum=13857 (numopen=1)
[2003/11/20 09:18:04, 2] smbd/close.c:close_normal_file(213)
  nickgale closed file DBA Reports/Stock Sheet (nickgale v1).xls (numopen=0)
[2003/11/20 09:18:04, 3] smbd/process.c:process_smb(878)
  Transaction 4169 of length 130
[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBntcreateX (pid 30608)
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/DBA Reports/Stock Sheet (nickgale v1).xls]
[2003/11/20 09:18:04, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(DBA Reports/Stock Sheet (nickgale v1).xls) returning 0744
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [DBA Reports/Stock Sheet (nickgale v1).xls]
[2003/11/20 09:18:04, 2] smbd/open.c:open_file(245)
  nickgale opened file DBA Reports/Stock Sheet (nickgale v1).xls read=Yes
write=No (numopen=1)
[2003/11/20 09:18:04, 3] smbd/process.c:process_smb(878)
  Transaction 4170 of length 88
[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBnttrans (pid 30608)
[2003/11/20 09:18:04, 3]
smbd/nttrans.c:call_nt_transact_query_security_desc(1660)
  call_nt_transact_query_security_desc: file = DBA Reports/Stock Sheet
(nickgale v1).xls
[2003/11/20 09:18:04, 3]
smbd/nttrans.c:call_nt_transact_query_security_desc(1687)
  call_nt_transact_query_security_desc: sd_size = 152.
[2003/11/20 09:18:04, 3] smbd/error.c:error_packet(94)
  error string = Operation not supported
[2003/11/20 09:18:04, 3] smbd/error.c:error_packet(113)
  error packet at smbd/nttrans.c(86) cmd=160 (SMBnttrans)
NT_STATUS_BUFFER_TOO_SMALL
[2003/11/20 09:18:04, 3] smbd/process.c:process_smb(878)
  Transaction 4171 of length 45
[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBclose (pid 30608)
[2003/11/20 09:18:04, 3] smbd/reply.c:reply_close(3165)
  close fd=-1 fnum=13858 (numopen=1)
[2003/11/20 09:18:04, 2] smbd/close.c:close_normal_file(213)
  nickgale closed file DBA Reports/Stock Sheet (nickgale v1).xls (numopen=0)
[2003/11/20 09:18:04, 3] smbd/process.c:process_smb(878)
  Transaction 4172 of length 130
[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBntcreateX (pid 30608)
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/DBA Reports/Stock Sheet (nickgale v1).xls]
[2003/11/20 09:18:04, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(DBA Reports/Stock Sheet (nickgale v1).xls) returning 0744
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [DBA Reports/Stock Sheet (nickgale v1).xls]
[2003/11/20 09:18:04, 2] smbd/open.c:open_file(245)
  nickgale opened file DBA Reports/Stock Sheet (nickgale v1).xls read=Yes
write=No (numopen=1)
[2003/11/20 09:18:04, 3] smbd/process.c:process_smb(878)
  Transaction 4173 of length 88
[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBnttrans (pid 30608)
[2003/11/20 09:18:04, 3]
smbd/nttrans.c:call_nt_transact_query_security_desc(1660)
  call_nt_transact_query_security_desc: file = DBA Reports/Stock Sheet
(nickgale v1).xls
[2003/11/20 09:18:04, 3]
smbd/nttrans.c:call_nt_transact_query_security_desc(1687)
  call_nt_transact_query_security_desc: sd_size = 152.
[2003/11/20 09:18:04, 3] smbd/process.c:process_smb(878)
  Transaction 4174 of length 45
[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBclose (pid 30608)
[2003/11/20 09:18:04, 3] smbd/reply.c:reply_close(3165)
  close fd=-1 fnum=13859 (numopen=1)
[2003/11/20 09:18:04, 2] smbd/close.c:close_normal_file(213)
  nickgale closed file DBA Reports/Stock Sheet (nickgale v1).xls (numopen=0)
[2003/11/20 09:18:04, 3] smbd/process.c:process_smb(878)
  Transaction 4175 of length 308
[2003/11/20 09:18:04, 3] smbd/process.c:switch_message(685)
  switch message SMBnttrans (pid 30608)
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/DBA Reports/80000445]
[2003/11/20 09:18:04, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(DBA Reports/80000445) returning 0744
[2003/11/20 09:18:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [DBA Reports/80000445]
[2003/11/20 09:18:04, 2] smbd/open.c:open_file(245)
  nickgale opened file DBA Reports/80000445 read=No write=Yes (numopen=1)
[2003/11/20 09:18:04, 3] smbd/posix_acls.c:unpack_nt_owners(449)
  unpack_nt_owners: unable to validate owner sid for S-1-5-32-544.
[2003/11/20 09:18:04, 2] smbd/close.c:close_normal_file(213)
  nickgale closed file DBA Reports/80000445 (numopen=0)
[2003/11/20 09:18:04, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2003/11/20 09:18:04, 3] smbd/error.c:error_packet(113)
  error packet at smbd/nttrans.c(1426) cmd=160 (SMBnttrans)
NT_STATUS_ACCESS_DENIED
[2003/11/20 09:18:05, 3] smbd/process.c:process_smb(878)
  Transaction 4176 of length 39
[2003/11/20 09:18:05, 3] smbd/process.c:switch_message(685)
  switch message SMBtdis (pid 30608)
[2003/11/20 09:18:05, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/11/20 09:18:05, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/11/20 09:18:05, 1] smbd/service.c:close_cnum(677)
  nickslaptop (192.168.3.12) closed connection to service Selecon
[2003/11/20 09:18:05, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to Selecon
[2003/11/20 09:18:05, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/11/20 09:18:05, 3] smbd/vfs.c:vfs_ChDir(569)
  vfs_ChDir to /






More information about the samba mailing list