mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
libcli/auth: make netlogon_creds_crypt_samlogon_validation more robust
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
d54c908ff5
commit
39fedd2718
@ -493,8 +493,12 @@ static void netlogon_creds_crypt_samlogon_validation(struct netlogon_creds_Crede
|
||||
bool encrypt)
|
||||
{
|
||||
static const char zeros[16];
|
||||
|
||||
struct netr_SamBaseInfo *base = NULL;
|
||||
|
||||
if (validation == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (validation_level) {
|
||||
case 2:
|
||||
if (validation->sam2) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user