1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

winbindd: winbindd_raw_kerberos_login - ensure logon_info exists in PAC.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Jun 11 07:30:38 CEST 2015 on sn-devel-104
This commit is contained in:
Jeremy Allison 2015-06-10 16:31:21 -07:00 committed by Andrew Bartlett
parent efadcb3121
commit 4c5fefe072

View File

@ -714,6 +714,11 @@ static NTSTATUS winbindd_raw_kerberos_login(TALLOC_CTX *mem_ctx,
break;
}
if (logon_info == NULL) {
DEBUG(10,("Missing logon_info in ticket of %s\n",
principal_s));
return NT_STATUS_INVALID_PARAMETER;
}
DEBUG(10,("winbindd_raw_kerberos_login: winbindd validated ticket of %s\n",
principal_s));