s3-winbindd Only use SamLogonEx when we can get unencrypted session keys
commit0902392413dcbd8bedcb7c42d86497d671ba1e0f
authorAndrew Bartlett <abartlet@samba.org>
Wed, 14 Dec 2011 23:00:36 +0000 (15 10:00 +1100)
committerJeremy Allison <jra@samba.org>
Mon, 19 Mar 2012 20:31:46 +0000 (19 21:31 +0100)
treedf207e347b82d4c27c71af387d8896acdac011d5
parentee0e1ca5d8bbd03be5df23ecce504115e2e5012f
s3-winbindd Only use SamLogonEx when we can get unencrypted session keys

This ensures that we have some check on the session keys being returned
as the RC4 cipher is not checksumed.

The check comes from the fact that the credentials chain is tied to
the session key, and so if the credentials check passes then the
netlogon session key will be correct, and so the user session key
will be correctly decrypted.

Andrew Bartlett

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Mar 19 21:31:46 CET 2012 on sn-devel-104
source3/winbindd/winbindd_pam.c