Ignore:
Timestamp:
Nov 25, 2016, 8:04:54 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/rpcclient/rpcclient.c

    r988 r989  
    905905        char *user, *domain, *q;
    906906        const char *host;
     907        int signing_state = SMB_SIGNING_IPC_DEFAULT;
    907908
    908909        /* make sure the vars that get altered (4th field) are in
     
    10781079        }
    10791080
     1081        signing_state = get_cmdline_auth_info_signing_state(rpcclient_auth_info);
     1082        switch (signing_state) {
     1083        case SMB_SIGNING_OFF:
     1084                lp_set_cmdline("client ipc signing", "no");
     1085                break;
     1086        case SMB_SIGNING_REQUIRED:
     1087                lp_set_cmdline("client ipc signing", "required");
     1088                break;
     1089        }
     1090
    10801091        if (get_cmdline_auth_info_use_kerberos(rpcclient_auth_info)) {
    10811092                flags |= CLI_FULL_CONNECTION_USE_KERBEROS |
     
    10841095        if (get_cmdline_auth_info_use_ccache(rpcclient_auth_info)) {
    10851096                flags |= CLI_FULL_CONNECTION_USE_CCACHE;
     1097        }
     1098        if (get_cmdline_auth_info_use_pw_nt_hash(rpcclient_auth_info)) {
     1099                flags |= CLI_FULL_CONNECTION_USE_NT_HASH;
    10861100        }
    10871101
     
    11051119                                        get_cmdline_auth_info_password(rpcclient_auth_info),
    11061120                                        flags,
    1107                                         get_cmdline_auth_info_signing_state(rpcclient_auth_info));
     1121                                        SMB_SIGNING_IPC_DEFAULT);
    11081122
    11091123        if (!NT_STATUS_IS_OK(nt_status)) {
Note: See TracChangeset for help on using the changeset viewer.