Changeset 745 for trunk/server/source3/librpc/gen_ndr/ndr_wbint.c
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
source3/librpc/gen_ndr/ndr_wbint.c (modified) (57 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source3/librpc/gen_ndr/ndr_wbint.c
r620 r745 6 6 #include "librpc/gen_ndr/ndr_lsa.h" 7 7 #include "librpc/gen_ndr/ndr_netlogon.h" 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 8 111 _PUBLIC_ enum ndr_err_code ndr_push_wbint_userinfo(struct ndr_push *ndr, int ndr_flags, const struct wbint_userinfo *r) 9 112 { … … 145 248 { 146 249 ndr_print_struct(ndr, name, "wbint_userinfo"); 250 147 251 ndr->depth++; 148 252 ndr_print_ptr(ndr, "acct_name", r->acct_name); … … 222 326 uint32_t cntr_sids_0; 223 327 ndr_print_struct(ndr, name, "wbint_SidArray"); 328 224 329 ndr->depth++; 225 330 ndr_print_uint32(ndr, "num_sids", r->num_sids); … … 227 332 ndr->depth++; 228 333 for (cntr_sids_0=0;cntr_sids_0<r->num_sids;cntr_sids_0++) { 229 char *idx_0=NULL; 230 if (asprintf(&idx_0, "[%d]", cntr_sids_0) != -1) { 231 ndr_print_dom_sid(ndr, "sids", &r->sids[cntr_sids_0]); 232 free(idx_0); 233 } 334 ndr_print_dom_sid(ndr, "sids", &r->sids[cntr_sids_0]); 234 335 } 235 336 ndr->depth--; … … 283 384 uint32_t cntr_rids_0; 284 385 ndr_print_struct(ndr, name, "wbint_RidArray"); 386 285 387 ndr->depth++; 286 388 ndr_print_uint32(ndr, "num_rids", r->num_rids); … … 288 390 ndr->depth++; 289 391 for (cntr_rids_0=0;cntr_rids_0<r->num_rids;cntr_rids_0++) { 290 char *idx_0=NULL; 291 if (asprintf(&idx_0, "[%d]", cntr_rids_0) != -1) { 292 ndr_print_uint32(ndr, "rids", r->rids[cntr_rids_0]); 293 free(idx_0); 294 } 392 ndr_print_uint32(ndr, "rids", r->rids[cntr_rids_0]); 295 393 } 296 394 ndr->depth--; … … 354 452 { 355 453 ndr_print_struct(ndr, name, "wbint_Principal"); 454 356 455 ndr->depth++; 357 456 ndr_print_dom_sid(ndr, "sid", &r->sid); … … 421 520 uint32_t cntr_principals_0; 422 521 ndr_print_struct(ndr, name, "wbint_Principals"); 522 423 523 ndr->depth++; 424 524 ndr_print_int32(ndr, "num_principals", r->num_principals); … … 426 526 ndr->depth++; 427 527 for (cntr_principals_0=0;cntr_principals_0<r->num_principals;cntr_principals_0++) { 428 char *idx_0=NULL; 429 if (asprintf(&idx_0, "[%d]", cntr_principals_0) != -1) { 430 ndr_print_wbint_Principal(ndr, "principals", &r->principals[cntr_principals_0]); 431 free(idx_0); 432 } 528 ndr_print_wbint_Principal(ndr, "principals", &r->principals[cntr_principals_0]); 433 529 } 434 530 ndr->depth--; … … 491 587 uint32_t cntr_userinfos_0; 492 588 ndr_print_struct(ndr, name, "wbint_userinfos"); 589 493 590 ndr->depth++; 494 591 ndr_print_uint32(ndr, "num_userinfos", r->num_userinfos); … … 496 593 ndr->depth++; 497 594 for (cntr_userinfos_0=0;cntr_userinfos_0<r->num_userinfos;cntr_userinfos_0++) { 498 char *idx_0=NULL; 499 if (asprintf(&idx_0, "[%d]", cntr_userinfos_0) != -1) { 500 ndr_print_wbint_userinfo(ndr, "userinfos", &r->userinfos[cntr_userinfos_0]); 501 free(idx_0); 502 } 503 } 504 ndr->depth--; 505 ndr->depth--; 506 } 507 508 _PUBLIC_ enum ndr_err_code ndr_push_wbint_IdType(struct ndr_push *ndr, int ndr_flags, enum wbint_IdType r) 509 { 510 NDR_CHECK(ndr_push_enum_uint1632(ndr, NDR_SCALARS, r)); 511 return NDR_ERR_SUCCESS; 512 } 513 514 _PUBLIC_ enum ndr_err_code ndr_pull_wbint_IdType(struct ndr_pull *ndr, int ndr_flags, enum wbint_IdType *r) 515 { 516 uint16_t v; 517 NDR_CHECK(ndr_pull_enum_uint1632(ndr, NDR_SCALARS, &v)); 518 *r = v; 519 return NDR_ERR_SUCCESS; 520 } 521 522 _PUBLIC_ void ndr_print_wbint_IdType(struct ndr_print *ndr, const char *name, enum wbint_IdType r) 523 { 524 const char *val = NULL; 525 526 switch (r) { 527 case WBINT_ID_TYPE_NOT_SPECIFIED: val = "WBINT_ID_TYPE_NOT_SPECIFIED"; break; 528 case WBINT_ID_TYPE_UID: val = "WBINT_ID_TYPE_UID"; break; 529 case WBINT_ID_TYPE_GID: val = "WBINT_ID_TYPE_GID"; break; 530 } 531 ndr_print_enum(ndr, name, "ENUM", val, r); 595 ndr_print_wbint_userinfo(ndr, "userinfos", &r->userinfos[cntr_userinfos_0]); 596 } 597 ndr->depth--; 598 ndr->depth--; 532 599 } 533 600 … … 571 638 { 572 639 ndr_print_struct(ndr, name, "wbint_Ping"); 640 573 641 ndr->depth++; 574 642 if (flags & NDR_SET_VALUES) { … … 722 790 { 723 791 ndr_print_struct(ndr, name, "wbint_LookupSid"); 792 724 793 ndr->depth++; 725 794 if (flags & NDR_SET_VALUES) { … … 759 828 } 760 829 ndr->depth--; 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 761 926 ndr->depth--; 762 927 ndr_print_NTSTATUS(ndr, "result", r->out.result); … … 849 1014 { 850 1015 ndr_print_struct(ndr, name, "wbint_LookupName"); 1016 851 1017 ndr->depth++; 852 1018 if (flags & NDR_SET_VALUES) { … … 962 1128 { 963 1129 ndr_print_struct(ndr, name, "wbint_Sid2Uid"); 1130 964 1131 ndr->depth++; 965 1132 if (flags & NDR_SET_VALUES) { … … 1072 1239 { 1073 1240 ndr_print_struct(ndr, name, "wbint_Sid2Gid"); 1241 1074 1242 ndr->depth++; 1075 1243 if (flags & NDR_SET_VALUES) { … … 1097 1265 ndr->depth++; 1098 1266 ndr_print_hyper(ndr, "gid", *r->out.gid); 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1099 1360 ndr->depth--; 1100 1361 ndr_print_NTSTATUS(ndr, "result", r->out.result); … … 1172 1433 { 1173 1434 ndr_print_struct(ndr, name, "wbint_Uid2Sid"); 1435 1174 1436 ndr->depth++; 1175 1437 if (flags & NDR_SET_VALUES) { … … 1269 1531 { 1270 1532 ndr_print_struct(ndr, name, "wbint_Gid2Sid"); 1533 1271 1534 ndr->depth++; 1272 1535 if (flags & NDR_SET_VALUES) { … … 1337 1600 { 1338 1601 ndr_print_struct(ndr, name, "wbint_AllocateUid"); 1602 1339 1603 ndr->depth++; 1340 1604 if (flags & NDR_SET_VALUES) { … … 1398 1662 { 1399 1663 ndr_print_struct(ndr, name, "wbint_AllocateGid"); 1664 1400 1665 ndr->depth++; 1401 1666 if (flags & NDR_SET_VALUES) { … … 1471 1736 { 1472 1737 ndr_print_struct(ndr, name, "wbint_QueryUser"); 1738 1473 1739 ndr->depth++; 1474 1740 if (flags & NDR_SET_VALUES) { … … 1548 1814 { 1549 1815 ndr_print_struct(ndr, name, "wbint_LookupUserAliases"); 1816 1550 1817 ndr->depth++; 1551 1818 if (flags & NDR_SET_VALUES) { … … 1625 1892 { 1626 1893 ndr_print_struct(ndr, name, "wbint_LookupUserGroups"); 1894 1627 1895 ndr->depth++; 1628 1896 if (flags & NDR_SET_VALUES) { … … 1690 1958 { 1691 1959 ndr_print_struct(ndr, name, "wbint_QuerySequenceNumber"); 1960 1692 1961 ndr->depth++; 1693 1962 if (flags & NDR_SET_VALUES) { … … 1765 2034 { 1766 2035 ndr_print_struct(ndr, name, "wbint_LookupGroupMembers"); 2036 1767 2037 ndr->depth++; 1768 2038 if (flags & NDR_SET_VALUES) { … … 1831 2101 { 1832 2102 ndr_print_struct(ndr, name, "wbint_QueryUserList"); 2103 1833 2104 ndr->depth++; 1834 2105 if (flags & NDR_SET_VALUES) { … … 1892 2163 { 1893 2164 ndr_print_struct(ndr, name, "wbint_QueryGroupList"); 2165 1894 2166 ndr->depth++; 1895 2167 if (flags & NDR_SET_VALUES) { … … 2030 2302 { 2031 2303 ndr_print_struct(ndr, name, "wbint_DsGetDcName"); 2304 2032 2305 ndr->depth++; 2033 2306 if (flags & NDR_SET_VALUES) { … … 2176 2449 { 2177 2450 ndr_print_struct(ndr, name, "wbint_LookupRids"); 2451 2178 2452 ndr->depth++; 2179 2453 if (flags & NDR_SET_VALUES) { … … 2238 2512 { 2239 2513 ndr_print_struct(ndr, name, "wbint_CheckMachineAccount"); 2514 2240 2515 ndr->depth++; 2241 2516 if (flags & NDR_SET_VALUES) { … … 2279 2554 { 2280 2555 ndr_print_struct(ndr, name, "wbint_ChangeMachineAccount"); 2556 2281 2557 ndr->depth++; 2282 2558 if (flags & NDR_SET_VALUES) { … … 2320 2596 { 2321 2597 ndr_print_struct(ndr, name, "wbint_PingDc"); 2598 2322 2599 ndr->depth++; 2323 2600 if (flags & NDR_SET_VALUES) { … … 2331 2608 if (flags & NDR_OUT) { 2332 2609 ndr_print_struct(ndr, "out", "wbint_PingDc"); 2333 ndr->depth++;2334 ndr_print_NTSTATUS(ndr, "result", r->out.result);2335 ndr->depth--;2336 }2337 ndr->depth--;2338 }2339 2340 static enum ndr_err_code ndr_push_wbint_SetMapping(struct ndr_push *ndr, int flags, const struct wbint_SetMapping *r)2341 {2342 if (flags & NDR_IN) {2343 if (r->in.sid == NULL) {2344 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");2345 }2346 NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.sid));2347 NDR_CHECK(ndr_push_wbint_IdType(ndr, NDR_SCALARS, r->in.type));2348 NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.id));2349 }2350 if (flags & NDR_OUT) {2351 NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));2352 }2353 return NDR_ERR_SUCCESS;2354 }2355 2356 static enum ndr_err_code ndr_pull_wbint_SetMapping(struct ndr_pull *ndr, int flags, struct wbint_SetMapping *r)2357 {2358 TALLOC_CTX *_mem_save_sid_0;2359 if (flags & NDR_IN) {2360 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {2361 NDR_PULL_ALLOC(ndr, r->in.sid);2362 }2363 _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);2364 NDR_PULL_SET_MEM_CTX(ndr, r->in.sid, LIBNDR_FLAG_REF_ALLOC);2365 NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.sid));2366 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);2367 NDR_CHECK(ndr_pull_wbint_IdType(ndr, NDR_SCALARS, &r->in.type));2368 NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.id));2369 }2370 if (flags & NDR_OUT) {2371 NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));2372 }2373 return NDR_ERR_SUCCESS;2374 }2375 2376 _PUBLIC_ void ndr_print_wbint_SetMapping(struct ndr_print *ndr, const char *name, int flags, const struct wbint_SetMapping *r)2377 {2378 ndr_print_struct(ndr, name, "wbint_SetMapping");2379 ndr->depth++;2380 if (flags & NDR_SET_VALUES) {2381 ndr->flags |= LIBNDR_PRINT_SET_VALUES;2382 }2383 if (flags & NDR_IN) {2384 ndr_print_struct(ndr, "in", "wbint_SetMapping");2385 ndr->depth++;2386 ndr_print_ptr(ndr, "sid", r->in.sid);2387 ndr->depth++;2388 ndr_print_dom_sid(ndr, "sid", r->in.sid);2389 ndr->depth--;2390 ndr_print_wbint_IdType(ndr, "type", r->in.type);2391 ndr_print_hyper(ndr, "id", r->in.id);2392 ndr->depth--;2393 }2394 if (flags & NDR_OUT) {2395 ndr_print_struct(ndr, "out", "wbint_SetMapping");2396 ndr->depth++;2397 ndr_print_NTSTATUS(ndr, "result", r->out.result);2398 ndr->depth--;2399 }2400 ndr->depth--;2401 }2402 2403 static enum ndr_err_code ndr_push_wbint_RemoveMapping(struct ndr_push *ndr, int flags, const struct wbint_RemoveMapping *r)2404 {2405 if (flags & NDR_IN) {2406 if (r->in.sid == NULL) {2407 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");2408 }2409 NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.sid));2410 NDR_CHECK(ndr_push_wbint_IdType(ndr, NDR_SCALARS, r->in.type));2411 NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.id));2412 }2413 if (flags & NDR_OUT) {2414 NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));2415 }2416 return NDR_ERR_SUCCESS;2417 }2418 2419 static enum ndr_err_code ndr_pull_wbint_RemoveMapping(struct ndr_pull *ndr, int flags, struct wbint_RemoveMapping *r)2420 {2421 TALLOC_CTX *_mem_save_sid_0;2422 if (flags & NDR_IN) {2423 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {2424 NDR_PULL_ALLOC(ndr, r->in.sid);2425 }2426 _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);2427 NDR_PULL_SET_MEM_CTX(ndr, r->in.sid, LIBNDR_FLAG_REF_ALLOC);2428 NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.sid));2429 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);2430 NDR_CHECK(ndr_pull_wbint_IdType(ndr, NDR_SCALARS, &r->in.type));2431 NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.id));2432 }2433 if (flags & NDR_OUT) {2434 NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));2435 }2436 return NDR_ERR_SUCCESS;2437 }2438 2439 _PUBLIC_ void ndr_print_wbint_RemoveMapping(struct ndr_print *ndr, const char *name, int flags, const struct wbint_RemoveMapping *r)2440 {2441 ndr_print_struct(ndr, name, "wbint_RemoveMapping");2442 ndr->depth++;2443 if (flags & NDR_SET_VALUES) {2444 ndr->flags |= LIBNDR_PRINT_SET_VALUES;2445 }2446 if (flags & NDR_IN) {2447 ndr_print_struct(ndr, "in", "wbint_RemoveMapping");2448 ndr->depth++;2449 ndr_print_ptr(ndr, "sid", r->in.sid);2450 ndr->depth++;2451 ndr_print_dom_sid(ndr, "sid", r->in.sid);2452 ndr->depth--;2453 ndr_print_wbint_IdType(ndr, "type", r->in.type);2454 ndr_print_hyper(ndr, "id", r->in.id);2455 ndr->depth--;2456 }2457 if (flags & NDR_OUT) {2458 ndr_print_struct(ndr, "out", "wbint_RemoveMapping");2459 ndr->depth++;2460 ndr_print_NTSTATUS(ndr, "result", r->out.result);2461 ndr->depth--;2462 }2463 ndr->depth--;2464 }2465 2466 static enum ndr_err_code ndr_push_wbint_SetHWM(struct ndr_push *ndr, int flags, const struct wbint_SetHWM *r)2467 {2468 if (flags & NDR_IN) {2469 NDR_CHECK(ndr_push_wbint_IdType(ndr, NDR_SCALARS, r->in.type));2470 NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.id));2471 }2472 if (flags & NDR_OUT) {2473 NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));2474 }2475 return NDR_ERR_SUCCESS;2476 }2477 2478 static enum ndr_err_code ndr_pull_wbint_SetHWM(struct ndr_pull *ndr, int flags, struct wbint_SetHWM *r)2479 {2480 if (flags & NDR_IN) {2481 NDR_CHECK(ndr_pull_wbint_IdType(ndr, NDR_SCALARS, &r->in.type));2482 NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.id));2483 }2484 if (flags & NDR_OUT) {2485 NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));2486 }2487 return NDR_ERR_SUCCESS;2488 }2489 2490 _PUBLIC_ void ndr_print_wbint_SetHWM(struct ndr_print *ndr, const char *name, int flags, const struct wbint_SetHWM *r)2491 {2492 ndr_print_struct(ndr, name, "wbint_SetHWM");2493 ndr->depth++;2494 if (flags & NDR_SET_VALUES) {2495 ndr->flags |= LIBNDR_PRINT_SET_VALUES;2496 }2497 if (flags & NDR_IN) {2498 ndr_print_struct(ndr, "in", "wbint_SetHWM");2499 ndr->depth++;2500 ndr_print_wbint_IdType(ndr, "type", r->in.type);2501 ndr_print_hyper(ndr, "id", r->in.id);2502 ndr->depth--;2503 }2504 if (flags & NDR_OUT) {2505 ndr_print_struct(ndr, "out", "wbint_SetHWM");2506 2610 ndr->depth++; 2507 2611 ndr_print_NTSTATUS(ndr, "result", r->out.result); … … 2518 2622 (ndr_pull_flags_fn_t) ndr_pull_wbint_Ping, 2519 2623 (ndr_print_function_t) ndr_print_wbint_Ping, 2520 false, 2624 { 0, NULL }, 2625 { 0, NULL }, 2521 2626 }, 2522 2627 { … … 2526 2631 (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupSid, 2527 2632 (ndr_print_function_t) ndr_print_wbint_LookupSid, 2528 false, 2633 { 0, NULL }, 2634 { 0, NULL }, 2635 }, 2636 { 2637 "wbint_LookupSids", 2638 sizeof(struct wbint_LookupSids), 2639 (ndr_push_flags_fn_t) ndr_push_wbint_LookupSids, 2640 (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupSids, 2641 (ndr_print_function_t) ndr_print_wbint_LookupSids, 2642 { 0, NULL }, 2643 { 0, NULL }, 2529 2644 }, 2530 2645 { … … 2534 2649 (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupName, 2535 2650 (ndr_print_function_t) ndr_print_wbint_LookupName, 2536 false, 2651 { 0, NULL }, 2652 { 0, NULL }, 2537 2653 }, 2538 2654 { … … 2542 2658 (ndr_pull_flags_fn_t) ndr_pull_wbint_Sid2Uid, 2543 2659 (ndr_print_function_t) ndr_print_wbint_Sid2Uid, 2544 false, 2660 { 0, NULL }, 2661 { 0, NULL }, 2545 2662 }, 2546 2663 { … … 2550 2667 (ndr_pull_flags_fn_t) ndr_pull_wbint_Sid2Gid, 2551 2668 (ndr_print_function_t) ndr_print_wbint_Sid2Gid, 2552 false, 2669 { 0, NULL }, 2670 { 0, NULL }, 2671 }, 2672 { 2673 "wbint_Sids2UnixIDs", 2674 sizeof(struct wbint_Sids2UnixIDs), 2675 (ndr_push_flags_fn_t) ndr_push_wbint_Sids2UnixIDs, 2676 (ndr_pull_flags_fn_t) ndr_pull_wbint_Sids2UnixIDs, 2677 (ndr_print_function_t) ndr_print_wbint_Sids2UnixIDs, 2678 { 0, NULL }, 2679 { 0, NULL }, 2553 2680 }, 2554 2681 { … … 2558 2685 (ndr_pull_flags_fn_t) ndr_pull_wbint_Uid2Sid, 2559 2686 (ndr_print_function_t) ndr_print_wbint_Uid2Sid, 2560 false, 2687 { 0, NULL }, 2688 { 0, NULL }, 2561 2689 }, 2562 2690 { … … 2566 2694 (ndr_pull_flags_fn_t) ndr_pull_wbint_Gid2Sid, 2567 2695 (ndr_print_function_t) ndr_print_wbint_Gid2Sid, 2568 false, 2696 { 0, NULL }, 2697 { 0, NULL }, 2569 2698 }, 2570 2699 { … … 2574 2703 (ndr_pull_flags_fn_t) ndr_pull_wbint_AllocateUid, 2575 2704 (ndr_print_function_t) ndr_print_wbint_AllocateUid, 2576 false, 2705 { 0, NULL }, 2706 { 0, NULL }, 2577 2707 }, 2578 2708 { … … 2582 2712 (ndr_pull_flags_fn_t) ndr_pull_wbint_AllocateGid, 2583 2713 (ndr_print_function_t) ndr_print_wbint_AllocateGid, 2584 false, 2714 { 0, NULL }, 2715 { 0, NULL }, 2585 2716 }, 2586 2717 { … … 2590 2721 (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryUser, 2591 2722 (ndr_print_function_t) ndr_print_wbint_QueryUser, 2592 false, 2723 { 0, NULL }, 2724 { 0, NULL }, 2593 2725 }, 2594 2726 { … … 2598 2730 (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupUserAliases, 2599 2731 (ndr_print_function_t) ndr_print_wbint_LookupUserAliases, 2600 false, 2732 { 0, NULL }, 2733 { 0, NULL }, 2601 2734 }, 2602 2735 { … … 2606 2739 (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupUserGroups, 2607 2740 (ndr_print_function_t) ndr_print_wbint_LookupUserGroups, 2608 false, 2741 { 0, NULL }, 2742 { 0, NULL }, 2609 2743 }, 2610 2744 { … … 2614 2748 (ndr_pull_flags_fn_t) ndr_pull_wbint_QuerySequenceNumber, 2615 2749 (ndr_print_function_t) ndr_print_wbint_QuerySequenceNumber, 2616 false, 2750 { 0, NULL }, 2751 { 0, NULL }, 2617 2752 }, 2618 2753 { … … 2622 2757 (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupGroupMembers, 2623 2758 (ndr_print_function_t) ndr_print_wbint_LookupGroupMembers, 2624 false, 2759 { 0, NULL }, 2760 { 0, NULL }, 2625 2761 }, 2626 2762 { … … 2630 2766 (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryUserList, 2631 2767 (ndr_print_function_t) ndr_print_wbint_QueryUserList, 2632 false, 2768 { 0, NULL }, 2769 { 0, NULL }, 2633 2770 }, 2634 2771 { … … 2638 2775 (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryGroupList, 2639 2776 (ndr_print_function_t) ndr_print_wbint_QueryGroupList, 2640 false, 2777 { 0, NULL }, 2778 { 0, NULL }, 2641 2779 }, 2642 2780 { … … 2646 2784 (ndr_pull_flags_fn_t) ndr_pull_wbint_DsGetDcName, 2647 2785 (ndr_print_function_t) ndr_print_wbint_DsGetDcName, 2648 false, 2786 { 0, NULL }, 2787 { 0, NULL }, 2649 2788 }, 2650 2789 { … … 2654 2793 (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupRids, 2655 2794 (ndr_print_function_t) ndr_print_wbint_LookupRids, 2656 false, 2795 { 0, NULL }, 2796 { 0, NULL }, 2657 2797 }, 2658 2798 { … … 2662 2802 (ndr_pull_flags_fn_t) ndr_pull_wbint_CheckMachineAccount, 2663 2803 (ndr_print_function_t) ndr_print_wbint_CheckMachineAccount, 2664 false, 2804 { 0, NULL }, 2805 { 0, NULL }, 2665 2806 }, 2666 2807 { … … 2670 2811 (ndr_pull_flags_fn_t) ndr_pull_wbint_ChangeMachineAccount, 2671 2812 (ndr_print_function_t) ndr_print_wbint_ChangeMachineAccount, 2672 false, 2813 { 0, NULL }, 2814 { 0, NULL }, 2673 2815 }, 2674 2816 { … … 2678 2820 (ndr_pull_flags_fn_t) ndr_pull_wbint_PingDc, 2679 2821 (ndr_print_function_t) ndr_print_wbint_PingDc, 2680 false, 2822 { 0, NULL }, 2823 { 0, NULL }, 2681 2824 }, 2682 { 2683 "wbint_SetMapping", 2684 sizeof(struct wbint_SetMapping), 2685 (ndr_push_flags_fn_t) ndr_push_wbint_SetMapping, 2686 (ndr_pull_flags_fn_t) ndr_pull_wbint_SetMapping, 2687 (ndr_print_function_t) ndr_print_wbint_SetMapping, 2688 false, 2689 }, 2690 { 2691 "wbint_RemoveMapping", 2692 sizeof(struct wbint_RemoveMapping), 2693 (ndr_push_flags_fn_t) ndr_push_wbint_RemoveMapping, 2694 (ndr_pull_flags_fn_t) ndr_pull_wbint_RemoveMapping, 2695 (ndr_print_function_t) ndr_print_wbint_RemoveMapping, 2696 false, 2697 }, 2698 { 2699 "wbint_SetHWM", 2700 sizeof(struct wbint_SetHWM), 2701 (ndr_push_flags_fn_t) ndr_push_wbint_SetHWM, 2702 (ndr_pull_flags_fn_t) ndr_pull_wbint_SetHWM, 2703 (ndr_print_function_t) ndr_print_wbint_SetHWM, 2704 false, 2705 }, 2706 { NULL, 0, NULL, NULL, NULL, false } 2825 { NULL, 0, NULL, NULL, NULL } 2707 2826 }; 2708 2827 … … 2733 2852 }, 2734 2853 .helpstring = NDR_WBINT_HELPSTRING, 2735 .num_calls = 2 4,2854 .num_calls = 2, 2736 2855 .calls = wbint_calls, 2737 2856 .endpoints = &wbint_endpoints,
Note:
See TracChangeset
for help on using the changeset viewer.
