Lines Matching refs:err
49 enum idmap_error_code err;
77 err = IDMAP_SID_INVALID;
96 err = IDMAP_SUCCESS;
99 if (err != IDMAP_SUCCESS) {
102 return err;
110 enum idmap_error_code err;
143 err = IDMAP_SID_INVALID;
153 err = IDMAP_SUCCESS;
155 if (err != IDMAP_SUCCESS) {
158 return err;
165 enum idmap_error_code err;
193 err = IDMAP_SID_INVALID;
209 err = IDMAP_SID_INVALID;
215 err = IDMAP_SUCCESS;
218 if (err != IDMAP_SUCCESS) {
222 return err;
229 enum idmap_error_code err;
249 err = IDMAP_SID_INVALID;
255 err = IDMAP_SID_INVALID;
262 err = IDMAP_SID_INVALID;
268 err = IDMAP_SID_INVALID;
283 err = IDMAP_SUCCESS;
288 err = IDMAP_SID_INVALID;
294 err = IDMAP_SID_INVALID;
300 err = IDMAP_SID_INVALID;
308 err = IDMAP_SID_INVALID;
317 err = IDMAP_SUCCESS;
320 if (err != IDMAP_SUCCESS) {
326 return err;
334 enum idmap_error_code err;
339 err = sss_idmap_sid_to_dom_sid(ctx, sid, &dom_sid);
340 if (err != IDMAP_SUCCESS) {
344 err = sss_idmap_dom_sid_to_bin_sid(ctx, dom_sid, &bin_sid, &length);
345 if (err != IDMAP_SUCCESS) {
351 err = IDMAP_SUCCESS;
355 if (err != IDMAP_SUCCESS) {
359 return err;
367 enum idmap_error_code err;
371 err = sss_idmap_bin_sid_to_dom_sid(ctx, bin_sid, length, &dom_sid);
372 if (err != IDMAP_SUCCESS) {
376 err = sss_idmap_dom_sid_to_sid(ctx, dom_sid, &sid);
377 if (err != IDMAP_SUCCESS) {
382 err = IDMAP_SUCCESS;
386 if (err != IDMAP_SUCCESS) {
390 return err;
397 enum idmap_error_code err;
401 err = sss_idmap_sid_to_dom_sid(ctx, sid, &dom_sid);
402 if (err != IDMAP_SUCCESS) {
406 err = sss_idmap_dom_sid_to_smb_sid(ctx, dom_sid, &smb_sid);
407 if (err != IDMAP_SUCCESS) {
412 err = IDMAP_SUCCESS;
416 if (err != IDMAP_SUCCESS) {
420 return err;
427 enum idmap_error_code err;
431 err = sss_idmap_smb_sid_to_dom_sid(ctx, smb_sid, &dom_sid);
432 if (err != IDMAP_SUCCESS) {
436 err = sss_idmap_dom_sid_to_sid(ctx, dom_sid, &sid);
437 if (err != IDMAP_SUCCESS) {
442 err = IDMAP_SUCCESS;
446 if (err != IDMAP_SUCCESS) {
450 return err;
512 enum idmap_error_code err;
516 err = sss_idmap_bin_sid_to_dom_sid(ctx, bin_sid, length, &dom_sid);
517 if (err != IDMAP_SUCCESS) {
521 err = sss_idmap_dom_sid_to_smb_sid(ctx, dom_sid, &smb_sid);
522 if (err != IDMAP_SUCCESS) {
527 err = IDMAP_SUCCESS;
531 if (err != IDMAP_SUCCESS) {
535 return err;
543 enum idmap_error_code err;
548 err = sss_idmap_smb_sid_to_dom_sid(ctx, smb_sid, &dom_sid);
549 if (err != IDMAP_SUCCESS) {
553 err = sss_idmap_dom_sid_to_bin_sid(ctx, dom_sid, &bin_sid, &length);
554 if (err != IDMAP_SUCCESS) {
560 err = IDMAP_SUCCESS;
564 if (err != IDMAP_SUCCESS) {
568 return err;