Changeset 342 for branches/samba-3.3.x/source/winbindd/winbindd_ads.c
- Timestamp:
- Oct 30, 2009, 9:39:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/winbindd/winbindd_ads.c
r206 r342 978 978 size_t num_members = 0; 979 979 ads_control args; 980 struct rpc_pipe_client *cli;981 POLICY_HND lsa_policy;982 980 DOM_SID *sid_mem_nocache = NULL; 983 981 char **names_nocache = NULL; … … 1124 1122 if (num_nocache > 0) { 1125 1123 1126 status = cm_connect_lsa(domain, tmp_ctx, &cli, &lsa_policy); 1127 1128 if (!NT_STATUS_IS_OK(status)) { 1129 goto done; 1130 } 1131 1132 status = rpccli_lsa_lookup_sids(cli, tmp_ctx, 1133 &lsa_policy, 1134 num_nocache, 1135 sid_mem_nocache, 1136 &domains_nocache, 1137 &names_nocache, 1138 &name_types_nocache); 1124 status = winbindd_lookup_sids(tmp_ctx, 1125 domain, 1126 num_nocache, 1127 sid_mem_nocache, 1128 &domains_nocache, 1129 &names_nocache, 1130 &name_types_nocache); 1139 1131 1140 1132 if (!(NT_STATUS_IS_OK(status) || … … 1145 1137 "- retrying...\n", nt_errstr(status))); 1146 1138 1147 status = cm_connect_lsa(domain, tmp_ctx, &cli, 1148 &lsa_policy); 1149 1150 if (!NT_STATUS_IS_OK(status)) { 1151 goto done; 1152 } 1153 1154 status = rpccli_lsa_lookup_sids(cli, tmp_ctx, 1155 &lsa_policy, 1156 num_nocache, 1157 sid_mem_nocache, 1158 &domains_nocache, 1159 &names_nocache, 1160 &name_types_nocache); 1139 status = winbindd_lookup_sids(tmp_ctx, 1140 domain, 1141 num_nocache, 1142 sid_mem_nocache, 1143 &domains_nocache, 1144 &names_nocache, 1145 &name_types_nocache); 1161 1146 } 1162 1147
Note:
See TracChangeset
for help on using the changeset viewer.