Changeset 862 for trunk/server/source3/utils/net_rpc.c
- Timestamp:
- May 13, 2014, 11:39:04 AM (11 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 860
- Property svn:mergeinfo changed
-
trunk/server/source3/utils/net_rpc.c
r751 r862 1657 1657 goto done; 1658 1658 } 1659 if (group_rids.count != 1) { 1660 status = NT_STATUS_INVALID_NETWORK_RESPONSE; 1661 goto done; 1662 } 1663 if (name_types.count != 1) { 1664 status = NT_STATUS_INVALID_NETWORK_RESPONSE; 1665 goto done; 1666 } 1659 1667 1660 1668 switch (name_types.ids[0]) … … 2064 2072 goto done; 2065 2073 } 2074 if (rids.count != 1) { 2075 status = NT_STATUS_INVALID_NETWORK_RESPONSE; 2076 goto done; 2077 } 2078 if (rid_types.count != 1) { 2079 status = NT_STATUS_INVALID_NETWORK_RESPONSE; 2080 goto done; 2081 } 2066 2082 2067 2083 status = dcerpc_samr_OpenGroup(b, mem_ctx, … … 2317 2333 d_fprintf(stderr, _("Could not lookup up group member %s\n"), 2318 2334 member); 2335 goto done; 2336 } 2337 if (rids.count != 1) { 2338 status = NT_STATUS_INVALID_NETWORK_RESPONSE; 2339 goto done; 2340 } 2341 if (rid_types.count != 1) { 2342 status = NT_STATUS_INVALID_NETWORK_RESPONSE; 2319 2343 goto done; 2320 2344 } … … 2866 2890 return result; 2867 2891 } 2868 2892 if (names.count != this_time) { 2893 return NT_STATUS_INVALID_NETWORK_RESPONSE; 2894 } 2895 if (types.count != this_time) { 2896 return NT_STATUS_INVALID_NETWORK_RESPONSE; 2897 } 2869 2898 /* We only have users as members, but make the output 2870 2899 the same as the output of alias members */ … … 3102 3131 d_fprintf(stderr, _("Couldn't find group %s\n"), 3103 3132 argv[0]); 3104 return result; 3105 } 3133 return NT_STATUS_INVALID_NETWORK_RESPONSE; 3134 } 3135 if (rid_types.count != 1) { 3136 d_fprintf(stderr, _("Couldn't find group %s\n"), 3137 argv[0]); 3138 return NT_STATUS_INVALID_NETWORK_RESPONSE; 3139 } 3140 3106 3141 3107 3142 if (rid_types.ids[0] == SID_NAME_DOM_GRP) { … … 6017 6052 "failed %s\n"), 6018 6053 acct_name, nt_errstr(result) ); 6054 goto done; 6055 } 6056 if (user_rids.count != 1) { 6057 status = NT_STATUS_INVALID_NETWORK_RESPONSE; 6058 goto done; 6059 } 6060 if (name_types.count != 1) { 6061 status = NT_STATUS_INVALID_NETWORK_RESPONSE; 6019 6062 goto done; 6020 6063 }
Note:
See TracChangeset
for help on using the changeset viewer.