I have a Windows machine which shares a particular directory and only an owner of this directory is able to access it over the network. Owner account is linked to Microsoft account.
I am trying to mount this share from the terminal in OS X (mounting from Finder works OK), but I am having issues, I believe because the account username contains '@' character.
I tried the following:
mount -t smbfs '//username%40outlook.com:password@hostname/path' local_dir
mount -t smbfs '//username\@outlook.com:password@hostname/path' local_dir
mount -t smbfs '//"username@outlook.com":password@hostname/path' local_dir
First command gives me authentication error (I guess %40 is treated literally), and the other two give me "URL parsing failed". On OS X I can't pass username and password with -o option.
I also tried mounting with -t cifs
but with that I get the strange output
mount: exec */path/to/mount_cifs* local_dir: No such file or directory
(note that I can't c/p from OS/X right now so I shorthanded the path to mount_cifs)
Can anyone provide a workaround for this?
(This is a copy of my question on SU at http://ift.tt/1BBTWU0, since I guess in the end is suited more for this site, although I'm not quite sure. Mods, please merge, delete or whatever you like.)
Aucun commentaire:
Enregistrer un commentaire