How To
Summary
This document is designed to help IBM i administrators view and manage their IBM i NetServer SMB protocol version
Steps
Display the current NetServer SMB protocol version with command:
===> CALL QZLSMAINT PARM('40' '0')
This program call creates a QPCSMPRT spooled file. In the spooled file, view OLD FLAGS and NEW FLAGS. The OLD FLAGS values are what NetServer is presently using and the NEW FLAGS value is what NetServer uses the next time it is started. For example,
There are 6 possible values related to SMB usage:
0000000000000000 - Protocol version is negotiated and defaults for the OS version will be used (See "Default versions" below)
0000000000000080 - Disables SMBv2
0000000000000100 - Disables SMBv1
0000000000000400 - Enables SMBv2 for 7.2 (7.3 and later do this by default)
0000000000000500 - Combination of x100 and x400. Allow SMBv2 and higher only
0000000000001000 - Disables SMBv3 (specific to IBM i 7.4 and 7.5).
0000000000001080 - Disables SMBv2 and SMBv3 (specific to IBM i 7.4 and 7.5).
It is recommended to make the configuration change while NetServer is not active.
Whenever NetServer SMB protocol level changes are made, it might be necessary to remap drives or reboot client PCs for the client to use the new settings.
CALL QZLSMAINT PARM('40' '1' '0x400')
The second parameter values can be any of the following:
‘1’ sets the bits on that are defined by the following value
‘2’ sets the bits off that are defined by following value
‘3’ reinitializes the flags to all zeros - Do not use unless directed by IBM i Support.
Commands are cumulative. For example, these two executions:
===> CALL QZLSMAINT PARM('40' '1' '0x400') + ===> CALL QZLSMAINT PARM('40' '1' '0x100')
…leaves you with:
NEW FLAGS 0000000000000500
===> CALL QZLSMAINT PARM('40' '2' '0x500')
…the ‘2’ sets the bits off for the value 500 (0101 0000 0000) and leaves you back at default settings (all 0’s).
===> CALL QZLSMAINT PARM('40' '3')
SMB3 will not work if you disable SMB2. Right now on the IBM i SMB3 is a superset of SMB2.
Additional Information
Related Information
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
04 March 2024
UID
ibm10958915