[Samba] 3.0.8pre2 and convert_string

Thomas Bork TomBork at web.de
Sun Nov 7 15:11:29 GMT 2004


Hi,

anybody knows, what the last entry in this log mean?:

[2004/11/07 16:51:50, 3] smbd/reply.c:rename_internals(3777)
  rename_internals: case_sensitive = 0, case_preserve = 1, short case preserve =
 1, directory = ./Neu Textdatei.txt, newname = ./äüö.txt, last_component_dest =
äüö.txt, is_8_3 = 0
[2004/11/07 16:51:50, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(./Neu Textdatei.txt) returning 0777
[2004/11/07 16:51:50, 2] smbd/open.c:open_file(245)
  adm01 opened file ./Neu Textdatei.txt read=Yes write=No (numopen=2)
[2004/11/07 16:51:50, 2] smbd/close.c:close_normal_file(270)
  root closed file ./Neu Textdatei.txt (numopen=1)
[2004/11/07 16:51:50, 3] smbd/reply.c:rename_internals(3877)
  rename_internals: succeeded doing rename on ./Neu Textdatei.txt -> ./äüö.txt
[2004/11/07 16:51:50, 3] smbd/notify_kernel.c:kernel_check_notify(99)
  kernel_check_notify: kernel change notify on . fd[0]=26 (signals_received=2)
[2004/11/07 16:51:50, 3] smbd/error.c:error_packet(105)
  error string = No such file or directory
[2004/11/07 16:51:50, 3] smbd/error.c:error_packet(129)
  error packet at smbd/notify.c(55) cmd=160 (SMBnttrans) NT code 0x0000010c
[2004/11/07 16:51:50, 3] smbd/notify_kernel.c:kernel_remove_notify(144)
  kernel_remove_notify: fd=-1
[2004/11/07 16:51:50, 3] smbd/notify_kernel.c:kernel_check_notify(99)
  kernel_check_notify: kernel change notify on . fd[0]=25 (signals_received=1)
[2004/11/07 16:51:50, 3] smbd/error.c:error_packet(105)
  error string = No such file or directory
[2004/11/07 16:51:50, 3] smbd/error.c:error_packet(129)
  error packet at smbd/notify.c(55) cmd=160 (SMBnttrans) NT code 0x0000010c
[2004/11/07 16:51:50, 3] smbd/notify_kernel.c:kernel_remove_notify(144)
  kernel_remove_notify: fd=-1
[2004/11/07 16:51:50, 3] smbd/process.c:process_smb(1092)
  Transaction 433 of length 88
[2004/11/07 16:51:50, 3] smbd/process.c:switch_message(887)
  switch message SMBnttrans (pid 1626) conn 0x82a61b0
[2004/11/07 16:51:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1797)
  call_nt_transact_notify_change
[2004/11/07 16:51:50, 3] smbd/notify_kernel.c:kernel_register_notify(189)
  kernel change notify on . (ntflags=0x3 flags=0x1e) fd=25
[2004/11/07 16:51:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1809)
  call_nt_transact_notify_change: notify change called on directory name = .
[2004/11/07 16:51:50, 3] smbd/process.c:process_smb(1092)
  Transaction 434 of length 88
[2004/11/07 16:51:50, 3] smbd/process.c:switch_message(887)
  switch message SMBnttrans (pid 1626) conn 0x82a61b0
[2004/11/07 16:51:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1797)
  call_nt_transact_notify_change
[2004/11/07 16:51:50, 3] smbd/notify_kernel.c:kernel_register_notify(189)
  kernel change notify on . (ntflags=0x3 flags=0x1e) fd=26
[2004/11/07 16:51:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1809)
  call_nt_transact_notify_change: notify change called on directory name = .
[2004/11/07 16:51:50, 3] smbd/process.c:process_smb(1092)
  Transaction 435 of length 80
[2004/11/07 16:51:50, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 1626) conn 0x82a61b0
[2004/11/07 16:51:50, 3] smbd/trans2.c:call_trans2qfilepathinfo(2342)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2004/11/07 16:51:50, 3] smbd/trans2.c:call_trans2qfilepathinfo(2376)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2004/11/07 16:51:50, 3] smbd/process.c:process_smb(1092)
  Transaction 436 of length 80
[2004/11/07 16:51:50, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 1626) conn 0x82a61b0
[2004/11/07 16:51:50, 3] smbd/trans2.c:call_trans2qfilepathinfo(2342)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1034
[2004/11/07 16:51:50, 3] smbd/trans2.c:call_trans2qfilepathinfo(2376)
  call_trans2qfilepathinfo . (fnum = -1) level=1034 call=5 total_data=0
[2004/11/07 16:51:50, 3] smbd/process.c:process_smb(1092)
  Transaction 437 of length 102
[2004/11/07 16:51:50, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 1626) conn 0x82a61b0
[2004/11/07 16:51:50, 3] smbd/trans2.c:call_trans2findfirst(1359)
  call_trans2findfirst: dirtype = 22, maxentries = 1366, close_after_first=1, cl
ose_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2004/11/07 16:51:50, 3] smbd/dir.c:dptr_create(491)
  creating new dirptr 256 for path ./, expect_close = 1
[2004/11/07 16:51:50, 3] lib/charcnv.c:convert_string_internal(236)
  E2BIG: convert_string(ISO8859-1,UTF-16LE): srclen=2 destlen=2 - 'äüö.txt'
[2004/11/07 16:51:50, 3] lib/charcnv.c:convert_string_internal(236)
  E2BIG: convert_string(ISO8859-1,UTF-16LE): srclen=2 destlen=2 - 'ö.txt'

This was:
Creating a new text file and renaming it to äüö.txt. I don't understand, why the last log entry shows 'ö.txt'.
I'm trying to find out, if Samba 3 also needs nls modules for character conversion like Samba 2 (seems not) and why sometimes are such entries in the log:

[2004/10/27 22:24:10, 0] smbd/server.c:main(760)
  smbd version 3.0.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/10/27 22:33:15, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/10/27 22:33:15, 0] lib/access.c:check_access(328)
[2004/10/27 22:33:15, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
  Denied connection from  (0.0.0.0)
[2004/10/27 22:33:15, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/10/27 22:33:15, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 5 bytes to socket 24: ERRNO = Connection reset by
[2004/10/27 22:33:15, 0] lib/util_sock.c:send_smb(647)
  Error writing 5 bytes to client. -1. (Connection reset by peer)
[2004/10/27 22:33:20, 0] smbd/service.c:make_connection(800)
  r40 (192.168.0.9) couldn't find service publi

The name of the share is 'public' and not 'publi'. The error 'couldn't find service publi' is not filling the log, if only using

   smb ports = 139

in smb.conf (no port 445).


der tom
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201



More information about the samba mailing list