On Windows I solved the problem with a python script. That was for me the most efficient way to get access to a samba share.

Thanks anyway @SGaist