Web lists-archives.com

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


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@xxxxxxx] -> [testuser.user@xxxxxxx] FAILED with error NT_STATUS_NO_SUCH_USER, authoritative
[2019/01/30 11:51:53.584395,  2] ../auth/auth_log.c:760(log_authentication_event
  Auth: [SMB2,(null)] user [MicrosoftAccount]\[testuser.user@xxxxxxx] at [Mi,  30 Jan 2019 11:51:53.584386 UTC] with [NTLMv2] status [NT_STATUS_NO_SUCH_USER] workstation [DONALD] remote host [ipv4:] mapped to [MicrosoftAc
count]\[testuser.user@xxxxxxx]. 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", "type": "Authentication", "Authentication": {"version": {"major": 1, "minor": 0}, "statu s": "NT_STATUS_NO_SUCH_USER", "localAddress": "ipv4:", "remoteA ddress": "ipv4:", "serviceDescription": "SMB2", "authDescriptio n": null, "clientDomain": "MicrosoftAccount", "clientAccount": "testuser.user @gmx.net", "workstation": "DONALD", "becameAccount": null, "becameDomain": null,  "becameSid": "(NULL SID)", "mappedAccount": "testuser.user@xxxxxxx", "mapped

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

Thank you!


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba