Changeset 920 for trunk/server/libcli
- Timestamp:
- Jun 9, 2016, 2:23:12 PM (10 years ago)
- Location:
- trunk/server
- Files:
-
- 5 edited
-
. (modified) (1 prop)
-
libcli/auth/ntlmssp.h (modified) (1 diff)
-
libcli/auth/proto.h (modified) (1 diff)
-
libcli/auth/smbencrypt.c (modified) (3 diffs)
-
libcli/auth/wscript_build (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 919
- Property svn:mergeinfo changed
-
trunk/server/libcli/auth/ntlmssp.h
r918 r920 84 84 DATA_BLOB session_key; 85 85 86 86 87 uint32_t neg_flags; /* the current state of negotiation with the NTLMSSP partner */ 87 88 -
trunk/server/libcli/auth/proto.h
r918 r920 140 140 DATA_BLOB *lm_response, DATA_BLOB *nt_response, 141 141 DATA_BLOB *lm_session_key, DATA_BLOB *user_session_key) ; 142 143 144 145 146 142 147 143 148 /*********************************************************** -
trunk/server/libcli/auth/smbencrypt.c
r918 r920 27 27 #include "../lib/crypto/crypto.h" 28 28 #include "../libcli/auth/libcli_auth.h" 29 #include "../librpc/gen_ndr/n tlmssp.h"29 #include "../librpc/gen_ndr/ntlmssp.h" 30 30 31 31 void SMBencrypt_hash(const uint8_t lm_hash[16], const uint8_t *c8, uint8_t p24[24]) … … 356 356 357 357 /* Deliberately ignore return here.. */ 358 (void)msrpc_gen(mem_ctx, &names_blob, 359 "aaa", 360 MsvAvNbDomainName, domain, 361 MsvAvNbComputerName, hostname, 362 MsvAvEOL, ""); 358 if (hostname != NULL) { 359 (void)msrpc_gen(mem_ctx, &names_blob, 360 "aaa", 361 MsvAvNbDomainName, domain, 362 MsvAvNbComputerName, hostname, 363 MsvAvEOL, ""); 364 } else { 365 (void)msrpc_gen(mem_ctx, &names_blob, 366 "aa", 367 MsvAvNbDomainName, domain, 368 MsvAvEOL, ""); 369 } 363 370 return names_blob; 364 371 } … … 516 523 } 517 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 518 665 /*********************************************************** 519 666 encode a password buffer with a unicode password. The buffer -
trunk/server/libcli/auth/wscript_build
r918 r920 20 20 bld.SAMBA_SUBSYSTEM('LIBCLI_AUTH', 21 21 source='credentials.c session.c smbencrypt.c smbdes.c', 22 public_deps='MSRPC_PARSE ',22 public_deps='MSRPC_PARSE', 23 23 public_headers='credentials.h:domain_credentials.h' 24 24 )
Note:
See TracChangeset
for help on using the changeset viewer.
