[Samba] How to use smbpasswd/login when Microsoft Account is tied to Windows login

Anton Blau tony.blue.mailinglist at gmx.de
Wed Jan 30 14:30:04 UTC 2019


I try to connect a Windows 10 Microsoft Account which is tied to Windows 
login with my (standalone-)Samba-Server.

With local users i do

adduser username

smbpasswd a smbuser

And this runs for me.

But how is to do with Microsoft Account which is tied to Windows login?

I got these error-message in /var/log/syslog:

   check_ntlm_password:  Authentication for user [testuser.user at gmx.net] 
-> [testuser.user at gmx.net] FAILED with error NT_STATUS_NO_SUCH_USER, 
[2019/01/30 11:51:53.584395,  2] 
   Auth: [SMB2,(null)] user [MicrosoftAccount]\[testuser.user at gmx.net] 
at [Mi,
  30 Jan 2019 11:51:53.584386 UTC] with [NTLMv2] status 
workstation [DONALD] remote host [ipv4:] mapped to 
count]\[testuser.user at gmx.net]. local host [ipv4:]
[2019/01/30 11:51:53.584460,  2] ../auth/auth_log.c:220(log_json)
   JSON Authentication: {"timestamp": "2019-01-30T11:51:53.584425+0000", 
"Authentication", "Authentication": {"version": {"major": 1, "minor": 
0}, "statu
s": "NT_STATUS_NO_SUCH_USER", "localAddress": "ipv4:", 
ddress": "ipv4:", "serviceDescription": "SMB2", 
n": null, "clientDomain": "MicrosoftAccount", "clientAccount": 
@gmx.net", "workstation": "DONALD", "becameAccount": null, 
"becameDomain": null,
  "becameSid": "(NULL SID)", "mappedAccount": "testuser.user at gmx.net", 

ull, "netlogonNegotiateFlags": "0x00000000", 
"netlogonSecureChannelType": 0, "ne
tlogonTrustAccountSid": "(NULL SID)", "passwordType": "NTLMv2"}}

Thank you!


More information about the samba mailing list