1

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?

Neel
  • 11

2 Answers2

1

As Daniel B commented, substitute any space with %20.

-2

Try like this:-

[root@test ProductServers]# ls -l | tail -1 drwxrwxr-x 2 nfsnobody nfsnobody 8192 Mar 6 21:04 TST Servers <-----

[root@test shares]# cd ProductServers/TST\ Servers/

biz
  • 29