SMBv1 was the only officially supported version until SSB 5.2 and thus this causes conflicts when mounting SMB shares that use the SMBv2 or later protocol. The mismatch of versions causes the mount of the SMB on the SSB to fail.
There are two methods for resolving this issue.
Resolution 1: Upgrade to the latest feature release of SSB.
- SSB version 5.2 and newer have SMBv2 and SMBv3 support.
- SSB LTS version 6.0 also has SMBv2 and SMBv3 support.
Resolution 2: Edit the SMBMountStore.php to force use of the SMBv2 protocol.
This resolution is for the LTS branch (5.0.x) of SSB only
- Access the core-shell of SSB either through IPMI, through the console via SSH, or locally.
- Using a text editor (VI will be used in this example), edit the following file.
vi /opt/ssb/lib/SMBMountStore.php
- Locate the following string in the SMBMountStore.php file.
$mount_options = sprintf('uid=www-data,gid=archive,file_mode=0775,dir_mode=0775%s,sec=%s', $credentials, $ntlm_type);
- Edit the string replacing the entire contents with the following.
$mount_options = sprintf('uid=www-data,gid=archive,file_mode=0775,vers=2.0,dir_mode=0775%s,sec=%s', $credentials, $ntlm_type);
- Save the SMBMountStore.php file and restart the SSB.
- Proceed with the backup of the SSB.
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center