auth4: let authsam_check_password_internals use crack_name_to_nt4_name() for upn's
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Mar 2017 13:57:33 +0000 (14:57 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 9 Apr 2017 23:11:20 +0000 (01:11 +0200)
commit09e24ce40f89ac2f03d0c5fefa8b59f0d113fa6b
treec4bc12abd060651a9bb75a0532ce2f7f9cfff58c
parent13649fa2dca59154db9af4edf3d07ef0917f833d
auth4: let authsam_check_password_internals use crack_name_to_nt4_name() for upn's

Currently the caller does this before calling the auth backends,
but that should change in order to support trusted domains correctly.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12709

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/auth/ntlm/auth_sam.c