summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-02-24 17:55:25 -0500
committerSimo Sorce <idra@samba.org>2010-02-24 18:35:48 -0500
commit76f4e6f16b624c6a680122b4bed7f5922bc1f236 (patch)
treeb701f9576d85efd8c12c08e206a563a23156a842 /librpc
parenta7057e69c72f2c42a76cf67ccdb5927023c6aac2 (diff)
downloadsamba-76f4e6f16b624c6a680122b4bed7f5922bc1f236.tar.gz
samba-76f4e6f16b624c6a680122b4bed7f5922bc1f236.tar.bz2
samba-76f4e6f16b624c6a680122b4bed7f5922bc1f236.zip
idl:lsa change string type
comapring win<-> traces it looks like this is an lsa_StringLarge
Diffstat (limited to 'librpc')
-rw-r--r--librpc/gen_ndr/lsa.h2
-rw-r--r--librpc/gen_ndr/ndr_lsa.c10
-rw-r--r--librpc/idl/lsa.idl2
3 files changed, 7 insertions, 7 deletions
diff --git a/librpc/gen_ndr/lsa.h b/librpc/gen_ndr/lsa.h
index 8a389ae4dd..cf3d1bb5e1 100644
--- a/librpc/gen_ndr/lsa.h
+++ b/librpc/gen_ndr/lsa.h
@@ -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] */
diff --git a/librpc/gen_ndr/ndr_lsa.c b/librpc/gen_ndr/ndr_lsa.c
index e95784b599..662400d939 100644
--- a/librpc/gen_ndr/ndr_lsa.c
+++ b/librpc/gen_ndr/ndr_lsa.c
@@ -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:
diff --git a/librpc/idl/lsa.idl b/librpc/idl/lsa.idl
index bfb465a7e4..6b3536a8c6 100644
--- a/librpc/idl/lsa.idl
+++ b/librpc/idl/lsa.idl
@@ -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;