Feature #3142

SMB truncation issue - downgrade log message

Added by Felix Nawothnig about 6 years ago. Updated almost 6 years ago.

Status:NewStart date:2012-09-01
Priority:LowDue date:
Assignee:-% Done:

0%

Category:cifs - CIFS server and client
Target version:-
Difficulty:Bite-size Tags:needs-triage

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?

History

#1 Updated by Ryan W almost 6 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.

#2 Updated by Arvind Dalvi almost 6 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

#3 Updated by Yuri Pankov almost 6 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.

Also available in: Atom