Lines Matching refs:err
61 enum idmap_error_code err;
74 err = sss_idmap_init(NULL, NULL, NULL, &ctx->idmap);
75 if (err != IDMAP_SUCCESS) {
76 ctx_set_error(ctx, idmap_error_string(err));
108 int err;
120 err = sss_nss_getnamebysid(sid, name, &id_type);
121 if (err != 0) {
122 ctx_set_error(ctx, strerror(err));
124 return -err;
138 enum idmap_error_code err;
141 err = sss_idmap_sid_to_bin_sid(ctx->idmap,
143 if (err != IDMAP_SUCCESS) {
144 ctx_set_error(ctx, idmap_error_string(err));
164 int err;
171 err = sss_nss_getsidbyname(name, &sid, &id_type);
172 if (err != 0) {
178 ctx_set_error(ctx, strerror(err));
179 return -err;
218 int err;
221 err = sss_nss_getidbysid(sid, (uint32_t *)&cuxid->id.uid, &id_type);
222 if (err != 0) {
223 ctx_set_error(ctx, strerror(err));
254 enum idmap_error_code err;
267 err = sss_idmap_bin_sid_to_sid(ctx->idmap, (const uint8_t *) &csid[i],
269 if (err != IDMAP_SUCCESS) {
270 ctx_set_error(ctx, idmap_error_string(err));
294 int err, success = -1;
307 err = sss_nss_getsidbyid((uint32_t)cuxid[i].id.uid, &sid, &id_type);
308 if (err != 0) {
309 ctx_set_error(ctx, strerror(err));