summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-11-03 10:30:37 +0100
committerGünther Deschner <gd@samba.org>2011-11-03 18:35:08 +0100
commit768b42f334fc2504ff9e1e7ec77e4d366220aef8 (patch)
tree9a45b0c37b4fbb3026f3e914b51e91e76a0fb60f /librpc
parent185b94eefa009e852f93d9a00e4e8c15c64a0869 (diff)
downloadsamba-768b42f334fc2504ff9e1e7ec77e4d366220aef8.tar.gz
samba-768b42f334fc2504ff9e1e7ec77e4d366220aef8.tar.bz2
samba-768b42f334fc2504ff9e1e7ec77e4d366220aef8.zip
nbt: move netlogon_samlogon_response into librpc/ndr/ndr_nbt.h.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/ndr/ndr_nbt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_nbt.h b/librpc/ndr/ndr_nbt.h
index 65975765cb..bda0e210cf 100644
--- a/librpc/ndr/ndr_nbt.h
+++ b/librpc/ndr/ndr_nbt.h
@@ -29,6 +29,17 @@
NDR_SCALAR_PROTO(nbt_string, const char *)
+struct netlogon_samlogon_response
+{
+ uint32_t ntver;
+ union {
+ struct NETLOGON_SAM_LOGON_RESPONSE_NT40 nt4;
+ struct NETLOGON_SAM_LOGON_RESPONSE nt5;
+ struct NETLOGON_SAM_LOGON_RESPONSE_EX nt5_ex;
+ } data;
+
+};
+
enum ndr_err_code ndr_push_NETLOGON_SAM_LOGON_REQUEST(struct ndr_push *ndr, int ndr_flags, const struct NETLOGON_SAM_LOGON_REQUEST *r);
enum ndr_err_code ndr_pull_NETLOGON_SAM_LOGON_REQUEST(struct ndr_pull *ndr, int ndr_flags, struct NETLOGON_SAM_LOGON_REQUEST *r);
enum ndr_err_code ndr_push_NETLOGON_SAM_LOGON_RESPONSE_EX_with_flags(struct ndr_push *ndr, int ndr_flags, const struct NETLOGON_SAM_LOGON_RESPONSE_EX *r);