[Samba] Samba 3.4.3 and DOS read only
Jim Gallagher
jim at thegallaghers.biz
Wed Aug 29 15:20:51 MDT 2012
The Windows clients should be using unicode. Does smbclient use unicode by
default? Could that explain the different behavior between the Windows
clients and smbclient?
On Wed, Aug 29, 2012 at 10:59 AM, Jim Gallagher <jim at thegallaghers.biz>wrote:
> New info:
>
> I finally realized there are two log files for each client, one with the
> IP address of the client in the file name and the other with the client's
> hostname. I have been looking in the former, when the important info was in
> the latter. It appears that for the unix_mode() call, there are extra
> characters getting appended to the file name. For example, when I try to
> set readonly for a file "test.c", the log entry shows:
>
> [2012/08/29 10:17:29, 3] smbd/dosmode.c:135(unix_mode)
> unix_mode(test.cî³°) returning 0744
> [2012/08/29 10:17:29, 3] smbd/error.c:56(error_packet_set)
> error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX)
> NT_STATUS_OBJECT_NAME_NOT_FOUND
>
> The characters did not paste correctly; they are not ASCII.
>
> The file is indeed "test.c". Other files appear to get the same characters
> appended for this operation. Wireshark shows the client sends the name as
> "test.c". I can open, edit and save the file without issue.
>
> What about my Windows clients could cause this? Smbclient works fine.
>
> Thanks,
> Jim
>
>
More information about the samba
mailing list