summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-21 19:29:24 +0200
committerKarolin Seeger <kseeger@samba.org>2008-04-22 08:51:57 +0200
commit8ba9ef4d1db8ee5309c71083038f709513bb7033 (patch)
tree99222275b4d5780308b8c43b205f0b7c6f003ffd /source
parentb5575b70ebdc051fee87404c3e0d630b91cedb79 (diff)
downloadsamba-8ba9ef4d1db8ee5309c71083038f709513bb7033.tar.gz
samba-8ba9ef4d1db8ee5309c71083038f709513bb7033.tar.xz
samba-8ba9ef4d1db8ee5309c71083038f709513bb7033.zip
IDL: re-run make idl.
Guenther (cherry picked from commit f9d68ca363f7e98bfb21a06283e4f02000d6d79c)
Diffstat (limited to 'source')
-rw-r--r--source/librpc/gen_ndr/nbt.h8
-rw-r--r--source/librpc/gen_ndr/ndr_nbt.c15
-rw-r--r--source/librpc/gen_ndr/ndr_nbt.h2
3 files changed, 15 insertions, 10 deletions
diff --git a/source/librpc/gen_ndr/nbt.h b/source/librpc/gen_ndr/nbt.h
index 8f2c38aef44..bd9bfcd5412 100644
--- a/source/librpc/gen_ndr/nbt.h
+++ b/source/librpc/gen_ndr/nbt.h
@@ -555,7 +555,7 @@ struct nbt_cldap_netlogon_5 {
uint32_t nt_version;/* [value(5)] */
uint16_t lmnt_token;
uint16_t lm20_token;
-};
+}/* [public] */;
struct nbt_cldap_netlogon_13 {
uint32_t type;
@@ -590,13 +590,15 @@ enum nbt_ntlogon_command
{
NTLOGON_SAM_LOGON=0x12,
NTLOGON_SAM_LOGON_REPLY=0x13,
- NTLOGON_SAM_LOGON_REPLY15=0x15
+ NTLOGON_SAM_LOGON_REPLY15=0x15,
+ NTLOGON_RESPONSE_FROM_PDC2=0x17
}
#else
{ __donnot_use_enum_nbt_ntlogon_command=0x7FFFFFFF}
#define NTLOGON_SAM_LOGON ( 0x12 )
#define NTLOGON_SAM_LOGON_REPLY ( 0x13 )
#define NTLOGON_SAM_LOGON_REPLY15 ( 0x15 )
+#define NTLOGON_RESPONSE_FROM_PDC2 ( 0x17 )
#endif
;
@@ -625,7 +627,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)] */
+ struct nbt_netlogon_response_from_pdc2 reply2;/* [case(NTLOGON_RESPONSE_FROM_PDC2)] */
}/* [nodiscriminant] */;
struct nbt_ntlogon_packet {
diff --git a/source/librpc/gen_ndr/ndr_nbt.c b/source/librpc/gen_ndr/ndr_nbt.c
index 45fd54d52fd..92a94886d2e 100644
--- a/source/librpc/gen_ndr/ndr_nbt.c
+++ b/source/librpc/gen_ndr/ndr_nbt.c
@@ -2577,7 +2577,7 @@ _PUBLIC_ void ndr_print_nbt_cldap_netlogon_3(struct ndr_print *ndr, const char *
ndr->depth--;
}
-static enum ndr_err_code ndr_push_nbt_cldap_netlogon_5(struct ndr_push *ndr, int ndr_flags, const struct nbt_cldap_netlogon_5 *r)
+_PUBLIC_ enum ndr_err_code ndr_push_nbt_cldap_netlogon_5(struct ndr_push *ndr, int ndr_flags, const struct nbt_cldap_netlogon_5 *r)
{
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_push_align(ndr, 4));
@@ -2601,7 +2601,7 @@ static enum ndr_err_code ndr_push_nbt_cldap_netlogon_5(struct ndr_push *ndr, int
return NDR_ERR_SUCCESS;
}
-static enum ndr_err_code ndr_pull_nbt_cldap_netlogon_5(struct ndr_pull *ndr, int ndr_flags, struct nbt_cldap_netlogon_5 *r)
+_PUBLIC_ enum ndr_err_code ndr_pull_nbt_cldap_netlogon_5(struct ndr_pull *ndr, int ndr_flags, struct nbt_cldap_netlogon_5 *r)
{
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_pull_align(ndr, 4));
@@ -2991,6 +2991,7 @@ _PUBLIC_ void ndr_print_nbt_ntlogon_command(struct ndr_print *ndr, const char *n
case NTLOGON_SAM_LOGON: val = "NTLOGON_SAM_LOGON"; break;
case NTLOGON_SAM_LOGON_REPLY: val = "NTLOGON_SAM_LOGON_REPLY"; break;
case NTLOGON_SAM_LOGON_REPLY15: val = "NTLOGON_SAM_LOGON_REPLY15"; break;
+ case NTLOGON_RESPONSE_FROM_PDC2: val = "NTLOGON_RESPONSE_FROM_PDC2"; break;
}
ndr_print_enum(ndr, name, "ENUM", val, r);
}
@@ -3184,7 +3185,7 @@ 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: {
+ case NTLOGON_RESPONSE_FROM_PDC2: {
NDR_CHECK(ndr_push_nbt_netlogon_response_from_pdc2(ndr, NDR_SCALARS, &r->reply2));
break; }
@@ -3205,7 +3206,7 @@ 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:
+ case NTLOGON_RESPONSE_FROM_PDC2:
break;
default:
@@ -3233,7 +3234,7 @@ 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: {
+ case NTLOGON_RESPONSE_FROM_PDC2: {
NDR_CHECK(ndr_pull_nbt_netlogon_response_from_pdc2(ndr, NDR_SCALARS, &r->reply2));
break; }
@@ -3253,7 +3254,7 @@ 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:
+ case NTLOGON_RESPONSE_FROM_PDC2:
break;
default:
@@ -3281,7 +3282,7 @@ _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:
+ case NTLOGON_RESPONSE_FROM_PDC2:
ndr_print_nbt_netlogon_response_from_pdc2(ndr, "reply2", &r->reply2);
break;
diff --git a/source/librpc/gen_ndr/ndr_nbt.h b/source/librpc/gen_ndr/ndr_nbt.h
index 645669972d7..28b8a49daa9 100644
--- a/source/librpc/gen_ndr/ndr_nbt.h
+++ b/source/librpc/gen_ndr/ndr_nbt.h
@@ -57,6 +57,8 @@ enum ndr_err_code ndr_pull_nbt_netlogon_packet(struct ndr_pull *ndr, int ndr_fla
void ndr_print_nbt_netlogon_packet(struct ndr_print *ndr, const char *name, const struct nbt_netlogon_packet *r);
void ndr_print_nbt_cldap_netlogon_1(struct ndr_print *ndr, const char *name, const struct nbt_cldap_netlogon_1 *r);
void ndr_print_nbt_cldap_netlogon_3(struct ndr_print *ndr, const char *name, const struct nbt_cldap_netlogon_3 *r);
+enum ndr_err_code ndr_push_nbt_cldap_netlogon_5(struct ndr_push *ndr, int ndr_flags, const struct nbt_cldap_netlogon_5 *r);
+enum ndr_err_code ndr_pull_nbt_cldap_netlogon_5(struct ndr_pull *ndr, int ndr_flags, struct nbt_cldap_netlogon_5 *r);
void ndr_print_nbt_cldap_netlogon_5(struct ndr_print *ndr, const char *name, const struct nbt_cldap_netlogon_5 *r);
void ndr_print_nbt_cldap_netlogon_13(struct ndr_print *ndr, const char *name, const struct nbt_cldap_netlogon_13 *r);
enum ndr_err_code ndr_push_nbt_cldap_netlogon(struct ndr_push *ndr, int ndr_flags, const union nbt_cldap_netlogon *r);