mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:libnet_dssync_keytab: ignore empty supplementalCredentialsBlob structures
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11441 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
This commit is contained in:
parent
1be64cb660
commit
5c1ce0e7e5
@ -153,8 +153,8 @@ static NTSTATUS parse_supplemental_credentials(TALLOC_CTX *mem_ctx,
|
||||
status = ndr_map_error2ntstatus(ndr_err);
|
||||
goto done;
|
||||
}
|
||||
if (scb.sub.signature !=
|
||||
SUPPLEMENTAL_CREDENTIALS_SIGNATURE)
|
||||
if ((scb.sub.signature != SUPPLEMENTAL_CREDENTIALS_SIGNATURE)
|
||||
&& (scb.sub.num_packages != 0))
|
||||
{
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_DEBUG(supplementalCredentialsBlob, &scb);
|
||||
|
Loading…
Reference in New Issue
Block a user