Changeset 989 for vendor/current/source3/rpcclient/rpcclient.c
- Timestamp:
- Nov 25, 2016, 8:04:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/rpcclient/rpcclient.c
r988 r989 905 905 char *user, *domain, *q; 906 906 const char *host; 907 int signing_state = SMB_SIGNING_IPC_DEFAULT; 907 908 908 909 /* make sure the vars that get altered (4th field) are in … … 1078 1079 } 1079 1080 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 1080 1091 if (get_cmdline_auth_info_use_kerberos(rpcclient_auth_info)) { 1081 1092 flags |= CLI_FULL_CONNECTION_USE_KERBEROS | … … 1084 1095 if (get_cmdline_auth_info_use_ccache(rpcclient_auth_info)) { 1085 1096 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; 1086 1100 } 1087 1101 … … 1105 1119 get_cmdline_auth_info_password(rpcclient_auth_info), 1106 1120 flags, 1107 get_cmdline_auth_info_signing_state(rpcclient_auth_info));1121 SMB_SIGNING_IPC_DEFAULT); 1108 1122 1109 1123 if (!NT_STATUS_IS_OK(nt_status)) {
Note:
See TracChangeset
for help on using the changeset viewer.