summaryrefslogtreecommitdiff
path: root/librpc/ndr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-11 02:18:59 +0200
committerGünther Deschner <gd@samba.org>2009-09-11 02:57:19 +0200
commit721b76cfbadb6a9466e6015c5e77bbb8f6491c3d (patch)
tree39ba5f24d27435fc1e474780cf5088791601dd72 /librpc/ndr
parent38ab500b787a96788cf59c14fadfc4f5a42bd029 (diff)
downloadsamba-721b76cfbadb6a9466e6015c5e77bbb8f6491c3d.tar.gz
samba-721b76cfbadb6a9466e6015c5e77bbb8f6491c3d.tar.bz2
samba-721b76cfbadb6a9466e6015c5e77bbb8f6491c3d.zip
schannel: more work on reponse NL_AUTH_MESSAGES.
Guenther
Diffstat (limited to 'librpc/ndr')
-rw-r--r--librpc/ndr/ndr_schannel.c15
-rw-r--r--librpc/ndr/ndr_schannel.h2
2 files changed, 17 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_schannel.c b/librpc/ndr/ndr_schannel.c
index 9cf0e09d66..02796f7d9f 100644
--- a/librpc/ndr/ndr_schannel.c
+++ b/librpc/ndr/ndr_schannel.c
@@ -54,3 +54,18 @@ _PUBLIC_ void ndr_print_NL_AUTH_MESSAGE_BUFFER(struct ndr_print *ndr, const char
}
}
+
+_PUBLIC_ void ndr_print_NL_AUTH_MESSAGE_BUFFER_REPLY(struct ndr_print *ndr, const char *name, const union NL_AUTH_MESSAGE_BUFFER_REPLY *r)
+{
+ int level;
+ level = ndr_print_get_switch_value(ndr, r);
+ switch (level) {
+ case NL_NEGOTIATE_RESPONSE:
+ ndr_print_uint32(ndr, name, r->dummy);
+ break;
+
+ default:
+ break;
+
+ }
+}
diff --git a/librpc/ndr/ndr_schannel.h b/librpc/ndr/ndr_schannel.h
index 5834488ab9..d2dce7911a 100644
--- a/librpc/ndr/ndr_schannel.h
+++ b/librpc/ndr/ndr_schannel.h
@@ -20,3 +20,5 @@
*/
void ndr_print_NL_AUTH_MESSAGE_BUFFER(struct ndr_print *ndr, const char *name, const union NL_AUTH_MESSAGE_BUFFER *r);
+void ndr_print_NL_AUTH_MESSAGE_BUFFER_REPLY(struct ndr_print *ndr, const char *name, const union NL_AUTH_MESSAGE_BUFFER_REPLY *r);
+