Changeset 920 for trunk/server/source3/rpcclient
- Timestamp:
- Jun 9, 2016, 2:23:12 PM (9 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 919
- Property svn:mergeinfo changed
-
trunk/server/source3/rpcclient/rpcclient.c
r918 r920 1032 1032 } 1033 1033 1034 if (binding->flags & DCERPC_CONNECT) { 1035 pipe_default_auth_level = DCERPC_AUTH_LEVEL_CONNECT; 1036 pipe_default_auth_type = DCERPC_AUTH_TYPE_NTLMSSP; 1037 } 1034 1038 if (binding->flags & DCERPC_SIGN) { 1035 1039 pipe_default_auth_level = DCERPC_AUTH_LEVEL_INTEGRITY; … … 1045 1049 } 1046 1050 if (binding->flags & DCERPC_AUTH_NTLM) { 1047 /* If neither Integrity or Privacy are requested then1048 * Use just Connect level */1049 if (pipe_default_auth_level == DCERPC_AUTH_LEVEL_NONE) {1050 pipe_default_auth_level = DCERPC_AUTH_LEVEL_CONNECT;1051 }1052 1053 1051 if (pipe_default_auth_type == DCERPC_AUTH_TYPE_SPNEGO) { 1054 1052 pipe_default_auth_spnego_type = PIPE_AUTH_TYPE_SPNEGO_NTLMSSP; … … 1058 1056 } 1059 1057 if (binding->flags & DCERPC_AUTH_KRB5) { 1060 /* If neither Integrity or Privacy are requested then1061 * Use just Connect level */1062 if (pipe_default_auth_level == DCERPC_AUTH_LEVEL_NONE) {1063 pipe_default_auth_level = DCERPC_AUTH_LEVEL_CONNECT;1064 }1065 1066 1058 if (pipe_default_auth_type == DCERPC_AUTH_TYPE_SPNEGO) { 1067 1059 pipe_default_auth_spnego_type = PIPE_AUTH_TYPE_SPNEGO_KRB5; 1068 1060 } else { 1069 1061 pipe_default_auth_type = DCERPC_AUTH_TYPE_KRB5; 1062 } 1063 } 1064 if (pipe_default_auth_type != DCERPC_AUTH_TYPE_NONE) { 1065 /* If nothing is requested then default to integrity */ 1066 if (pipe_default_auth_level == DCERPC_AUTH_LEVEL_NONE) { 1067 pipe_default_auth_level = DCERPC_AUTH_LEVEL_INTEGRITY; 1070 1068 } 1071 1069 }
Note:
See TracChangeset
for help on using the changeset viewer.