How to mount SMB users with hidden shares


On our Window Domain Controller user shares are created with $ to make them hidden shares eg \dc\user$ - is there any way to specify that in the external storage app ? I tried the following for the Share field and none worked:

$user$ $user$ $user\$ $user’$’ $user"$" $user%24

In general is there a way to pass non-standard characters to input fields.

I verified that the system running Nextcloud ( stable, on CentOS 7, php 7.1 can access the DC with the smbclient command as:

smbclient -U test \dc\test$