Not sure if this is helpful but to connect a share from linux to Windows (where Windows share is called 'Share' and is everyone rw and the account is microsoft account) I found I had to use the name of the original local user I defined before switching to a microsoft account (which was called 'adam') and domain of 'WORKGROUP'. I couldn't get the microsoft account to work.
Originally Posted by eldonmcguinness
So connection in /etc/fstab is
where the credentials are
//ADAM-X201/Share /mnt/ADAM-X201/Share cifs credentials=/root/secret.txt,iocharset=utf8,uid=1000,gid=1000,file_mode=0777,dir_mode=0777 0 0
Using RDP (both from Mac and Windows) I connect using email@example.com
GNU nano 2.3.1 File: /root/secret.txt
I'm new to this and just trying all combinations until it works I'm afraid.