Project

General

Profile

Actions

Feature #3142

open

SMB truncation issue - downgrade log message

Added by Felix Nawothnig about 11 years ago. Updated about 11 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
cifs - CIFS server and client
Start date:
2012-09-01
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

There exists a very old Windows client SMB bug which - under some circumstances - causes it to ask for shares with the last character truncated. Note that it's not a problem for the client because it will immediately retry with the correct name instead.

From what I can figure out it was introduced in Windows 2000, fixed in XP and reintroduced in Windows 7.

Samba added a workaround a while ago:

http://www.spinics.net/lists/samba/msg86195.html

While I think this is a gross hack I would at least think that it would be nice to avoid this:

Sep 1 22:40:19 ikarus smbsrv: [ID 138215 kern.notice] NOTICE: smbd[EVEDEV\evedev]: vaul share not found
Sep 1 22:46:40 ikarus last message repeated 35 times
Sep 1 22:47:46 ikarus smbsrv: [ID 138215 kern.notice] NOTICE: smbd[EVEDEV\evedev]: vaul share not found
Sep 1 22:53:01 ikarus last message repeated 19 times
Sep 1 22:54:16 ikarus smbsrv: [ID 138215 kern.notice] NOTICE: smbd[EVEDEV\evedev]: vaul share not found
Sep 1 22:55:33 ikarus last message repeated 7 times

which spams my logs 24/7 (15 machines writing to logfiles on said share)... maybe by allowing to disable or downgrade this particular message?

Actions #1

Updated by Ryan W about 11 years ago

https://www.illumos.org/issues/1868

This seems to be a duplicate (more or less) of this bug I filed some time ago.

Actions #2

Updated by Arvind Dalvi about 11 years ago

Hello Felix,

I tried reproducing issue on SmartOS using http://www.perkin.org.uk/posts/setting-up-samba-on-smartos.html as a reference to setup SAMBA, but no luck.

Any specifics that I am missing ?

Thanks,
Arvind

Actions #3

Updated by Yuri Pankov about 11 years ago

Arvind Dalvi wrote:

Hello Felix,

I tried reproducing issue on SmartOS using http://www.perkin.org.uk/posts/setting-up-samba-on-smartos.html as a reference to setup SAMBA, but no luck.

Any specifics that I am missing ?

This issue is filed against native CIFS service, not samba.

Actions

Also available in: Atom PDF