summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-18 11:42:51 +0200
committerGünther Deschner <gd@samba.org>2008-04-18 11:50:19 +0200
commit9714899c29807b4b2e72009913c14091da762460 (patch)
tree285d809e14cd832fdea0df8de014e33c227c439b /source3/librpc
parenta717d0da24840f00d536069c4e383d20c5859981 (diff)
downloadsamba-9714899c29807b4b2e72009913c14091da762460.tar.gz
samba-9714899c29807b4b2e72009913c14091da762460.tar.bz2
samba-9714899c29807b4b2e72009913c14091da762460.zip
IDL: make idl.
Guenther (This used to be commit e1abff301449ad528194206fd953670057eaa12d)
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/gen_ndr/nbt.h1
-rw-r--r--source3/librpc/gen_ndr/ndr_nbt.c18
2 files changed, 19 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/nbt.h b/source3/librpc/gen_ndr/nbt.h
index 151a94ba20..8f2c38aef4 100644
--- a/source3/librpc/gen_ndr/nbt.h
+++ b/source3/librpc/gen_ndr/nbt.h
@@ -625,6 +625,7 @@ struct nbt_ntlogon_sam_logon_reply {
union nbt_ntlogon_request {
struct nbt_ntlogon_sam_logon logon;/* [case(NTLOGON_SAM_LOGON)] */
struct nbt_ntlogon_sam_logon_reply reply;/* [case(NTLOGON_SAM_LOGON_REPLY)] */
+ struct nbt_netlogon_response_from_pdc2 reply2;/* [case(NETLOGON_RESPONSE_FROM_PDC2)] */
}/* [nodiscriminant] */;
struct nbt_ntlogon_packet {
diff --git a/source3/librpc/gen_ndr/ndr_nbt.c b/source3/librpc/gen_ndr/ndr_nbt.c
index c617641564..45fd54d52f 100644
--- a/source3/librpc/gen_ndr/ndr_nbt.c
+++ b/source3/librpc/gen_ndr/ndr_nbt.c
@@ -3184,6 +3184,10 @@ static enum ndr_err_code ndr_push_nbt_ntlogon_request(struct ndr_push *ndr, int
NDR_CHECK(ndr_push_nbt_ntlogon_sam_logon_reply(ndr, NDR_SCALARS, &r->reply));
break; }
+ case NETLOGON_RESPONSE_FROM_PDC2: {
+ NDR_CHECK(ndr_push_nbt_netlogon_response_from_pdc2(ndr, NDR_SCALARS, &r->reply2));
+ break; }
+
default:
return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
}
@@ -3201,6 +3205,9 @@ static enum ndr_err_code ndr_push_nbt_ntlogon_request(struct ndr_push *ndr, int
case NTLOGON_SAM_LOGON_REPLY15:
break;
+ case NETLOGON_RESPONSE_FROM_PDC2:
+ break;
+
default:
return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
}
@@ -3226,6 +3233,10 @@ static enum ndr_err_code ndr_pull_nbt_ntlogon_request(struct ndr_pull *ndr, int
NDR_CHECK(ndr_pull_nbt_ntlogon_sam_logon_reply(ndr, NDR_SCALARS, &r->reply));
break; }
+ case NETLOGON_RESPONSE_FROM_PDC2: {
+ NDR_CHECK(ndr_pull_nbt_netlogon_response_from_pdc2(ndr, NDR_SCALARS, &r->reply2));
+ break; }
+
default:
return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
}
@@ -3242,6 +3253,9 @@ static enum ndr_err_code ndr_pull_nbt_ntlogon_request(struct ndr_pull *ndr, int
case NTLOGON_SAM_LOGON_REPLY15:
break;
+ case NETLOGON_RESPONSE_FROM_PDC2:
+ break;
+
default:
return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
}
@@ -3267,6 +3281,10 @@ _PUBLIC_ void ndr_print_nbt_ntlogon_request(struct ndr_print *ndr, const char *n
ndr_print_nbt_ntlogon_sam_logon_reply(ndr, "reply", &r->reply);
break;
+ case NETLOGON_RESPONSE_FROM_PDC2:
+ ndr_print_nbt_netlogon_response_from_pdc2(ndr, "reply2", &r->reply2);
+ break;
+
default:
ndr_print_bad_level(ndr, name, level);
}