Lines Matching refs:gsop
137 struct LsaGetSidsFromNames gsop;
138 ZERO_STRUCT(gsop);
140 gsop.in.pol = lsa_pol;
141 gsop.in.num_names = num_names;
142 gsop.in.names = names;
144 result = cac_LsaGetSidsFromNames(hnd, mem_ctx, &gsop);
154 for(i = 0; i < (num_names - gsop.out.num_found); i++) {
155 fprintf(stdout, " %s\n", gsop.out.unknown[i]);
162 num_sids = (sim_partial) ? gsop.out.num_found + 2: gsop.out.num_found;
165 fprintf(stdout, "%d names were resolved: \n", gsop.out.num_found);
169 while(i < gsop.out.num_found) {
170 fprintf(stdout, " Name: %s\n SID: %s\n\n", gsop.out.sids[i].name, sid_string_static(&gsop.out.sids[i].sid));
172 sid_buf[i] = gsop.out.sids[i].sid;
181 loa.in.sid = &gsop.out.sids[i].sid;
193 earop.in.sid = &gsop.out.sids[i].sid;
245 fprintf(stdout, " SID: %s\n Name: %s\n", sid_string_static(&gnop.out.sids[i].sid), gsop.out.sids[i].name);