Configuring SMB properties
Depending on the configuration of your SMB server, you might need to change the SMB settings in IBM® StoredIQ® Data Server to make the settings match.
About this task
- Connect to the //CIFS_server/CIFS_share/initial_directory volume with the given credentials.
- Test permission to list the files in the specified CIFS_share/initial_directory directory.
- Test permission to create files under the specified CIFS_share share.
- Test permission to read and write attributes of the files under the specified CIFS_share share.
Several predefined sets are shipped with the product. To test an additional set of jcifs properties, create a new properties file with the settings that you want to test in the directory where the tool is. The file must have the .properties extension.
To run the tool on the data server, you must be logged in to the data server as root. If you want
to run the tool on another computer, copy the entire
/usr/local/siqsmb/tools/cifsTest/ directory to that computer. If you want to
run the tool on Windows, edit the cifsTest.bat command file and add the path to
the java executable to the java -cp %_SIQCIFSTEST_CLASSPATH% flxsmb.tools.cifsTest
%*
command before you run the tool.
- Change to the directory where the tool is
stored:
cd /usr/local/siqsmb/tools/cifsTest/
- Run the tool:
./cifsTest.sh
- When prompted, provide the server hostname of the CIFS share, the login credential, the CIFS
share name, and the initial directory like
this:
Please provide cifs server address: 198.51.100.12 Please provide cifs server login credential - user name: dn\test01 - password: Please provide share name: share01 Please provide initial directory: dir01
The test results show which jcifs property settings work for the CIFS share. Test results are written to the cifsTest-logging.log file in the current directory.
- Change the logging level.
- Direct the output to the console, a log file, or both.
- Specify the name of the log file.
- Set the maximum log file size. A new file is written whenever the specified file size is exceeded.
- Set the maximum number of log files to keep. When the defined number of log files is reached, the oldest file is discarded before a new one is created.
Procedure
To change the SMB settings on the data server to which you want to add the volume:
Adding an SMB1 server as primary volume
jcifs.smb.client.ipcSigningEnforced
property to false:jcifs.smb.client.ipcSigningEnforced=false