I am trying to mount a SMB network drive from my Mac terminal. The user id is firstname lastname with a space in between. I have tried all sorts of combinations but none of these are working.
mount_smbfs //firstname\ lastname@server/home /Volumes/home
mount_smbfs //"firstname lastname"@server/home /Volumes/home
mount_smbfs //firstname" "lastname@server/home /Volumes/home
mount_smbfs //firstname\040lastname@server/home /Volumes/home
Either I am getting URL parsing failed or usage error or incorrect username (not an error but it's not able to authenticate). It however works for username with no spaces or special characters.
Is there any way this can be achieved?