Koozali.org: home of the SME Server
Contribs.org Forums => Koozali SME Server 10.x => Topic started by: nicolatiana on June 30, 2022, 12:36:52 PM
-
After move from Sme9 to Sme my Ricoh's MFP printer stopped working with ScanToFolder options.
I suppose the cause in SMB version (Printer seem working only with SMBV1) so I should try to config correct DB parameters server side in Samba. On printer side there's no option to configure SMB version (i'm waitin replay to possible firmware upgrade).
config setprop smb ServerMaxProtocol NT3
is actual setting.
config setprop smb ServerMinProtocol NT1
is this correct to have server enable to reply to SMB1/2/3 calls ?
-
You could try updating the Ricoh's firmware.
It was a while ago I had the same problem, updated firmware then googled the issue.
Came up with the following;
Ricoh Aficio MP C3503 = 192.168.1.100 admin / no-password
Choose TELNET and insert the Ricohs IP address and connect
username: admin Password: usually blank
msh> smb client auth
(This Displays the current SMB setting)
0 value = SMB1.0 client uses NTLM/LM authentication
1 value = SMB2.0 client uses NTLMv2/NTLM/LM authentication.
msh> smb client auth 1
(This Enables NTLMv2 /smb2)
msh> logout
(Saves data)
-
Many thanks !
I'll give it a try as soon as possible.
-
After modification in MFP and tricking SMB I'm able to browse again the entire network.
[root@sme9-file ~]# config show smb
smb=service
DeadTime=10080
KeepVersions=disabled
OpLocks=enabled
OsLevel=35
RecycleBin=disabled
RoamingProfiles=no
ServerMaxProtocol=NT3
ServerMinProtocol=NT1
ServerName=sme9-file
ServerRole=WS
ShadowCount=10
ShadowDir=/home/e-smith/files/.shadow
UnixCharSet=UTF8
UseClientDriver=yes
Workgroup=chesterperryw
status=enabled
Thx.
-
Valid values:
https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html#CLIENTMAXPROTOCOL
-
available value depends on samba version. You are always better to do man smb.cnf to check this on the machine.
however i am pretty pleased to have it fail proof seeing this test with non existing options.
our %ProtocolOrder = ( CORE => 1, # samba client default without explicit option; not available for server
COREPLUS => 2, # not available for server
LANMAN1 => 3, #samba server default without explicit option
LANMAN2 => 4,
NT1 => 5, # CIFS or SMB1
SMB2_02 => 6,
SMB2_10 => 7,
SMB2 => 7, # yes SMB2 default to 2_10
SMB2_22 => 8,
SMB2_24 => 9,
SMB3_00 => 10,
SMB3_02 => 11,
SMB3_10 => 12,
SMB3_11 => 13,
'SMB3' => 13 # yes SMB3 default to SMB3_11
);
$clientMaxProt = $smb{ClientMaxProtocol} || "SMB3";
$serverMaxProt = $smb{ServerMaxProtocol} || "SMB3";
#checking option is possible
$clientMaxProt = ( exists($ProtocolOrder{$clientMaxProt}) ) ? $clientMaxProt : "SMB3";
did similar for min protocol
-
Many thanks guys.
As always I made jams .... :-D
Nicola
-
keep on the good work. you help making it better ;)