Lines Matching refs:status
38 handle_getpw_result(enum nss_status status, struct passwd *pwd,
51 enum nss_status status;
88 status = ctx->ops.getpwnam_r(shortname_or_alias, pwd, buffer, buflen, &ret);
89 ret = handle_getpw_result(status, pwd, dom, &del_user);
125 status = ctx->ops.getpwuid_r(uid, pwd, buffer, buflen, &ret);
126 ret = handle_getpw_result(status, pwd, dom, &del_user);
159 handle_getpw_result(enum nss_status status, struct passwd *pwd,
169 switch (status) {
200 DEBUG(SSSDBG_OP_FAILURE, "Unknown return code %d\n", status);
346 enum nss_status status;
373 status = ctx->ops.getpwuid_r(uid, pwd, buffer, buflen, &ret);
374 ret = handle_getpw_result(status, pwd, dom, &del_user);
414 enum nss_status status;
450 status = ctx->ops.setpwent();
451 if (status != NSS_STATUS_SUCCESS) {
463 status = ctx->ops.getpwent_r(pwd, buffer, buflen, &ret);
465 switch (status) {
760 handle_getgr_result(enum nss_status status, struct group *grp,
764 switch (status) {
794 DEBUG(SSSDBG_OP_FAILURE, "Unknown return code %d\n", status);
808 enum nss_status status;
848 status = ctx->ops.getgrnam_r(shortname_or_alias, grp, buffer,
850 ret = handle_getgr_result(status, grp, dom, &delete_group);
903 status = ctx->ops.getgrgid_r(gid, grp, buffer, buflen, &ret);
905 ret = handle_getgr_result(status, grp, dom, &delete_group);
962 enum nss_status status;
991 status = ctx->ops.getgrgid_r(gid, grp, buffer, buflen, &ret);
993 ret = handle_getgr_result(status, grp, dom, &delete_group);
1047 enum nss_status status;
1083 status = ctx->ops.setgrent();
1084 if (status != NSS_STATUS_SUCCESS) {
1096 status = ctx->ops.getgrent_r(grp, buffer, buflen, &ret);
1098 switch (status) {
1206 enum nss_status status;
1249 status = ctx->ops.getpwnam_r(shortname_or_alias, pwd,
1251 ret = handle_getpw_result(status, pwd, dom, &del_user);
1291 status = ctx->ops.getpwuid_r(uid, pwd, buffer, buflen, &ret);
1292 ret = handle_getpw_result(status, pwd, dom, &del_user);
1352 enum nss_status status;
1379 status = ctx->ops.initgroups_dyn(pwd->pw_name, pwd->pw_gid, &num_gids,
1382 if (status == NSS_STATUS_TRYAGAIN) {
1398 } while(status == NSS_STATUS_TRYAGAIN);
1400 switch (status) {