1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

idl:lsa change string type

comapring win<-> traces it looks like this is an lsa_StringLarge
This commit is contained in:
Simo Sorce 2010-02-24 17:55:25 -05:00
parent a7057e69c7
commit 76f4e6f16b
3 changed files with 7 additions and 7 deletions

View File

@ -738,7 +738,7 @@ struct lsa_ForestTrustDomainInfo {
};
union lsa_ForestTrustData {
struct lsa_String top_level_name;/* [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] */
struct lsa_StringLarge top_level_name;/* [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] */
struct lsa_StringLarge top_level_name_ex;/* [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX)] */
struct lsa_ForestTrustDomainInfo domain_info;/* [case(LSA_FOREST_TRUST_DOMAIN_INFO)] */
struct lsa_ForestTrustBinaryData data;/* [default] */

View File

@ -5054,7 +5054,7 @@ static enum ndr_err_code ndr_push_lsa_ForestTrustData(struct ndr_push *ndr, int
NDR_CHECK(ndr_push_union_align(ndr, 5));
switch (level) {
case LSA_FOREST_TRUST_TOP_LEVEL_NAME: {
NDR_CHECK(ndr_push_lsa_String(ndr, NDR_SCALARS, &r->top_level_name));
NDR_CHECK(ndr_push_lsa_StringLarge(ndr, NDR_SCALARS, &r->top_level_name));
break; }
case LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX: {
@ -5075,7 +5075,7 @@ static enum ndr_err_code ndr_push_lsa_ForestTrustData(struct ndr_push *ndr, int
int level = ndr_push_get_switch_value(ndr, r);
switch (level) {
case LSA_FOREST_TRUST_TOP_LEVEL_NAME:
NDR_CHECK(ndr_push_lsa_String(ndr, NDR_BUFFERS, &r->top_level_name));
NDR_CHECK(ndr_push_lsa_StringLarge(ndr, NDR_BUFFERS, &r->top_level_name));
break;
case LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX:
@ -5108,7 +5108,7 @@ static enum ndr_err_code ndr_pull_lsa_ForestTrustData(struct ndr_pull *ndr, int
NDR_CHECK(ndr_pull_union_align(ndr, 5));
switch (level) {
case LSA_FOREST_TRUST_TOP_LEVEL_NAME: {
NDR_CHECK(ndr_pull_lsa_String(ndr, NDR_SCALARS, &r->top_level_name));
NDR_CHECK(ndr_pull_lsa_StringLarge(ndr, NDR_SCALARS, &r->top_level_name));
break; }
case LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX: {
@ -5128,7 +5128,7 @@ static enum ndr_err_code ndr_pull_lsa_ForestTrustData(struct ndr_pull *ndr, int
if (ndr_flags & NDR_BUFFERS) {
switch (level) {
case LSA_FOREST_TRUST_TOP_LEVEL_NAME:
NDR_CHECK(ndr_pull_lsa_String(ndr, NDR_BUFFERS, &r->top_level_name));
NDR_CHECK(ndr_pull_lsa_StringLarge(ndr, NDR_BUFFERS, &r->top_level_name));
break;
case LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX:
@ -5155,7 +5155,7 @@ _PUBLIC_ void ndr_print_lsa_ForestTrustData(struct ndr_print *ndr, const char *n
ndr_print_union(ndr, name, level, "lsa_ForestTrustData");
switch (level) {
case LSA_FOREST_TRUST_TOP_LEVEL_NAME:
ndr_print_lsa_String(ndr, "top_level_name", &r->top_level_name);
ndr_print_lsa_StringLarge(ndr, "top_level_name", &r->top_level_name);
break;
case LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX:

View File

@ -1279,7 +1279,7 @@ import "misc.idl", "security.idl";
} lsa_ForestTrustDomainInfo;
typedef [switch_type(uint32)] union {
[case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] lsa_String top_level_name;
[case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] lsa_StringLarge top_level_name;
[case(LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX)] lsa_StringLarge top_level_name_ex;
[case(LSA_FOREST_TRUST_DOMAIN_INFO)] lsa_ForestTrustDomainInfo domain_info;
[default] lsa_ForestTrustBinaryData data;