Ignore:
Timestamp:
Jul 2, 2011, 3:35:33 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update trunk to 3.5.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/rpc_client/cli_netlogon.c

    r414 r596  
    284284}
    285285
     286
     287
     288
     289
     290
     291
     292
     293
     294
     295
     296
     297
     298
     299
     300
     301
     302
     303
     304
     305
     306
     307
     308
     309
     310
     311
     312
     313
     314
     315
     316
     317
     318
     319
     320
     321
     322
     323
     324
     325
     326
     327
     328
     329
     330
     331
     332
     333
     334
     335
     336
     337
     338
     339
     340
     341
     342
     343
     344
     345
     346
     347
     348
     349
     350
     351
     352
     353
     354
     355
     356
     357
     358
     359
     360
     361
     362
     363
     364
     365
     366
     367
     368
     369
     370
     371
    286372
    287373/**
     
    299385                                           const char *workstation,
    300386                                           const uint8 chal[8],
     387
    301388                                           DATA_BLOB lm_response,
    302389                                           DATA_BLOB nt_response,
     
    304391{
    305392        NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
    306         int validation_level = 3;
    307393        const char *workstation_name_slash;
    308394        const char *server_name_slash;
     
    398484        netlogon_creds_decrypt_samlogon(cli->dc, validation_level, &validation);
    399485
    400         *info3 = validation.sam3;
     486        result = map_validation_to_info3(mem_ctx, validation_level, &validation, info3);
     487        if (!NT_STATUS_IS_OK(result)) {
     488                return result;
     489        }
    401490
    402491        return result;
     
    411500                                              const char *workstation,
    412501                                              const uint8 chal[8],
     502
    413503                                              DATA_BLOB lm_response,
    414504                                              DATA_BLOB nt_response,
     
    416506{
    417507        NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
    418         int validation_level = 3;
    419508        const char *workstation_name_slash;
    420509        const char *server_name_slash;
     
    499588        netlogon_creds_decrypt_samlogon(cli->dc, validation_level, &validation);
    500589
    501         *info3 = validation.sam3;
     590        result = map_validation_to_info3(mem_ctx, validation_level, &validation, info3);
     591        if (!NT_STATUS_IS_OK(result)) {
     592                return result;
     593        }
    502594
    503595        return result;
Note: See TracChangeset for help on using the changeset viewer.