winbindd: Clarify that we do not pre-hash the password for rpccli_netlogon_password_l...
authorAndrew Bartlett <abartlet@samba.org>
Mon, 20 Feb 2017 23:14:12 +0000 (12:14 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 Mar 2017 00:37:26 +0000 (02:37 +0200)
commitd69187c153cab17176a31b5f4462e111cce2a6a3
tree61c91de2f4017108db011ab6943c3c6f417c0980
parentea3f00f2b57c1896bc98c5a8e4538f46193b6c53
winbindd: Clarify that we do not pre-hash the password for rpccli_netlogon_password_logon()

rpccli_netlogon_password_logon() is called in winbind_samlogon_retry_loop() if interactive
is set, and does not use the hashed passwords.

This is only needed for winbindd_dual_auth_passdb(), and by moving the call we both
avoid the extra work and allow it to also be removed in this code path

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-by: Gary Lockyer <gary@catalyst.net.nz>
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
source3/winbindd/winbindd_pam.c