diff options
author | Günther Deschner <gd@samba.org> | 2010-09-08 18:59:19 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-09 23:07:10 +0200 |
commit | 9a1dbe04a8f1a7cbd0352504990c9240fdd22dae (patch) | |
tree | f1d744cf839fdce66bafa6324a77ba6c3f71a167 | |
parent | daa948df2bf23f15bcdb4df170306ef71d952e7c (diff) | |
download | samba-9a1dbe04a8f1a7cbd0352504990c9240fdd22dae.tar.gz samba-9a1dbe04a8f1a7cbd0352504990c9240fdd22dae.tar.bz2 samba-9a1dbe04a8f1a7cbd0352504990c9240fdd22dae.zip |
libcli/netlogon: add LOGON_RESPONSE2 to pull_nbt_netlogon_response().
Guenther
-rw-r--r-- | libcli/netlogon.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libcli/netlogon.c b/libcli/netlogon.c index 882456824e..f2cfb5e10b 100644 --- a/libcli/netlogon.c +++ b/libcli/netlogon.c @@ -238,6 +238,15 @@ NTSTATUS pull_nbt_netlogon_response(DATA_BLOB *data, TALLOC_CTX *mem_ctx, status = NT_STATUS_OK; response->response_type = NETLOGON_GET_PDC; break; + case LOGON_RESPONSE2: + ndr_err = ndr_pull_struct_blob(data, mem_ctx, &response->data.response2, + (ndr_pull_flags_fn_t)ndr_pull_nbt_netlogon_response2); + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { + return ndr_map_error2ntstatus(ndr_err); + } + status = NT_STATUS_OK; + response->response_type = NETLOGON_RESPONSE2; + break; case LOGON_SAM_LOGON_RESPONSE: case LOGON_SAM_LOGON_PAUSE_RESPONSE: case LOGON_SAM_LOGON_USER_UNKNOWN: |