diff options
Diffstat (limited to 'libcli/netlogon.c')
-rw-r--r-- | libcli/netlogon.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libcli/netlogon.c b/libcli/netlogon.c index d9b01964af..882456824e 100644 --- a/libcli/netlogon.c +++ b/libcli/netlogon.c @@ -194,7 +194,17 @@ NTSTATUS push_nbt_netlogon_response(DATA_BLOB *data, TALLOC_CTX *mem_ctx, data, mem_ctx, &response->data.samlogon); break; + case NETLOGON_RESPONSE2: + ndr_err = ndr_push_struct_blob(data, mem_ctx, + &response->data.response2, + (ndr_push_flags_fn_t)ndr_push_nbt_netlogon_response2); + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { + return ndr_map_error2ntstatus(ndr_err); + } + status = NT_STATUS_OK; + break; } + return status; } |