Unassigned Devices - SMB Mount - Password contains + sign
I created a SMB mount using Unassigned Devices. I entered server, username, password and left domain empty. Then I chose one of the offered shares. The list was successfully build, thus the account credentials were used.
Later I tried to mount the share with no success.
I got the following block of rows in the logs four times: once for SMB 3.1.1, SMB 3.0, SMB 2.0 and SMB 1.0 (default):
Feb 27 09:56:23 server-*** unassigned.devices: Mount SMB share '//NAS-***/Installation' using SMB 2.0 protocol.
Feb 27 09:56:23 server--*** unassigned.devices: Mount SMB command: /sbin/mount -t 'cifs' -o rw,relatime,noserverino,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=2.0,credentials='/tmp/unassigned.devices/credentials_NAS-***-Installation' '//NAS-***/Installation' '/mnt/remotes/NAS-***-Installation'
Feb 27 09:56:23 server--*** kernel: CIFS: Attempting to mount \\NAS-***\Installation
Feb 27 09:56:33 server--*** kernel: CIFS: VFS: cifs_mount failed w/return code = -512
Feb 27 09:56:33 server--*** unassigned.devices: Warning: shell_exec(/sbin/mount -t 'cifs' -o rw,relatime,noserverino,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=2.0,credentials='/tmp/unassigned.devices/credentials_NAS-005-Installation' '//NAS-***/Installation' '/mnt/remotes/NAS-***-Installation' 2>&1) took longer than 10s!
The file '/tmp/unassigned.devices/credentials_NAS-***-Installation' contains the data entered while I created the SMB share.
But where my password contains a + sign, there was a space in the file.