04.04.2022 12:16, Thibault Roulet wrote:
Hi all,

I'm not sure if my problem is the same but it looks pretty similar.
Everything was working fine when running samba 2:4.13.5+dfsg-2 and it broke my 
setup after upgrade to 2:4.13.13+dfsg-1~deb11u3

Last time I reverted to 4.13.5 but as there must be a solution to this problem, 
I'm trying again to fix that.
...
   Got user=[myusername] domain=[MYDOMAIN] workstation=[DRX1] len1=24 len2=266
[2022/04/04 10:48:44.844975,  3] 
../../source3/auth/user_util.c:353(map_username)
   Mapped user myusername to myusername
[2022/04/04 10:48:44.845054,  3] 
../../source3/auth/auth.c:200(auth_check_ntlm_password)
   check_ntlm_password:  Checking password for unmapped user 
[MYDOMAIN]\[myusername]@[DRX1] with the new password interface
[2022/04/04 10:48:44.845078,  3] 
../../source3/auth/auth.c:203(auth_check_ntlm_password)
   check_ntlm_password:  mapped user is: [MYDOMAIN]\[myusername]@[DRX1]
[2022/04/04 10:48:44.854933,  3] 
../../source3/auth/user_util.c:353(map_username)
   Mapped user MYDOMAIN\myusername to MYDOMAIN\myusername
[2022/04/04 10:48:44.859318,  3] 
../../source3/auth/auth_util.c:1928(check_account)
   Failed to find authenticated user MYDOMAIN\myusername via getpwnam(), 
denying access.

this most likely means your winbind does not work correctly or
nss_winbind isn't set up.  It is unlikely the same problem.

FWIW, I'm definitely not an expert in this part of samba, you
should really ask on the samba mailing list, I guess.

Thanks,

/mjt

Reply via email to