Changeset 204 for branches/samba-3.2.x/source/librpc
- Timestamp:
- May 20, 2009, 6:46:53 PM (16 years ago)
- Location:
- branches/samba-3.2.x/source/librpc
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/librpc/gen_ndr/cli_netlogon.c
r133 r204 1535 1535 enum netr_SchannelType secure_channel_type /* [in] */, 1536 1536 const char *computer_name /* [in] [charset(UTF16)] */, 1537 struct netr_Authenticator credential /* [in]*/,1538 struct netr_ CryptPassword new_password /* [in]*/,1539 struct netr_ Authenticator *return_authenticator /* [out] [ref] */)1537 struct netr_Authenticator *credential /* [in] [ref] */, 1538 struct netr_Authenticator *return_authenticator /* [out] [ref] */, 1539 struct netr_CryptPassword *new_password /* [in] [ref] */) 1540 1540 { 1541 1541 struct netr_ServerPasswordSet2 r; -
branches/samba-3.2.x/source/librpc/gen_ndr/cli_netlogon.h
r133 r204 240 240 enum netr_SchannelType secure_channel_type /* [in] */, 241 241 const char *computer_name /* [in] [charset(UTF16)] */, 242 struct netr_Authenticator credential /* [in]*/,243 struct netr_ CryptPassword new_password /* [in]*/,244 struct netr_ Authenticator *return_authenticator /* [out] [ref] */);242 struct netr_Authenticator *credential /* [in] [ref] */, 243 struct netr_Authenticator *return_authenticator /* [out] [ref] */, 244 struct netr_CryptPassword *new_password /* [in] [ref] */); 245 245 NTSTATUS rpccli_netr_ServerPasswordGet(struct rpc_pipe_client *cli, 246 246 TALLOC_CTX *mem_ctx, -
branches/samba-3.2.x/source/librpc/gen_ndr/krb5pac.h
r133 r204 77 77 struct PAC_SIGNATURE_DATA kdc_cksum;/* [case(PAC_TYPE_KDC_CHECKSUM)] */ 78 78 struct PAC_LOGON_NAME logon_name;/* [case(PAC_TYPE_LOGON_NAME)] */ 79 struct DATA_BLOB_REM unknown;/* [subcontext(0), case(PAC_TYPE_UNKNOWN_12)] */79 struct DATA_BLOB_REM unknown;/* [subcontext(0),default] */ 80 80 }/* [gensize,nodiscriminant,public] */; 81 81 -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_dfs.c
r133 r204 503 503 ndr->depth++; 504 504 if (r->stores) { 505 ndr->print(ndr, "%s: ARRAY(%d)", "stores", r->num_stores);505 ndr->print(ndr, "%s: ARRAY(%d)", "stores", (int)r->num_stores); 506 506 ndr->depth++; 507 507 for (cntr_stores_1=0;cntr_stores_1<r->num_stores;cntr_stores_1++) { … … 666 666 ndr->depth++; 667 667 if (r->stores) { 668 ndr->print(ndr, "%s: ARRAY(%d)", "stores", r->num_stores);668 ndr->print(ndr, "%s: ARRAY(%d)", "stores", (int)r->num_stores); 669 669 ndr->depth++; 670 670 for (cntr_stores_1=0;cntr_stores_1<r->num_stores;cntr_stores_1++) { … … 1074 1074 ndr->depth++; 1075 1075 if (r->stores) { 1076 ndr->print(ndr, "%s: ARRAY(%d)", "stores", r->num_stores);1076 ndr->print(ndr, "%s: ARRAY(%d)", "stores", (int)r->num_stores); 1077 1077 ndr->depth++; 1078 1078 for (cntr_stores_1=0;cntr_stores_1<r->num_stores;cntr_stores_1++) { … … 2265 2265 ndr->depth++; 2266 2266 if (r->s) { 2267 ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count);2267 ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); 2268 2268 ndr->depth++; 2269 2269 for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { … … 2351 2351 ndr->depth++; 2352 2352 if (r->s) { 2353 ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count);2353 ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); 2354 2354 ndr->depth++; 2355 2355 for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { … … 2437 2437 ndr->depth++; 2438 2438 if (r->s) { 2439 ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count);2439 ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); 2440 2440 ndr->depth++; 2441 2441 for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { … … 2523 2523 ndr->depth++; 2524 2524 if (r->s) { 2525 ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count);2525 ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); 2526 2526 ndr->depth++; 2527 2527 for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { … … 2609 2609 ndr->depth++; 2610 2610 if (r->s) { 2611 ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count);2611 ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); 2612 2612 ndr->depth++; 2613 2613 for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { … … 2695 2695 ndr->depth++; 2696 2696 if (r->s) { 2697 ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count);2697 ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); 2698 2698 ndr->depth++; 2699 2699 for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { … … 2781 2781 ndr->depth++; 2782 2782 if (r->s) { 2783 ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count);2783 ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); 2784 2784 ndr->depth++; 2785 2785 for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { … … 2867 2867 ndr->depth++; 2868 2868 if (r->s) { 2869 ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count);2869 ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); 2870 2870 ndr->depth++; 2871 2871 for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_echo.c
r133 r204 624 624 ndr->depth++; 625 625 ndr_print_uint32(ndr, "x", r->x); 626 ndr->print(ndr, "%s: ARRAY(%d)", "surrounding", r->x);626 ndr->print(ndr, "%s: ARRAY(%d)", "surrounding", (int)r->x); 627 627 ndr->depth++; 628 628 for (cntr_surrounding_0=0;cntr_surrounding_0<r->x;cntr_surrounding_0++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_epmapper.c
r133 r204 1563 1563 ndr->depth++; 1564 1564 ndr_print_uint16(ndr, "num_floors", r->num_floors); 1565 ndr->print(ndr, "%s: ARRAY(%d)", "floors", r->num_floors);1565 ndr->print(ndr, "%s: ARRAY(%d)", "floors", (int)r->num_floors); 1566 1566 ndr->depth++; 1567 1567 for (cntr_floors_0=0;cntr_floors_0<r->num_floors;cntr_floors_0++) { … … 1845 1845 ndr->depth++; 1846 1846 ndr_print_uint32(ndr, "num_ents", r->in.num_ents); 1847 ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->in.num_ents);1847 ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->in.num_ents); 1848 1848 ndr->depth++; 1849 1849 for (cntr_entries_0=0;cntr_entries_0<r->in.num_ents;cntr_entries_0++) { … … 1925 1925 ndr->depth++; 1926 1926 ndr_print_uint32(ndr, "num_ents", r->in.num_ents); 1927 ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->in.num_ents);1927 ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->in.num_ents); 1928 1928 ndr->depth++; 1929 1929 for (cntr_entries_0=0;cntr_entries_0<r->in.num_ents;cntr_entries_0++) { … … 2125 2125 ndr_print_uint32(ndr, "num_ents", *r->out.num_ents); 2126 2126 ndr->depth--; 2127 ndr->print(ndr, "%s: ARRAY(%d)", "entries", *r->out.num_ents);2127 ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)*r->out.num_ents); 2128 2128 ndr->depth++; 2129 2129 for (cntr_entries_0=0;cntr_entries_0<*r->out.num_ents;cntr_entries_0++) { … … 2314 2314 ndr_print_uint32(ndr, "num_towers", *r->out.num_towers); 2315 2315 ndr->depth--; 2316 ndr->print(ndr, "%s: ARRAY(%d)", "towers", *r->out.num_towers);2316 ndr->print(ndr, "%s: ARRAY(%d)", "towers", (int)*r->out.num_towers); 2317 2317 ndr->depth++; 2318 2318 for (cntr_towers_0=0;cntr_towers_0<*r->out.num_towers;cntr_towers_0++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_eventlog.c
r133 r204 173 173 ndr_print_string(ndr, "source_name", r->source_name); 174 174 ndr_print_string(ndr, "computer_name", r->computer_name); 175 ndr->print(ndr, "%s: ARRAY(%d)", "strings", r->num_of_strings);175 ndr->print(ndr, "%s: ARRAY(%d)", "strings", (int)r->num_of_strings); 176 176 ndr->depth++; 177 177 for (cntr_strings_0=0;cntr_strings_0<r->num_of_strings;cntr_strings_0++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_krb5pac.c
r133 r204 320 320 break; } 321 321 322 case PAC_TYPE_UNKNOWN_12: {322 default: { 323 323 { 324 324 struct ndr_push *_ndr_unknown; … … 329 329 break; } 330 330 331 default:332 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);333 331 } 334 332 } … … 349 347 break; 350 348 351 case PAC_TYPE_UNKNOWN_12:352 break;353 354 349 default: 355 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level); 350 break; 351 356 352 } 357 353 } … … 381 377 break; } 382 378 383 case PAC_TYPE_UNKNOWN_12: {379 default: { 384 380 { 385 381 struct ndr_pull *_ndr_unknown; … … 390 386 break; } 391 387 392 default:393 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);394 388 } 395 389 } … … 409 403 break; 410 404 411 case PAC_TYPE_UNKNOWN_12:412 break;413 414 405 default: 415 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level); 406 break; 407 416 408 } 417 409 } … … 441 433 break; 442 434 443 case PAC_TYPE_UNKNOWN_12:435 default: 444 436 ndr_print_DATA_BLOB_REM(ndr, "unknown", &r->unknown); 445 437 break; 446 438 447 default:448 ndr_print_bad_level(ndr, name, level);449 439 } 450 440 } … … 508 498 ndr_print_uint32(ndr, "num_buffers", r->num_buffers); 509 499 ndr_print_uint32(ndr, "version", r->version); 510 ndr->print(ndr, "%s: ARRAY(%d)", "buffers", r->num_buffers);500 ndr->print(ndr, "%s: ARRAY(%d)", "buffers", (int)r->num_buffers); 511 501 ndr->depth++; 512 502 for (cntr_buffers_0=0;cntr_buffers_0<r->num_buffers;cntr_buffers_0++) { … … 670 660 ndr_print_uint32(ndr, "num_buffers", r->num_buffers); 671 661 ndr_print_uint32(ndr, "version", r->version); 672 ndr->print(ndr, "%s: ARRAY(%d)", "buffers", r->num_buffers);662 ndr->print(ndr, "%s: ARRAY(%d)", "buffers", (int)r->num_buffers); 673 663 ndr->depth++; 674 664 for (cntr_buffers_0=0;cntr_buffers_0<r->num_buffers;cntr_buffers_0++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_lsa.c
r133 r204 218 218 ndr->depth++; 219 219 if (r->names) { 220 ndr->print(ndr, "%s: ARRAY(%d)", "names", r->count);220 ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->count); 221 221 ndr->depth++; 222 222 for (cntr_names_1=0;cntr_names_1<r->count;cntr_names_1++) { … … 452 452 ndr->depth++; 453 453 if (r->array) { 454 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->length / 2);454 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->length / 2); 455 455 ndr->depth++; 456 456 for (cntr_array_1=0;cntr_array_1<r->length / 2;cntr_array_1++) { … … 606 606 ndr->depth++; 607 607 if (r->privs) { 608 ndr->print(ndr, "%s: ARRAY(%d)", "privs", r->count);608 ndr->print(ndr, "%s: ARRAY(%d)", "privs", (int)r->count); 609 609 ndr->depth++; 610 610 for (cntr_privs_1=0;cntr_privs_1<r->count;cntr_privs_1++) { … … 974 974 ndr->depth++; 975 975 if (r->settings) { 976 ndr->print(ndr, "%s: ARRAY(%d)", "settings", r->count);976 ndr->print(ndr, "%s: ARRAY(%d)", "settings", (int)r->count); 977 977 ndr->depth++; 978 978 for (cntr_settings_1=0;cntr_settings_1<r->count;cntr_settings_1++) { … … 1806 1806 ndr->depth++; 1807 1807 if (r->sids) { 1808 ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->num_sids);1808 ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->num_sids); 1809 1809 ndr->depth++; 1810 1810 for (cntr_sids_1=0;cntr_sids_1<r->num_sids;cntr_sids_1++) { … … 1892 1892 ndr->depth++; 1893 1893 if (r->domains) { 1894 ndr->print(ndr, "%s: ARRAY(%d)", "domains", r->count);1894 ndr->print(ndr, "%s: ARRAY(%d)", "domains", (int)r->count); 1895 1895 ndr->depth++; 1896 1896 for (cntr_domains_1=0;cntr_domains_1<r->count;cntr_domains_1++) { … … 2044 2044 ndr->depth++; 2045 2045 if (r->sids) { 2046 ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->count);2046 ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->count); 2047 2047 ndr->depth++; 2048 2048 for (cntr_sids_1=0;cntr_sids_1<r->count;cntr_sids_1++) { … … 2135 2135 ndr->depth++; 2136 2136 if (r->domains) { 2137 ndr->print(ndr, "%s: ARRAY(%d)", "domains", r->count);2137 ndr->print(ndr, "%s: ARRAY(%d)", "domains", (int)r->count); 2138 2138 ndr->depth++; 2139 2139 for (cntr_domains_1=0;cntr_domains_1<r->count;cntr_domains_1++) { … … 2292 2292 ndr->depth++; 2293 2293 if (r->names) { 2294 ndr->print(ndr, "%s: ARRAY(%d)", "names", r->count);2294 ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->count); 2295 2295 ndr->depth++; 2296 2296 for (cntr_names_1=0;cntr_names_1<r->count;cntr_names_1++) { … … 2392 2392 ndr_print_uint32(ndr, "count", r->count); 2393 2393 ndr_print_uint32(ndr, "unknown", r->unknown); 2394 ndr->print(ndr, "%s: ARRAY(%d)", "set", r->count);2394 ndr->print(ndr, "%s: ARRAY(%d)", "set", (int)r->count); 2395 2395 ndr->depth++; 2396 2396 for (cntr_set_0=0;cntr_set_0<r->count;cntr_set_0++) { … … 3513 3513 ndr->depth++; 3514 3514 if (r->names) { 3515 ndr->print(ndr, "%s: ARRAY(%d)", "names", r->count);3515 ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->count); 3516 3516 ndr->depth++; 3517 3517 for (cntr_names_1=0;cntr_names_1<r->count;cntr_names_1++) { … … 3599 3599 ndr->depth++; 3600 3600 if (r->domains) { 3601 ndr->print(ndr, "%s: ARRAY(%d)", "domains", r->count);3601 ndr->print(ndr, "%s: ARRAY(%d)", "domains", (int)r->count); 3602 3602 ndr->depth++; 3603 3603 for (cntr_domains_1=0;cntr_domains_1<r->count;cntr_domains_1++) { … … 3927 3927 ndr->depth++; 3928 3928 if (r->names) { 3929 ndr->print(ndr, "%s: ARRAY(%d)", "names", r->count);3929 ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->count); 3930 3930 ndr->depth++; 3931 3931 for (cntr_names_1=0;cntr_names_1<r->count;cntr_names_1++) { … … 4049 4049 ndr->depth++; 4050 4050 if (r->sids) { 4051 ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->count);4051 ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->count); 4052 4052 ndr->depth++; 4053 4053 for (cntr_sids_1=0;cntr_sids_1<r->count;cntr_sids_1++) { … … 4198 4198 ndr->depth++; 4199 4199 if (r->sids) { 4200 ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->count);4200 ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->count); 4201 4201 ndr->depth++; 4202 4202 for (cntr_sids_1=0;cntr_sids_1<r->count;cntr_sids_1++) { … … 4620 4620 ndr->depth++; 4621 4621 if (r->entries) { 4622 ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count);4622 ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); 4623 4623 ndr->depth++; 4624 4624 for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { … … 6014 6014 ndr->depth--; 6015 6015 ndr_print_uint32(ndr, "num_names", r->in.num_names); 6016 ndr->print(ndr, "%s: ARRAY(%d)", "names", r->in.num_names);6016 ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->in.num_names); 6017 6017 ndr->depth++; 6018 6018 for (cntr_names_0=0;cntr_names_0<r->in.num_names;cntr_names_0++) { … … 10320 10320 ndr->depth--; 10321 10321 ndr_print_uint32(ndr, "num_names", r->in.num_names); 10322 ndr->print(ndr, "%s: ARRAY(%d)", "names", r->in.num_names);10322 ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->in.num_names); 10323 10323 ndr->depth++; 10324 10324 for (cntr_names_0=0;cntr_names_0<r->in.num_names;cntr_names_0++) { … … 10903 10903 ndr->depth--; 10904 10904 ndr_print_uint32(ndr, "num_names", r->in.num_names); 10905 ndr->print(ndr, "%s: ARRAY(%d)", "names", r->in.num_names);10905 ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->in.num_names); 10906 10906 ndr->depth++; 10907 10907 for (cntr_names_0=0;cntr_names_0<r->in.num_names;cntr_names_0++) { … … 11637 11637 ndr->depth++; 11638 11638 ndr_print_uint32(ndr, "num_names", r->in.num_names); 11639 ndr->print(ndr, "%s: ARRAY(%d)", "names", r->in.num_names);11639 ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->in.num_names); 11640 11640 ndr->depth++; 11641 11641 for (cntr_names_0=0;cntr_names_0<r->in.num_names;cntr_names_0++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_messaging.c
r133 r204 100 100 ndr->depth++; 101 101 ndr_print_uint32(ndr, "num_messages", r->num_messages); 102 ndr->print(ndr, "%s: ARRAY(%d)", "messages", r->num_messages);102 ndr->print(ndr, "%s: ARRAY(%d)", "messages", (int)r->num_messages); 103 103 ndr->depth++; 104 104 for (cntr_messages_0=0;cntr_messages_0<r->num_messages;cntr_messages_0++) { … … 181 181 ndr_print_uint32(ndr, "num_changes", r->num_changes); 182 182 ndr_print_uint32(ndr, "num_keys", r->num_keys); 183 ndr->print(ndr, "%s: ARRAY(%d)", "keys", r->num_keys);183 ndr->print(ndr, "%s: ARRAY(%d)", "keys", (int)r->num_keys); 184 184 ndr->depth++; 185 185 for (cntr_keys_0=0;cntr_keys_0<r->num_keys;cntr_keys_0++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_netlogon.c
r133 r204 1055 1055 ndr_print_netr_LMSessionKey(ndr, "LMSessKey", &r->LMSessKey); 1056 1056 ndr_print_samr_AcctFlags(ndr, "acct_flags", r->acct_flags); 1057 ndr->print(ndr, "%s: ARRAY(%d)", "unknown", 7);1057 ndr->print(ndr, "%s: ARRAY(%d)", "unknown", (int)7); 1058 1058 ndr->depth++; 1059 1059 for (cntr_unknown_0=0;cntr_unknown_0<7;cntr_unknown_0++) { … … 1230 1230 ndr->depth++; 1231 1231 if (r->sids) { 1232 ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->sidcount);1232 ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->sidcount); 1233 1233 ndr->depth++; 1234 1234 for (cntr_sids_1=0;cntr_sids_1<r->sidcount;cntr_sids_1++) { … … 1338 1338 ndr->depth++; 1339 1339 if (r->sids) { 1340 ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->sidcount);1340 ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->sidcount); 1341 1341 ndr->depth++; 1342 1342 for (cntr_sids_1=0;cntr_sids_1<r->sidcount;cntr_sids_1++) { … … 1352 1352 ndr_print_lsa_String(ndr, "forest", &r->forest); 1353 1353 ndr_print_lsa_String(ndr, "principle", &r->principle); 1354 ndr->print(ndr, "%s: ARRAY(%d)", "unknown4", 20);1354 ndr->print(ndr, "%s: ARRAY(%d)", "unknown4", (int)20); 1355 1355 ndr->depth++; 1356 1356 for (cntr_unknown4_0=0;cntr_unknown4_0<20;cntr_unknown4_0++) { … … 1498 1498 ndr->depth--; 1499 1499 ndr_print_netr_UserSessionKey(ndr, "user_session_key", &r->user_session_key); 1500 ndr->print(ndr, "%s: ARRAY(%d)", "expansionroom", 10);1500 ndr->print(ndr, "%s: ARRAY(%d)", "expansionroom", (int)10); 1501 1501 ndr->depth++; 1502 1502 for (cntr_expansionroom_0=0;cntr_expansionroom_0<10;cntr_expansionroom_0++) { … … 2774 2774 ndr->depth++; 2775 2775 if (r->rids) { 2776 ndr->print(ndr, "%s: ARRAY(%d)", "rids", r->num_rids);2776 ndr->print(ndr, "%s: ARRAY(%d)", "rids", (int)r->num_rids); 2777 2777 ndr->depth++; 2778 2778 for (cntr_rids_1=0;cntr_rids_1<r->num_rids;cntr_rids_1++) { … … 2789 2789 ndr->depth++; 2790 2790 if (r->attribs) { 2791 ndr->print(ndr, "%s: ARRAY(%d)", "attribs", r->num_rids);2791 ndr->print(ndr, "%s: ARRAY(%d)", "attribs", (int)r->num_rids); 2792 2792 ndr->depth++; 2793 2793 for (cntr_attribs_1=0;cntr_attribs_1<r->num_rids;cntr_attribs_1++) { … … 3105 3105 ndr->depth++; 3106 3106 if (r->eventauditoptions) { 3107 ndr->print(ndr, "%s: ARRAY(%d)", "eventauditoptions", r->maxauditeventcount + 1);3107 ndr->print(ndr, "%s: ARRAY(%d)", "eventauditoptions", (int)r->maxauditeventcount + 1); 3108 3108 ndr->depth++; 3109 3109 for (cntr_eventauditoptions_1=0;cntr_eventauditoptions_1<r->maxauditeventcount + 1;cntr_eventauditoptions_1++) { … … 3246 3246 ndr->depth++; 3247 3247 if (r->controller_names) { 3248 ndr->print(ndr, "%s: ARRAY(%d)", "controller_names", r->num_controllers);3248 ndr->print(ndr, "%s: ARRAY(%d)", "controller_names", (int)r->num_controllers); 3249 3249 ndr->depth++; 3250 3250 for (cntr_controller_names_1=0;cntr_controller_names_1<r->num_controllers;cntr_controller_names_1++) { … … 3444 3444 ndr->depth++; 3445 3445 if (r->privilege_attrib) { 3446 ndr->print(ndr, "%s: ARRAY(%d)", "privilege_attrib", r->privilege_entries);3446 ndr->print(ndr, "%s: ARRAY(%d)", "privilege_attrib", (int)r->privilege_entries); 3447 3447 ndr->depth++; 3448 3448 for (cntr_privilege_attrib_1=0;cntr_privilege_attrib_1<r->privilege_entries;cntr_privilege_attrib_1++) { … … 3459 3459 ndr->depth++; 3460 3460 if (r->privilege_name) { 3461 ndr->print(ndr, "%s: ARRAY(%d)", "privilege_name", r->privilege_entries);3461 ndr->print(ndr, "%s: ARRAY(%d)", "privilege_name", (int)r->privilege_entries); 3462 3462 ndr->depth++; 3463 3463 for (cntr_privilege_name_1=0;cntr_privilege_name_1<r->privilege_entries;cntr_privilege_name_1++) { … … 5249 5249 ndr->depth++; 5250 5250 if (r->delta_enum) { 5251 ndr->print(ndr, "%s: ARRAY(%d)", "delta_enum", r->num_deltas);5251 ndr->print(ndr, "%s: ARRAY(%d)", "delta_enum", (int)r->num_deltas); 5252 5252 ndr->depth++; 5253 5253 for (cntr_delta_enum_1=0;cntr_delta_enum_1<r->num_deltas;cntr_delta_enum_1++) { … … 6476 6476 ndr->depth++; 6477 6477 if (r->data) { 6478 ndr->print(ndr, "%s: ARRAY(%d)", "data", r->length / 2);6478 ndr->print(ndr, "%s: ARRAY(%d)", "data", (int)r->length / 2); 6479 6479 ndr->depth++; 6480 6480 for (cntr_data_1=0;cntr_data_1<r->length / 2;cntr_data_1++) { … … 6749 6749 ndr_print_lsa_String(ndr, "unknown5", &r->unknown5); 6750 6750 ndr_print_lsa_String(ndr, "unknown6", &r->unknown6); 6751 ndr->print(ndr, "%s: ARRAY(%d)", "unknown7", 4);6751 ndr->print(ndr, "%s: ARRAY(%d)", "unknown7", (int)4); 6752 6752 ndr->depth++; 6753 6753 for (cntr_unknown7_0=0;cntr_unknown7_0<4;cntr_unknown7_0++) { … … 6986 6986 } 6987 6987 ndr->depth--; 6988 ndr->print(ndr, "%s: ARRAY(%d)", "unknown1", 4);6988 ndr->print(ndr, "%s: ARRAY(%d)", "unknown1", (int)4); 6989 6989 ndr->depth++; 6990 6990 for (cntr_unknown1_0=0;cntr_unknown1_0<4;cntr_unknown1_0++) { … … 6996 6996 } 6997 6997 ndr->depth--; 6998 ndr->print(ndr, "%s: ARRAY(%d)", "unknown", 4);6998 ndr->print(ndr, "%s: ARRAY(%d)", "unknown", (int)4); 6999 6999 ndr->depth++; 7000 7000 for (cntr_unknown_0=0;cntr_unknown_0<4;cntr_unknown_0++) { … … 7094 7094 ndr->depth++; 7095 7095 if (r->trusts) { 7096 ndr->print(ndr, "%s: ARRAY(%d)", "trusts", r->num_trusts);7096 ndr->print(ndr, "%s: ARRAY(%d)", "trusts", (int)r->num_trusts); 7097 7097 ndr->depth++; 7098 7098 for (cntr_trusts_1=0;cntr_trusts_1<r->num_trusts;cntr_trusts_1++) { … … 7106 7106 } 7107 7107 ndr->depth--; 7108 ndr->print(ndr, "%s: ARRAY(%d)", "unknown", 14);7108 ndr->print(ndr, "%s: ARRAY(%d)", "unknown", (int)14); 7109 7109 ndr->depth++; 7110 7110 for (cntr_unknown_0=0;cntr_unknown_0<14;cntr_unknown_0++) { … … 7370 7370 ndr->depth++; 7371 7371 if (r->sitename) { 7372 ndr->print(ndr, "%s: ARRAY(%d)", "sitename", r->count);7372 ndr->print(ndr, "%s: ARRAY(%d)", "sitename", (int)r->count); 7373 7373 ndr->depth++; 7374 7374 for (cntr_sitename_1=0;cntr_sitename_1<r->count;cntr_sitename_1++) { … … 7732 7732 ndr->depth++; 7733 7733 if (r->array) { 7734 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);7734 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 7735 7735 ndr->depth++; 7736 7736 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 7859 7859 ndr->depth++; 7860 7860 if (r->sitename) { 7861 ndr->print(ndr, "%s: ARRAY(%d)", "sitename", r->count);7861 ndr->print(ndr, "%s: ARRAY(%d)", "sitename", (int)r->count); 7862 7862 ndr->depth++; 7863 7863 for (cntr_sitename_1=0;cntr_sitename_1<r->count;cntr_sitename_1++) { … … 7874 7874 ndr->depth++; 7875 7875 if (r->subnetname) { 7876 ndr->print(ndr, "%s: ARRAY(%d)", "subnetname", r->count);7876 ndr->print(ndr, "%s: ARRAY(%d)", "subnetname", (int)r->count); 7877 7877 ndr->depth++; 7878 7878 for (cntr_subnetname_1=0;cntr_subnetname_1<r->count;cntr_subnetname_1++) { … … 7960 7960 ndr->depth++; 7961 7961 if (r->sites) { 7962 ndr->print(ndr, "%s: ARRAY(%d)", "sites", r->num_sites);7962 ndr->print(ndr, "%s: ARRAY(%d)", "sites", (int)r->num_sites); 7963 7963 ndr->depth++; 7964 7964 for (cntr_sites_1=0;cntr_sites_1<r->num_sites;cntr_sites_1++) { … … 12311 12311 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, ndr_charset_length(r->in.computer_name, CH_UTF16))); 12312 12312 NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.computer_name, ndr_charset_length(r->in.computer_name, CH_UTF16), sizeof(uint16_t), CH_UTF16)); 12313 NDR_CHECK(ndr_push_netr_Authenticator(ndr, NDR_SCALARS, &r->in.credential)); 12314 NDR_CHECK(ndr_push_netr_CryptPassword(ndr, NDR_SCALARS, &r->in.new_password)); 12313 if (r->in.credential == NULL) { 12314 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer"); 12315 } 12316 NDR_CHECK(ndr_push_netr_Authenticator(ndr, NDR_SCALARS, r->in.credential)); 12317 if (r->in.new_password == NULL) { 12318 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer"); 12319 } 12320 NDR_CHECK(ndr_push_netr_CryptPassword(ndr, NDR_SCALARS, r->in.new_password)); 12315 12321 } 12316 12322 if (flags & NDR_OUT) { … … 12328 12334 uint32_t _ptr_server_name; 12329 12335 TALLOC_CTX *_mem_save_server_name_0; 12336 TALLOC_CTX *_mem_save_credential_0; 12330 12337 TALLOC_CTX *_mem_save_return_authenticator_0; 12338 TALLOC_CTX *_mem_save_new_password_0; 12331 12339 if (flags & NDR_IN) { 12332 12340 ZERO_STRUCT(r->out); … … 12365 12373 NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->in.computer_name), sizeof(uint16_t))); 12366 12374 NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.computer_name, ndr_get_array_length(ndr, &r->in.computer_name), sizeof(uint16_t), CH_UTF16)); 12367 NDR_CHECK(ndr_pull_netr_Authenticator(ndr, NDR_SCALARS, &r->in.credential)); 12368 NDR_CHECK(ndr_pull_netr_CryptPassword(ndr, NDR_SCALARS, &r->in.new_password)); 12375 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) { 12376 NDR_PULL_ALLOC(ndr, r->in.credential); 12377 } 12378 _mem_save_credential_0 = NDR_PULL_GET_MEM_CTX(ndr); 12379 NDR_PULL_SET_MEM_CTX(ndr, r->in.credential, LIBNDR_FLAG_REF_ALLOC); 12380 NDR_CHECK(ndr_pull_netr_Authenticator(ndr, NDR_SCALARS, r->in.credential)); 12381 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_credential_0, LIBNDR_FLAG_REF_ALLOC); 12382 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) { 12383 NDR_PULL_ALLOC(ndr, r->in.new_password); 12384 } 12385 _mem_save_new_password_0 = NDR_PULL_GET_MEM_CTX(ndr); 12386 NDR_PULL_SET_MEM_CTX(ndr, r->in.new_password, LIBNDR_FLAG_REF_ALLOC); 12387 NDR_CHECK(ndr_pull_netr_CryptPassword(ndr, NDR_SCALARS, r->in.new_password)); 12388 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_new_password_0, LIBNDR_FLAG_REF_ALLOC); 12369 12389 NDR_PULL_ALLOC(ndr, r->out.return_authenticator); 12370 12390 ZERO_STRUCTP(r->out.return_authenticator); … … 12402 12422 ndr_print_netr_SchannelType(ndr, "secure_channel_type", r->in.secure_channel_type); 12403 12423 ndr_print_string(ndr, "computer_name", r->in.computer_name); 12404 ndr_print_netr_Authenticator(ndr, "credential", &r->in.credential); 12405 ndr_print_netr_CryptPassword(ndr, "new_password", &r->in.new_password); 12424 ndr_print_ptr(ndr, "credential", r->in.credential); 12425 ndr->depth++; 12426 ndr_print_netr_Authenticator(ndr, "credential", r->in.credential); 12427 ndr->depth--; 12428 ndr_print_ptr(ndr, "new_password", r->in.new_password); 12429 ndr->depth++; 12430 ndr_print_netr_CryptPassword(ndr, "new_password", r->in.new_password); 12431 ndr->depth--; 12406 12432 ndr->depth--; 12407 12433 } … … 12748 12774 ndr_print_ptr(ndr, "addresses", r->in.addresses); 12749 12775 ndr->depth++; 12750 ndr->print(ndr, "%s: ARRAY(%d)", "addresses", r->in.count);12776 ndr->print(ndr, "%s: ARRAY(%d)", "addresses", (int)r->in.count); 12751 12777 ndr->depth++; 12752 12778 for (cntr_addresses_1=0;cntr_addresses_1<r->in.count;cntr_addresses_1++) { … … 13291 13317 ndr_print_ptr(ndr, "addresses", r->in.addresses); 13292 13318 ndr->depth++; 13293 ndr->print(ndr, "%s: ARRAY(%d)", "addresses", r->in.count);13319 ndr->print(ndr, "%s: ARRAY(%d)", "addresses", (int)r->in.count); 13294 13320 ndr->depth++; 13295 13321 for (cntr_addresses_1=0;cntr_addresses_1<r->in.count;cntr_addresses_1++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_notify.c
r133 r204 117 117 ndr_print_uint32(ndr, "max_mask_subdir", r->max_mask_subdir); 118 118 ndr_print_uint32(ndr, "num_entries", r->num_entries); 119 ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->num_entries);119 ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->num_entries); 120 120 ndr->depth++; 121 121 for (cntr_entries_0=0;cntr_entries_0<r->num_entries;cntr_entries_0++) { … … 180 180 ndr->depth++; 181 181 ndr_print_uint32(ndr, "num_depths", r->num_depths); 182 ndr->print(ndr, "%s: ARRAY(%d)", "depth", r->num_depths);182 ndr->print(ndr, "%s: ARRAY(%d)", "depth", (int)r->num_depths); 183 183 ndr->depth++; 184 184 for (cntr_depth_0=0;cntr_depth_0<r->num_depths;cntr_depth_0++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_ntsvcs.c
r133 r204 42 42 ndr->depth++; 43 43 ndr_print_uint32(ndr, "unknown1", r->unknown1); 44 ndr->print(ndr, "%s: ARRAY(%d)", "unknown2", 160);44 ndr->print(ndr, "%s: ARRAY(%d)", "unknown2", (int)160); 45 45 ndr->depth++; 46 46 for (cntr_unknown2_0=0;cntr_unknown2_0<160;cntr_unknown2_0++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_samr.c
r136 r204 296 296 ndr->depth++; 297 297 if (r->entries) { 298 ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count);298 ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); 299 299 ndr->depth++; 300 300 for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { … … 1157 1157 ndr->depth++; 1158 1158 if (r->ids) { 1159 ndr->print(ndr, "%s: ARRAY(%d)", "ids", r->count);1159 ndr->print(ndr, "%s: ARRAY(%d)", "ids", (int)r->count); 1160 1160 ndr->depth++; 1161 1161 for (cntr_ids_1=0;cntr_ids_1<r->count;cntr_ids_1++) { … … 1554 1554 ndr->depth++; 1555 1555 if (r->rids) { 1556 ndr->print(ndr, "%s: ARRAY(%d)", "rids", r->count);1556 ndr->print(ndr, "%s: ARRAY(%d)", "rids", (int)r->count); 1557 1557 ndr->depth++; 1558 1558 for (cntr_rids_1=0;cntr_rids_1<r->count;cntr_rids_1++) { … … 1569 1569 ndr->depth++; 1570 1570 if (r->types) { 1571 ndr->print(ndr, "%s: ARRAY(%d)", "types", r->count);1571 ndr->print(ndr, "%s: ARRAY(%d)", "types", (int)r->count); 1572 1572 ndr->depth++; 1573 1573 for (cntr_types_1=0;cntr_types_1<r->count;cntr_types_1++) { … … 3704 3704 ndr->depth++; 3705 3705 if (r->rids) { 3706 ndr->print(ndr, "%s: ARRAY(%d)", "rids", r->count);3706 ndr->print(ndr, "%s: ARRAY(%d)", "rids", (int)r->count); 3707 3707 ndr->depth++; 3708 3708 for (cntr_rids_1=0;cntr_rids_1<r->count;cntr_rids_1++) { … … 3841 3841 ndr->depth++; 3842 3842 if (r->entries) { 3843 ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count);3843 ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); 3844 3844 ndr->depth++; 3845 3845 for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { … … 3973 3973 ndr->depth++; 3974 3974 if (r->entries) { 3975 ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count);3975 ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); 3976 3976 ndr->depth++; 3977 3977 for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { … … 4105 4105 ndr->depth++; 4106 4106 if (r->entries) { 4107 ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count);4107 ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); 4108 4108 ndr->depth++; 4109 4109 for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { … … 4226 4226 ndr->depth++; 4227 4227 if (r->entries) { 4228 ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count);4228 ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); 4229 4229 ndr->depth++; 4230 4230 for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { … … 4828 4828 ndr->depth++; 4829 4829 if (r->pwd_history) { 4830 ndr->print(ndr, "%s: ARRAY(%d)", "pwd_history", r->pwd_history_len);4830 ndr->print(ndr, "%s: ARRAY(%d)", "pwd_history", (int)r->pwd_history_len); 4831 4831 ndr->depth++; 4832 4832 for (cntr_pwd_history_1=0;cntr_pwd_history_1<r->pwd_history_len;cntr_pwd_history_1++) { … … 7199 7199 ndr->depth--; 7200 7200 ndr_print_uint32(ndr, "num_names", r->in.num_names); 7201 ndr->print(ndr, "%s: ARRAY(%d)", "names", r->in.num_names);7201 ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->in.num_names); 7202 7202 ndr->depth++; 7203 7203 for (cntr_names_0=0;cntr_names_0<r->in.num_names;cntr_names_0++) { … … 7338 7338 ndr->depth--; 7339 7339 ndr_print_uint32(ndr, "num_rids", r->in.num_rids); 7340 ndr->print(ndr, "%s: ARRAY(%d)", "rids", r->in.num_rids);7340 ndr->print(ndr, "%s: ARRAY(%d)", "rids", (int)r->in.num_rids); 7341 7341 ndr->depth++; 7342 7342 for (cntr_rids_0=0;cntr_rids_0<r->in.num_rids;cntr_rids_0++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_security.c
r133 r204 549 549 ndr_print_uint16(ndr, "size", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?ndr_size_security_acl(r, ndr->flags):r->size); 550 550 ndr_print_uint32(ndr, "num_aces", r->num_aces); 551 ndr->print(ndr, "%s: ARRAY(%d)", "aces", r->num_aces);551 ndr->print(ndr, "%s: ARRAY(%d)", "aces", (int)r->num_aces); 552 552 ndr->depth++; 553 553 for (cntr_aces_0=0;cntr_aces_0<r->num_aces;cntr_aces_0++) { … … 977 977 ndr->depth--; 978 978 ndr_print_uint32(ndr, "num_sids", r->num_sids); 979 ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->num_sids);979 ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->num_sids); 980 980 ndr->depth++; 981 981 for (cntr_sids_0=0;cntr_sids_0<r->num_sids;cntr_sids_0++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_srvsvc.c
r133 r204 137 137 ndr->depth++; 138 138 if (r->array) { 139 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);139 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 140 140 ndr->depth++; 141 141 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 322 322 ndr->depth++; 323 323 if (r->array) { 324 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);324 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 325 325 ndr->depth++; 326 326 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 744 744 ndr->depth++; 745 745 if (r->array) { 746 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);746 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 747 747 ndr->depth++; 748 748 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 932 932 ndr->depth++; 933 933 if (r->array) { 934 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);934 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 935 935 ndr->depth++; 936 936 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 1318 1318 ndr->depth++; 1319 1319 if (r->array) { 1320 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);1320 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 1321 1321 ndr->depth++; 1322 1322 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 1512 1512 ndr->depth++; 1513 1513 if (r->array) { 1514 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);1514 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 1515 1515 ndr->depth++; 1516 1516 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 1798 1798 ndr->depth++; 1799 1799 if (r->array) { 1800 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);1800 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 1801 1801 ndr->depth++; 1802 1802 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 1986 1986 ndr->depth++; 1987 1987 if (r->array) { 1988 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);1988 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 1989 1989 ndr->depth++; 1990 1990 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 2446 2446 ndr->depth++; 2447 2447 if (r->array) { 2448 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);2448 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 2449 2449 ndr->depth++; 2450 2450 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 2637 2637 ndr->depth++; 2638 2638 if (r->array) { 2639 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);2639 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 2640 2640 ndr->depth++; 2641 2641 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 2861 2861 ndr->depth++; 2862 2862 if (r->array) { 2863 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);2863 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 2864 2864 ndr->depth++; 2865 2865 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 3046 3046 ndr->depth++; 3047 3047 if (r->array) { 3048 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);3048 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 3049 3049 ndr->depth++; 3050 3050 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 3303 3303 ndr->depth++; 3304 3304 if (r->array) { 3305 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);3305 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 3306 3306 ndr->depth++; 3307 3307 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 3792 3792 ndr->depth++; 3793 3793 if (r->array) { 3794 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);3794 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 3795 3795 ndr->depth++; 3796 3796 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 3974 3974 ndr->depth++; 3975 3975 if (r->array) { 3976 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);3976 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 3977 3977 ndr->depth++; 3978 3978 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 4231 4231 ndr->depth++; 4232 4232 if (r->array) { 4233 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);4233 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 4234 4234 ndr->depth++; 4235 4235 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 4416 4416 ndr->depth++; 4417 4417 if (r->array) { 4418 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);4418 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 4419 4419 ndr->depth++; 4420 4420 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 4678 4678 ndr->depth++; 4679 4679 if (r->array) { 4680 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);4680 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 4681 4681 ndr->depth++; 4682 4682 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 4824 4824 ndr->depth++; 4825 4825 if (r->array) { 4826 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);4826 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 4827 4827 ndr->depth++; 4828 4828 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 4957 4957 ndr->depth++; 4958 4958 if (r->array) { 4959 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);4959 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 4960 4960 ndr->depth++; 4961 4961 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 5067 5067 ndr->depth++; 5068 5068 if (r->array) { 5069 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);5069 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 5070 5070 ndr->depth++; 5071 5071 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 5216 5216 ndr->depth++; 5217 5217 if (r->array) { 5218 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);5218 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 5219 5219 ndr->depth++; 5220 5220 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 5302 5302 ndr->depth++; 5303 5303 if (r->array) { 5304 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);5304 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 5305 5305 ndr->depth++; 5306 5306 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 11581 11581 ndr->depth++; 11582 11582 if (r->disks) { 11583 ndr->print(ndr, "%s: ARRAY(%d)", "disks", r->count);11583 ndr->print(ndr, "%s: ARRAY(%d)", "disks", (int)r->count); 11584 11584 ndr->depth++; 11585 11585 for (cntr_disks_1=0;cntr_disks_1<r->count;cntr_disks_1++) { … … 11874 11874 ndr->depth++; 11875 11875 if (r->array) { 11876 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);11876 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 11877 11877 ndr->depth++; 11878 11878 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 12122 12122 ndr->depth++; 12123 12123 if (r->array) { 12124 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);12124 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 12125 12125 ndr->depth++; 12126 12126 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 12373 12373 ndr->depth++; 12374 12374 if (r->array) { 12375 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);12375 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 12376 12376 ndr->depth++; 12377 12377 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 12630 12630 ndr->depth++; 12631 12631 if (r->array) { 12632 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);12632 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 12633 12633 ndr->depth++; 12634 12634 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_winreg.c
r133 r204 3808 3808 ndr_print_ptr(ndr, "values", r->in.values); 3809 3809 ndr->depth++; 3810 ndr->print(ndr, "%s: ARRAY(%d)", "values", r->in.num_values);3810 ndr->print(ndr, "%s: ARRAY(%d)", "values", (int)r->in.num_values); 3811 3811 ndr->depth++; 3812 3812 for (cntr_values_1=0;cntr_values_1<r->in.num_values;cntr_values_1++) { … … 3837 3837 ndr_print_ptr(ndr, "values", r->out.values); 3838 3838 ndr->depth++; 3839 ndr->print(ndr, "%s: ARRAY(%d)", "values", r->in.num_values);3839 ndr->print(ndr, "%s: ARRAY(%d)", "values", (int)r->in.num_values); 3840 3840 ndr->depth++; 3841 3841 for (cntr_values_1=0;cntr_values_1<r->in.num_values;cntr_values_1++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_wkssvc.c
r133 r204 3068 3068 ndr->depth++; 3069 3069 if (r->user0) { 3070 ndr->print(ndr, "%s: ARRAY(%d)", "user0", r->entries_read);3070 ndr->print(ndr, "%s: ARRAY(%d)", "user0", (int)r->entries_read); 3071 3071 ndr->depth++; 3072 3072 for (cntr_user0_1=0;cntr_user0_1<r->entries_read;cntr_user0_1++) { … … 3313 3313 ndr->depth++; 3314 3314 if (r->user1) { 3315 ndr->print(ndr, "%s: ARRAY(%d)", "user1", r->entries_read);3315 ndr->print(ndr, "%s: ARRAY(%d)", "user1", (int)r->entries_read); 3316 3316 ndr->depth++; 3317 3317 for (cntr_user1_1=0;cntr_user1_1<r->entries_read;cntr_user1_1++) { … … 3904 3904 ndr->depth++; 3905 3905 if (r->array) { 3906 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);3906 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 3907 3907 ndr->depth++; 3908 3908 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 4861 4861 ndr->depth++; 4862 4862 if (r->array) { 4863 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);4863 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 4864 4864 ndr->depth++; 4865 4865 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 4947 4947 ndr->depth++; 4948 4948 if (r->array) { 4949 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);4949 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 4950 4950 ndr->depth++; 4951 4951 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 5033 5033 ndr->depth++; 5034 5034 if (r->array) { 5035 ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count);5035 ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); 5036 5036 ndr->depth++; 5037 5037 for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { … … 5657 5657 ndr->depth++; 5658 5658 if (r->computer_name) { 5659 ndr->print(ndr, "%s: ARRAY(%d)", "computer_name", r->count);5659 ndr->print(ndr, "%s: ARRAY(%d)", "computer_name", (int)r->count); 5660 5660 ndr->depth++; 5661 5661 for (cntr_computer_name_1=0;cntr_computer_name_1<r->count;cntr_computer_name_1++) { … … 8826 8826 ndr->depth++; 8827 8827 if (*r->out.ous) { 8828 ndr->print(ndr, "%s: ARRAY(%d)", "ous", *r->out.num_ous);8828 ndr->print(ndr, "%s: ARRAY(%d)", "ous", (int)*r->out.num_ous); 8829 8829 ndr->depth++; 8830 8830 for (cntr_ous_2=0;cntr_ous_2<*r->out.num_ous;cntr_ous_2++) { … … 9746 9746 ndr->depth++; 9747 9747 if (*r->out.ous) { 9748 ndr->print(ndr, "%s: ARRAY(%d)", "ous", *r->out.num_ous);9748 ndr->print(ndr, "%s: ARRAY(%d)", "ous", (int)*r->out.num_ous); 9749 9749 ndr->depth++; 9750 9750 for (cntr_ous_2=0;cntr_ous_2<*r->out.num_ous;cntr_ous_2++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/ndr_xattr.c
r133 r204 88 88 ndr->depth++; 89 89 ndr_print_uint32(ndr, "num_xattrs", r->num_xattrs); 90 ndr->print(ndr, "%s: ARRAY(%d)", "xattrs", r->num_xattrs);90 ndr->print(ndr, "%s: ARRAY(%d)", "xattrs", (int)r->num_xattrs); 91 91 ndr->depth++; 92 92 for (cntr_xattrs_0=0;cntr_xattrs_0<r->num_xattrs;cntr_xattrs_0++) { -
branches/samba-3.2.x/source/librpc/gen_ndr/netlogon.h
r136 r204 1356 1356 enum netr_SchannelType secure_channel_type; 1357 1357 const char *computer_name;/* [charset(UTF16)] */ 1358 struct netr_Authenticator credential;1359 struct netr_CryptPassword new_password;1358 struct netr_Authenticator *credential;/* [ref] */ 1359 struct netr_CryptPassword *new_password;/* [ref] */ 1360 1360 } in; 1361 1361 -
branches/samba-3.2.x/source/librpc/idl/krb5pac.idl
r133 r204 71 71 [case(PAC_TYPE_KDC_CHECKSUM)] PAC_SIGNATURE_DATA kdc_cksum; 72 72 [case(PAC_TYPE_LOGON_NAME)] PAC_LOGON_NAME logon_name; 73 [ case(PAC_TYPE_UNKNOWN_12)][subcontext(0)] DATA_BLOB_REM unknown;73 [default] [subcontext(0)] DATA_BLOB_REM unknown; 74 74 /* [case(PAC_TYPE_UNKNOWN_12)] PAC_UNKNOWN_12 unknown; */ 75 75 } PAC_INFO; -
branches/samba-3.2.x/source/librpc/idl/netlogon.idl
r136 r204 1183 1183 [in] netr_SchannelType secure_channel_type, 1184 1184 [in] [string,charset(UTF16)] uint16 computer_name[], 1185 [in ] netr_Authenticatorcredential,1186 [ in] netr_CryptPassword new_password,1187 [ out,ref] netr_Authenticator *return_authenticator1185 [in,ref] netr_Authenticator *credential, 1186 [out,ref] netr_Authenticator *return_authenticator, 1187 [in,ref] netr_CryptPassword *new_password 1188 1188 ); 1189 1189
Note:
See TracChangeset
for help on using the changeset viewer.