[Samba] User mapping/login issue

Stephen Davies sdavies at sdc.com.au
Sat Apr 20 23:29:01 UTC 2019

I have been a bit divorced from Samba for a while and am stumped by a recently seen issue.

My Samba server (V4.8.3) is Centos 7 and the remote clients are windoze boxes at the other end of a VPN (OpenVPN).
At some point in "recent" history, access to shares on the Centos server started to fail with password failures.
The reason seems to be associated with user mapping. (See log fragment below).

I have added entries to smbusers trying to map the remote user to local user simon without success.

There is no windoze domain server involved.

The clients can FTP to the server and retrieve emails via IMAP.

What am I missing?

[2019/04/18 16:10:52.327632, 3] ../source3/auth/auth.c:189(auth_check_ntlm_pass
check_ntlm_password: Checking password for unmapped user [SIMON-DELLPC]\[simo
n]@[SIMON-DELLPC] with the new password interface
[2019/04/18 16:10:52.327658, 3] ../source3/auth/auth.c:192(auth_check_ntlm_pass
check_ntlm_password: mapped user is: [SIMON-DELLPC]\[simon]@[SIMON-DELLPC]
[2019/04/18 16:10:52.327686, 4] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
Sent from my Android device with K-9 Mail. Please excuse my brevity.

More information about the samba mailing list