s4:auth_sam: use USER_INFO_INTERACTIVE_LOGON as inducation for an interactive logon
authorStefan Metzmacher <metze@samba.org>
Fri, 4 Mar 2022 18:09:41 +0000 (19:09 +0100)
committerJule Anger <janger@samba.org>
Wed, 16 Mar 2022 14:27:11 +0000 (14:27 +0000)
commit1a0d92a9bef54a725266caec944f7882101a5a89
tree445b1700113e50c90a6973af573387976dc2da5e
parentf0891c0a8916dbddc422deb629557c51716d9064
s4:auth_sam: use USER_INFO_INTERACTIVE_LOGON as inducation for an interactive logon

Using != AUTH_PASSWORD_RESPONSE is not the correct indication
due to the local mappings from AUTH_PASSWORD_PLAIN via
AUTH_PASSWORD_HASH to AUTH_PASSWORD_RESPONSE.

It means an LDAP simble bind will now honour
'old password allowed period'.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15001

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 2ad44686229ba02f98de5769c26a3dfeaf5ada2b)
selftest/knownfail.d/samba4.ldap.login_basics [deleted file]
source4/auth/ntlm/auth_sam.c