The Samba-Bugzilla – Bug 10168
Konica Minolta relays on native os
Last modified: 2014-10-19 13:14:00 UTC
Konica Minolta's Bizub 350 "Scan to SMB" function doesn't work if the server/samba sets "Unix" as native os in the SMB response.
The WFM fix is
--- samba-3.5.6~dfsg.orig/source3/smbd/sesssetup.c 2013-09-26 11:33:39.872963387 +0200
+++ samba-3.5.6~dfsg/source3/smbd/sesssetup.c 2013-09-26 11:35:24.615963457 +0200
@@ -74,7 +74,9 @@
result = 0;
- tmp = message_push_string(outbuf, "Unix", STR_TERMINATE);
+ /* lie for Konica Minolta
+ tmp = message_push_string(outbuf, "Unix", STR_TERMINATE); */
+ tmp = message_push_string(outbuf, "Windows 5.0", STR_TERMINATE);
if (tmp == -1) return -1;
result += tmp;
The error cocde from the device is "ED09CC", according to the manual:
"Check the status of the destination device. A Scan to SMB transmission cannot be performed with a UNIX or LINUX system".
Anyways, telling the device a lie via native os, everything works fine.
Thank you and kind regards,
How did you find out *that*? :-)
I'd rather make that a parametric parameter. This is the first time in 20 years of Samba that we need this. And I'm sure there will be other devices later that stuble 5.0 version number...
can you have a look if this patch also satifies that printer? It currently says
we are native os "Windows 6.1"
Created attachment 9415 [details]
this is in mastrer now. We should
git cherry-pick -x 666948c776948a8147501d2ba590bcd05e78458d
for 4.0 and 4.1.
fixed for 4.2.