[Samba] Codepage Problem?

Jeremy Allison jra at samba.org
Tue Oct 18 13:04:43 MDT 2011


On Mon, Oct 17, 2011 at 11:57:13PM +0200, Philipp Schmiedeknecht wrote:
> Hi,
> 
> I have the following logs in log.smbd:
> 
> -----
> [2011/10/17 16:40:54.464688,  3] smbd/process.c:1485(process_smb)
>  Transaction 2732 of length 200 (0 toread)
> [2011/10/17 16:40:54.464704,  3] smbd/process.c:1294(switch_message)
>  switch message SMBntcreateX (pid 19814) conn 0x7fa6eeb5d430
> [2011/10/17 16:40:54.464753,  3] smbd/msdfs.c:746(dfs_redirect)
>  dfs_redirect: Not redirecting \vera\Extern\SomeFolder\Sîÿÿ.
> [2011/10/17 16:40:54.464768,  3] smbd/msdfs.c:757(dfs_redirect)
>  dfs_redirect: Path \vera\Extern\SomeFolder\Sîÿÿ converted to non-dfs path SomeFolder/Sîÿÿ
> [2011/10/17 16:40:54.464804,  3] smbd/vfs.c:851(check_reduced_name)
>  check_reduced_name [SomeFolder/Sîÿÿ] [/raid/extern]
> [2011/10/17 16:40:54.464839,  3] smbd/vfs.c:1008(check_reduced_name)
>  check_reduced_name: SomeFolder/Sîÿÿ reduced to /raid/extern/SomeFolder/Sîÿÿ
> [2011/10/17 16:40:54.464855,  3] smbd/vfs.c:851(check_reduced_name)
>  check_reduced_name [SomeFolder/Sîÿÿ] [/raid/extern]
> [2011/10/17 16:40:54.464889,  3] smbd/vfs.c:1008(check_reduced_name)
>  check_reduced_name: SomeFolder/Sîÿÿ reduced to /raid/extern/SomeFolder/Sîÿÿ
> [2011/10/17 16:40:54.464912,  3] smbd/dosmode.c:166(unix_mode)
>  unix_mode(SomeFolder/Sîÿÿ) returning 0744
> [2011/10/17 16:40:54.464927,  3] smbd/vfs.c:851(check_reduced_name)
>  check_reduced_name [SomeFolder/Sîÿÿ] [/raid/extern]
> [2011/10/17 16:40:54.464961,  3] smbd/vfs.c:1008(check_reduced_name)
>  check_reduced_name: SomeFolder/Sîÿÿ reduced to /raid/extern/SomeFolder/Sîÿÿ
> [2011/10/17 16:40:54.464978,  3] smbd/error.c:80(error_packet_set)
>  error packet at smbd/error.c(160) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND
> -----
> 
> "Sîÿÿ" of course is no existing file.
> 
> Is this caused by a wrong codepage configuration?
> In my smb.conf no codepage is configured

That should mean utf8.

Is "\vera\Extern\SomeFolder\Sîÿÿ" actually the path sent by the client ?

Can you look at a wireshark trace, or a debug level 10 log ?

Jeremy.


More information about the samba mailing list