[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-983-ge1abff3
Günther Deschner
gd at samba.org
Fri Apr 18 09:52:50 GMT 2008
The branch, v3-2-test has been updated
via e1abff301449ad528194206fd953670057eaa12d (commit)
via dbef92c2b2ae6786cf527715adbbd7db8b334fcc (commit)
from b496f133228b74bf613dab81167a5b9670511c51 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit e1abff301449ad528194206fd953670057eaa12d
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 18 11:42:51 2008 +0200
IDL: make idl.
Guenther
commit dbef92c2b2ae6786cf527715adbbd7db8b334fcc
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 18 11:41:35 2008 +0200
IDL: Add type 23 in nbt_ntlogon_request reply packets.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/librpc/gen_ndr/nbt.h | 1 +
source/librpc/gen_ndr/ndr_nbt.c | 18 ++++++++++++++++++
source/librpc/idl/nbt.idl | 1 +
3 files changed, 20 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/librpc/gen_ndr/nbt.h b/source/librpc/gen_ndr/nbt.h
index 151a94b..8f2c38a 100644
--- a/source/librpc/gen_ndr/nbt.h
+++ b/source/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/source/librpc/gen_ndr/ndr_nbt.c b/source/librpc/gen_ndr/ndr_nbt.c
index c617641..45fd54d 100644
--- a/source/librpc/gen_ndr/ndr_nbt.c
+++ b/source/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);
}
diff --git a/source/librpc/idl/nbt.idl b/source/librpc/idl/nbt.idl
index e5efe17..4dc7972 100644
--- a/source/librpc/idl/nbt.idl
+++ b/source/librpc/idl/nbt.idl
@@ -579,6 +579,7 @@ interface nbt
[case(NTLOGON_SAM_LOGON)] nbt_ntlogon_sam_logon logon;
[case(NTLOGON_SAM_LOGON_REPLY)] nbt_ntlogon_sam_logon_reply reply;
[case(NTLOGON_SAM_LOGON_REPLY15)] nbt_ntlogon_sam_logon_reply reply;
+ [case(NETLOGON_RESPONSE_FROM_PDC2)] nbt_netlogon_response_from_pdc2 reply2;
} nbt_ntlogon_request;
typedef [flag(NDR_NOALIGN),public] struct {
--
Samba Shared Repository
More information about the samba-cvs
mailing list