Ignore:
Timestamp:
Oct 30, 2009, 9:39:05 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.3 to 3.3.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/winbindd/winbindd_ads.c

    r206 r342  
    978978        size_t num_members = 0;
    979979        ads_control args;
    980         struct rpc_pipe_client *cli;
    981         POLICY_HND lsa_policy;
    982980        DOM_SID *sid_mem_nocache = NULL;
    983981        char **names_nocache = NULL;
     
    11241122        if (num_nocache > 0) {
    11251123
    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);
    11391131
    11401132                if (!(NT_STATUS_IS_OK(status) ||
     
    11451137                                  "- retrying...\n", nt_errstr(status)));
    11461138
    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);
    11611146                }
    11621147
Note: See TracChangeset for help on using the changeset viewer.