Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/librpc/gen_ndr/ndr_wbint.c

    r620 r745  
    66#include "librpc/gen_ndr/ndr_lsa.h"
    77#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
    8111_PUBLIC_ enum ndr_err_code ndr_push_wbint_userinfo(struct ndr_push *ndr, int ndr_flags, const struct wbint_userinfo *r)
    9112{
     
    145248{
    146249        ndr_print_struct(ndr, name, "wbint_userinfo");
     250
    147251        ndr->depth++;
    148252        ndr_print_ptr(ndr, "acct_name", r->acct_name);
     
    222326        uint32_t cntr_sids_0;
    223327        ndr_print_struct(ndr, name, "wbint_SidArray");
     328
    224329        ndr->depth++;
    225330        ndr_print_uint32(ndr, "num_sids", r->num_sids);
     
    227332        ndr->depth++;
    228333        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]);
    234335        }
    235336        ndr->depth--;
     
    283384        uint32_t cntr_rids_0;
    284385        ndr_print_struct(ndr, name, "wbint_RidArray");
     386
    285387        ndr->depth++;
    286388        ndr_print_uint32(ndr, "num_rids", r->num_rids);
     
    288390        ndr->depth++;
    289391        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]);
    295393        }
    296394        ndr->depth--;
     
    354452{
    355453        ndr_print_struct(ndr, name, "wbint_Principal");
     454
    356455        ndr->depth++;
    357456        ndr_print_dom_sid(ndr, "sid", &r->sid);
     
    421520        uint32_t cntr_principals_0;
    422521        ndr_print_struct(ndr, name, "wbint_Principals");
     522
    423523        ndr->depth++;
    424524        ndr_print_int32(ndr, "num_principals", r->num_principals);
     
    426526        ndr->depth++;
    427527        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]);
    433529        }
    434530        ndr->depth--;
     
    491587        uint32_t cntr_userinfos_0;
    492588        ndr_print_struct(ndr, name, "wbint_userinfos");
     589
    493590        ndr->depth++;
    494591        ndr_print_uint32(ndr, "num_userinfos", r->num_userinfos);
     
    496593        ndr->depth++;
    497594        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--;
    532599}
    533600
     
    571638{
    572639        ndr_print_struct(ndr, name, "wbint_Ping");
     640
    573641        ndr->depth++;
    574642        if (flags & NDR_SET_VALUES) {
     
    722790{
    723791        ndr_print_struct(ndr, name, "wbint_LookupSid");
     792
    724793        ndr->depth++;
    725794        if (flags & NDR_SET_VALUES) {
     
    759828                }
    760829                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
    761926                ndr->depth--;
    762927                ndr_print_NTSTATUS(ndr, "result", r->out.result);
     
    8491014{
    8501015        ndr_print_struct(ndr, name, "wbint_LookupName");
     1016
    8511017        ndr->depth++;
    8521018        if (flags & NDR_SET_VALUES) {
     
    9621128{
    9631129        ndr_print_struct(ndr, name, "wbint_Sid2Uid");
     1130
    9641131        ndr->depth++;
    9651132        if (flags & NDR_SET_VALUES) {
     
    10721239{
    10731240        ndr_print_struct(ndr, name, "wbint_Sid2Gid");
     1241
    10741242        ndr->depth++;
    10751243        if (flags & NDR_SET_VALUES) {
     
    10971265                ndr->depth++;
    10981266                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
    10991360                ndr->depth--;
    11001361                ndr_print_NTSTATUS(ndr, "result", r->out.result);
     
    11721433{
    11731434        ndr_print_struct(ndr, name, "wbint_Uid2Sid");
     1435
    11741436        ndr->depth++;
    11751437        if (flags & NDR_SET_VALUES) {
     
    12691531{
    12701532        ndr_print_struct(ndr, name, "wbint_Gid2Sid");
     1533
    12711534        ndr->depth++;
    12721535        if (flags & NDR_SET_VALUES) {
     
    13371600{
    13381601        ndr_print_struct(ndr, name, "wbint_AllocateUid");
     1602
    13391603        ndr->depth++;
    13401604        if (flags & NDR_SET_VALUES) {
     
    13981662{
    13991663        ndr_print_struct(ndr, name, "wbint_AllocateGid");
     1664
    14001665        ndr->depth++;
    14011666        if (flags & NDR_SET_VALUES) {
     
    14711736{
    14721737        ndr_print_struct(ndr, name, "wbint_QueryUser");
     1738
    14731739        ndr->depth++;
    14741740        if (flags & NDR_SET_VALUES) {
     
    15481814{
    15491815        ndr_print_struct(ndr, name, "wbint_LookupUserAliases");
     1816
    15501817        ndr->depth++;
    15511818        if (flags & NDR_SET_VALUES) {
     
    16251892{
    16261893        ndr_print_struct(ndr, name, "wbint_LookupUserGroups");
     1894
    16271895        ndr->depth++;
    16281896        if (flags & NDR_SET_VALUES) {
     
    16901958{
    16911959        ndr_print_struct(ndr, name, "wbint_QuerySequenceNumber");
     1960
    16921961        ndr->depth++;
    16931962        if (flags & NDR_SET_VALUES) {
     
    17652034{
    17662035        ndr_print_struct(ndr, name, "wbint_LookupGroupMembers");
     2036
    17672037        ndr->depth++;
    17682038        if (flags & NDR_SET_VALUES) {
     
    18312101{
    18322102        ndr_print_struct(ndr, name, "wbint_QueryUserList");
     2103
    18332104        ndr->depth++;
    18342105        if (flags & NDR_SET_VALUES) {
     
    18922163{
    18932164        ndr_print_struct(ndr, name, "wbint_QueryGroupList");
     2165
    18942166        ndr->depth++;
    18952167        if (flags & NDR_SET_VALUES) {
     
    20302302{
    20312303        ndr_print_struct(ndr, name, "wbint_DsGetDcName");
     2304
    20322305        ndr->depth++;
    20332306        if (flags & NDR_SET_VALUES) {
     
    21762449{
    21772450        ndr_print_struct(ndr, name, "wbint_LookupRids");
     2451
    21782452        ndr->depth++;
    21792453        if (flags & NDR_SET_VALUES) {
     
    22382512{
    22392513        ndr_print_struct(ndr, name, "wbint_CheckMachineAccount");
     2514
    22402515        ndr->depth++;
    22412516        if (flags & NDR_SET_VALUES) {
     
    22792554{
    22802555        ndr_print_struct(ndr, name, "wbint_ChangeMachineAccount");
     2556
    22812557        ndr->depth++;
    22822558        if (flags & NDR_SET_VALUES) {
     
    23202596{
    23212597        ndr_print_struct(ndr, name, "wbint_PingDc");
     2598
    23222599        ndr->depth++;
    23232600        if (flags & NDR_SET_VALUES) {
     
    23312608        if (flags & NDR_OUT) {
    23322609                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");
    25062610                ndr->depth++;
    25072611                ndr_print_NTSTATUS(ndr, "result", r->out.result);
     
    25182622                (ndr_pull_flags_fn_t) ndr_pull_wbint_Ping,
    25192623                (ndr_print_function_t) ndr_print_wbint_Ping,
    2520                 false,
     2624                { 0, NULL },
     2625                { 0, NULL },
    25212626        },
    25222627        {
     
    25262631                (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupSid,
    25272632                (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 },
    25292644        },
    25302645        {
     
    25342649                (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupName,
    25352650                (ndr_print_function_t) ndr_print_wbint_LookupName,
    2536                 false,
     2651                { 0, NULL },
     2652                { 0, NULL },
    25372653        },
    25382654        {
     
    25422658                (ndr_pull_flags_fn_t) ndr_pull_wbint_Sid2Uid,
    25432659                (ndr_print_function_t) ndr_print_wbint_Sid2Uid,
    2544                 false,
     2660                { 0, NULL },
     2661                { 0, NULL },
    25452662        },
    25462663        {
     
    25502667                (ndr_pull_flags_fn_t) ndr_pull_wbint_Sid2Gid,
    25512668                (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 },
    25532680        },
    25542681        {
     
    25582685                (ndr_pull_flags_fn_t) ndr_pull_wbint_Uid2Sid,
    25592686                (ndr_print_function_t) ndr_print_wbint_Uid2Sid,
    2560                 false,
     2687                { 0, NULL },
     2688                { 0, NULL },
    25612689        },
    25622690        {
     
    25662694                (ndr_pull_flags_fn_t) ndr_pull_wbint_Gid2Sid,
    25672695                (ndr_print_function_t) ndr_print_wbint_Gid2Sid,
    2568                 false,
     2696                { 0, NULL },
     2697                { 0, NULL },
    25692698        },
    25702699        {
     
    25742703                (ndr_pull_flags_fn_t) ndr_pull_wbint_AllocateUid,
    25752704                (ndr_print_function_t) ndr_print_wbint_AllocateUid,
    2576                 false,
     2705                { 0, NULL },
     2706                { 0, NULL },
    25772707        },
    25782708        {
     
    25822712                (ndr_pull_flags_fn_t) ndr_pull_wbint_AllocateGid,
    25832713                (ndr_print_function_t) ndr_print_wbint_AllocateGid,
    2584                 false,
     2714                { 0, NULL },
     2715                { 0, NULL },
    25852716        },
    25862717        {
     
    25902721                (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryUser,
    25912722                (ndr_print_function_t) ndr_print_wbint_QueryUser,
    2592                 false,
     2723                { 0, NULL },
     2724                { 0, NULL },
    25932725        },
    25942726        {
     
    25982730                (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupUserAliases,
    25992731                (ndr_print_function_t) ndr_print_wbint_LookupUserAliases,
    2600                 false,
     2732                { 0, NULL },
     2733                { 0, NULL },
    26012734        },
    26022735        {
     
    26062739                (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupUserGroups,
    26072740                (ndr_print_function_t) ndr_print_wbint_LookupUserGroups,
    2608                 false,
     2741                { 0, NULL },
     2742                { 0, NULL },
    26092743        },
    26102744        {
     
    26142748                (ndr_pull_flags_fn_t) ndr_pull_wbint_QuerySequenceNumber,
    26152749                (ndr_print_function_t) ndr_print_wbint_QuerySequenceNumber,
    2616                 false,
     2750                { 0, NULL },
     2751                { 0, NULL },
    26172752        },
    26182753        {
     
    26222757                (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupGroupMembers,
    26232758                (ndr_print_function_t) ndr_print_wbint_LookupGroupMembers,
    2624                 false,
     2759                { 0, NULL },
     2760                { 0, NULL },
    26252761        },
    26262762        {
     
    26302766                (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryUserList,
    26312767                (ndr_print_function_t) ndr_print_wbint_QueryUserList,
    2632                 false,
     2768                { 0, NULL },
     2769                { 0, NULL },
    26332770        },
    26342771        {
     
    26382775                (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryGroupList,
    26392776                (ndr_print_function_t) ndr_print_wbint_QueryGroupList,
    2640                 false,
     2777                { 0, NULL },
     2778                { 0, NULL },
    26412779        },
    26422780        {
     
    26462784                (ndr_pull_flags_fn_t) ndr_pull_wbint_DsGetDcName,
    26472785                (ndr_print_function_t) ndr_print_wbint_DsGetDcName,
    2648                 false,
     2786                { 0, NULL },
     2787                { 0, NULL },
    26492788        },
    26502789        {
     
    26542793                (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupRids,
    26552794                (ndr_print_function_t) ndr_print_wbint_LookupRids,
    2656                 false,
     2795                { 0, NULL },
     2796                { 0, NULL },
    26572797        },
    26582798        {
     
    26622802                (ndr_pull_flags_fn_t) ndr_pull_wbint_CheckMachineAccount,
    26632803                (ndr_print_function_t) ndr_print_wbint_CheckMachineAccount,
    2664                 false,
     2804                { 0, NULL },
     2805                { 0, NULL },
    26652806        },
    26662807        {
     
    26702811                (ndr_pull_flags_fn_t) ndr_pull_wbint_ChangeMachineAccount,
    26712812                (ndr_print_function_t) ndr_print_wbint_ChangeMachineAccount,
    2672                 false,
     2813                { 0, NULL },
     2814                { 0, NULL },
    26732815        },
    26742816        {
     
    26782820                (ndr_pull_flags_fn_t) ndr_pull_wbint_PingDc,
    26792821                (ndr_print_function_t) ndr_print_wbint_PingDc,
    2680                 false,
     2822                { 0, NULL },
     2823                { 0, NULL },
    26812824        },
    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 }
    27072826};
    27082827
     
    27332852        },
    27342853        .helpstring     = NDR_WBINT_HELPSTRING,
    2735         .num_calls      = 24,
     2854        .num_calls      = 2,
    27362855        .calls          = wbint_calls,
    27372856        .endpoints      = &wbint_endpoints,
Note: See TracChangeset for help on using the changeset viewer.