diff options
author | Stefan Metzmacher <metze@samba.org> | 2016-06-03 16:34:08 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-07-20 21:27:17 +0200 |
commit | 5c1ce0e7e530feff55fd41a0be397b6dde4b2b27 (patch) | |
tree | 893b60f3380fe77b39ffdc32b464c4b7e40dbdf6 /source3 | |
parent | 1be64cb660e4d31d089755e065ac76425ab6d41e (diff) | |
download | samba-5c1ce0e7e530feff55fd41a0be397b6dde4b2b27.tar.gz |
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>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libnet/libnet_dssync_keytab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_dssync_keytab.c b/source3/libnet/libnet_dssync_keytab.c index 66e75620d1b..8999a3535fb 100644 --- a/source3/libnet/libnet_dssync_keytab.c +++ b/source3/libnet/libnet_dssync_keytab.c @@ -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); |