apt-get install cifs-utils
sudo mount -t cifs //<server>/<share> /<mount point> -o username=<username>,domain=<domain>,password=<your password>
It’s fine to omit the password on the command line for security purposes. It will then prompt for it to be entered and it will remain hidden.