Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Current Situation
- YADE makes use of the data provider for SMB from: https://github.com/AgNO3/jcifs-ng
- jcifs-ng does not support SMB 3. As a result users cannot access shares requesting SMB Encryption.
Desired Behavior
- The YADE SMB data provider is switched to: https://github.com/hierynomus/smbj
- Development of smbj is more active.
- This data provider supports SMB 2 and SMB 3 including SMB Encryption.
Maintainer Notes
- This feature will become available with YADE 1.13.17.
- It will be integrated with JS7 Agents starting from release 2.5.1, 2.6.0.
- Support of previous(jcifs-ng) and new(smbj) data providers:
- Default: smbj
- The old data provider can be activated from
- a command line option -smb_provider for use with the YADE command line client
- e.g.: ... -smb_provider=JCIFS
- a JS1 job/order parameter smb_provider for use with the YADE JITL job
- e.g.: <param name="smb_provider" value="JCIFS"/>
- an environment variable that applies to both YADE command line client and YADE JITL Job:
- for JS1: SCHEDULER_VFS_SMB_PROVIDER
- for JS7: JS7_VFS_SMB_PROVIDER
- a command line option -smb_provider for use with the YADE command line client
- The values for the command line option/job/order parameters/both environment variables are the same (case insensitive):
- JCIFS: activates the previous jcifs-ng data provider
- SMBJ: activates the new smbj data provider
- Support of SMBFragment -> ConfigurationFiles by the smbj data provider:
- the smbj specific settings can be provided with a configuration file in the following format:
- smbj.config
- corresponding to smbj SMBConfig
- smbj.config
- the smbj specific settings can be provided with a configuration file in the following format:
Test Instructions
- see Maintainer Notes
- JS1
- Test YADE command line client:
- without/with -smb_provider command line option
- without/with SCHEDULER_VFS_SMB_PROVIDER environment variable
- Test Yade JITL job:
- without/with <param name="smb_provider" ... /> job/order parameter
- without/with SCHEDULER_VFS_SMB_PROVIDER environment variable
- Test YADE command line client:
- JS7
- Test YADE command line client:
- without/with JS7_VFS_SMB_PROVIDER environment variable
- Test YADE command line client: