Searched refs:status (Results 1 - 25 of 51) sorted by relevance

123

/sssd/src/sss_client/libwbclient/
H A Dwbc_err_internal.h34 #define BAIL_ON_PTR_ERROR(x, status) \
37 status = WBC_ERR_NO_MEMORY; \
40 status = WBC_ERR_SUCCESS; \
H A Dwbc_pwd_sssd.c199 static wbcErr nss_to_wbc(enum nss_status status) argument
203 switch (status) {
224 enum nss_status status; local
244 status = ctx->getpwnam_r(name, &lpwd, buffer, buflen, &nss_errno);
245 wbc_status = nss_to_wbc(status);
259 enum nss_status status; local
279 status = ctx->getpwuid_r(uid, &lpwd, buffer, buflen, &nss_errno);
280 wbc_status = nss_to_wbc(status);
375 enum nss_status status; local
402 status
419 enum nss_status status; local
462 enum nss_status status; local
478 enum nss_status status; local
495 enum nss_status status; local
529 enum nss_status status; local
545 enum nss_status status; local
562 enum nss_status status; local
615 enum nss_status status; local
[all...]
/sssd/src/providers/proxy/
H A Dproxy_netgroup.c96 static errno_t handle_error(enum nss_status status, argument
101 switch (status) {
136 enum nss_status status; local
143 status = ctx->ops.setnetgrent(name, &result);
144 if (status != NSS_STATUS_SUCCESS) {
147 ret = handle_error(status, dom, name);
166 status = ctx->ops.getnetgrent_r(&result, buffer, BUFLEN, &ret);
167 if (status != NSS_STATUS_SUCCESS &&
168 status != NSS_STATUS_RETURN &&
169 status !
[all...]
H A Dproxy_services.c114 enum nss_status status; local
128 status = ctx->ops.getservbyname_r(name, protocol, result,
130 if (status != NSS_STATUS_SUCCESS && status != NSS_STATUS_NOTFOUND) {
136 if (status == NSS_STATUS_NOTFOUND) {
159 enum nss_status status; local
181 status = ctx->ops.getservbyport_r(port, protocol, result,
183 if (status != NSS_STATUS_SUCCESS && status != NSS_STATUS_NOTFOUND) {
189 if (status
212 enum nss_status status; local
[all...]
H A Dproxy_id.c38 handle_getpw_result(enum nss_status status, struct passwd *pwd,
51 enum nss_status status; local
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, argument
169 switch (status) {
200 DEBUG(SSSDBG_OP_FAILURE, "Unknown return code %d\n", status);
346 enum nss_status status; local
414 enum nss_status status; local
760 handle_getgr_result(enum nss_status status, struct group *grp, struct sss_domain_info *dom, bool *delete_group) argument
808 enum nss_status status; local
962 enum nss_status status; local
1047 enum nss_status status; local
1206 enum nss_status status; local
1352 enum nss_status status; local
[all...]
/sssd/src/sysv/SUSE/
H A Dsssd.in23 . /etc/rc.status
58 status)
65 $0 status
74 echo "Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
/sssd/src/tests/
H A Dstress-tests.c116 int status, ret; local
118 while ((ret = wait(&status)) > 0) {
124 if (WIFEXITED(status)) {
125 ret = WEXITSTATUS(status);
130 WEXITSTATUS(status));
210 int status, idx, ret; local
305 while ((ret = wait(&status)) > 0) {
311 if (WIFEXITED(status)) {
312 ret = WEXITSTATUS(status);
317 WEXITSTATUS(status));
[all...]
H A Dresolv-tests.c264 int status; local
273 &status, NULL, &rhostent);
281 DEBUG(SSSDBG_TRACE_LIBS, "resolv_gethostbyname_recv status: %d\n", status);
334 int status; local
343 &status, NULL, &rhostent);
351 DEBUG(SSSDBG_TRACE_LIBS, "resolv_gethostbyname_recv status: %d\n", status);
404 int status; local
412 &status, NUL
463 int status; local
902 int status; local
[all...]
/sssd/src/lib/winbind_idmap_sss/
H A Dwinbind_idmap_sss.c84 map[c]->status = ID_UNKNOWN;
91 map[c]->status = ID_UNMAPPED;
120 map[c]->status = ID_MAPPED;
147 map[c]->status = ID_UNKNOWN;
160 map[c]->status = ID_UNMAPPED;
181 map[c]->status = ID_MAPPED;
H A Dwinbind_idmap_sss.h64 enum id_mapping status; member in struct:id_map
/sssd/src/resolv/
H A Dasync_resolv.c678 int status; member in struct:gethostbyname_files_state
709 state->status = ares_gethostbyname_file(state->resolv_ctx->channel,
713 if (state->status == ARES_SUCCESS) {
719 } else if (state->status == ARES_ENOTFOUND ||
720 state->status == ARES_ENODATA) {
726 tevent_req_error(req, return_code(state->status));
739 int *status, struct resolv_hostent **rhostent)
744 /* Fill in even in case of error as status contains the
746 if (status) {
747 *status
738 resolv_gethostbyname_files_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, int *status, struct resolv_hostent **rhostent) argument
771 int status; member in struct:gethostbyname_dns_state
878 resolv_gethostbyname_dns_query_done(void *arg, int status, int timeouts, unsigned char *abuf, int alen) argument
937 resolv_gethostbyname_dns_parse(struct gethostbyname_dns_state *state, int status, unsigned char *abuf, int alen) argument
1008 resolv_gethostbyname_dns_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, int *status, int *timeouts, struct resolv_hostent **rhostent) argument
1055 int status; member in struct:gethostbyname_state
1370 resolv_gethostbyname_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, int *status, int *timeouts, struct resolv_hostent **rhostent) argument
1568 int status; member in struct:getsrv_state
1708 resolv_getsrv_done(void *arg, int status, int timeouts, unsigned char *abuf, int alen) argument
1771 resolv_getsrv_recv(TALLOC_CTX *mem_ctx, struct tevent_req *req, int *status, int *timeouts, struct ares_srv_reply **reply_list, uint32_t *ttl) argument
1907 int status; member in struct:gettxt_state
1960 resolv_gettxt_done(void *arg, int status, int timeouts, unsigned char *abuf, int alen) argument
2017 resolv_gettxt_recv(TALLOC_CTX *mem_ctx, struct tevent_req *req, int *status, int *timeouts, struct ares_txt_reply **reply_list) argument
[all...]
H A Dasync_resolv.h112 int *status, int *timeouts,
143 int *status,
160 int *status,
H A Dasync_resolv_utils.c270 int status; local
276 ret = resolv_getsrv_recv(state, subreq, &status, NULL,
281 status, resolv_strerror(status));
283 if (status == ARES_ENOTFOUND) {
/sssd/src/tests/cwrap/
H A Dtest_become_user.c35 int status; local
67 wpid = waitpid(pid, &status, 0);
69 assert_true(WIFEXITED(status));
70 assert_int_equal(WEXITSTATUS(status), 0);
H A Dtest_server.c35 int status; local
39 wpid = waitpid(pid, &status, 0);
41 assert_true(WIFEXITED(status));
42 assert_int_equal(WEXITSTATUS(status), 0);
/sssd/src/sysv/
H A Dsssd.in89 # run checks to determine if the service is running or use generic status
90 status $prog
121 status)
130 echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
/sssd/src/util/
H A Dnscd.c42 int ret, status; local
74 ret = waitpid(nscd_pid, &status, 0);
77 if (WIFEXITED(status)) {
78 ret = WEXITSTATUS(status);
/sssd/src/responder/common/cache_req/
H A Dcache_req_search.c236 enum cache_object_status status);
246 enum cache_object_status status; local
269 status = cache_req_expiration_status(cr, state->result);
270 if (status == CACHE_OBJECT_VALID) {
277 ret = cache_req_search_dp(req, status);
296 enum cache_object_status status)
313 switch (status) {
357 "Unexpected status [%d]\n", status);
295 cache_req_search_dp(struct tevent_req *req, enum cache_object_status status) argument
/sssd/src/tests/cmocka/
H A Dtest_resolv_fake.c193 int status; member in struct:fake_ares_query
199 void mock_ares_query(int status, int timeouts, unsigned char *abuf, int alen) argument
201 will_return(__wrap_ares_query, status);
212 query.status = sss_mock_type(int);
217 callback(arg, query.status, query.timeouts, query.abuf, query.alen);
265 int status; local
274 ret = resolv_getsrv_recv(tmp_ctx, req, &status, NULL,
H A Dtest_child_common.c90 int status; local
104 ret = waitpid(child_pid, &status, 0);
109 if (WIFEXITED(status)) {
110 ret = WEXITSTATUS(status);
157 int status; local
177 ret = waitpid(child_pid, &status, 0);
182 if (WIFEXITED(status)) {
183 ret = WEXITSTATUS(status);
H A Dtest_nss_srv.c520 static int test_nss_getpwnam_check(uint32_t status, uint8_t *body, size_t blen) argument
525 assert_int_equal(status, EOK);
613 static int test_nss_getpwnam_search_check(uint32_t status, argument
619 assert_int_equal(status, EOK);
683 static int test_nss_getpwnam_update_check(uint32_t status, argument
689 assert_int_equal(status, EOK);
751 static int test_nss_getpwnam_check_fqdn(uint32_t status, argument
757 assert_int_equal(status, EOK);
805 static int test_nss_getpwnam_check_space(uint32_t status, argument
811 assert_int_equal(status, EO
845 test_nss_getpwnam_check_space_sub(uint32_t status, uint8_t *body, size_t blen) argument
923 test_nss_getpwnam_check_fancy_fqdn(uint32_t status, uint8_t *body, size_t blen) argument
982 test_nss_getpwuid_check(uint32_t status, uint8_t *body, size_t blen) argument
1081 test_nss_getpwuid_search_check(uint32_t status, uint8_t *body, size_t blen) argument
1150 test_nss_getpwuid_update_check(uint32_t status, uint8_t *body, size_t blen) argument
1268 test_nss_getgrnam_no_members_check(uint32_t status, uint8_t *body, size_t blen) argument
1339 test_nss_getgrnam_members_check(uint32_t status, uint8_t *body, size_t blen) argument
1414 test_nss_getgrnam_members_check_fqdn(uint32_t status, uint8_t *body, size_t blen) argument
1515 test_nss_getgrnam_members_check_subdom(uint32_t status, uint8_t *body, size_t blen) argument
1604 test_nss_getgrnam_check_mix_dom(uint32_t status, uint8_t *body, size_t blen) argument
1668 test_nss_getgrnam_check_mix_dom_fqdn(uint32_t status, uint8_t *body, size_t blen) argument
1738 test_nss_getgrnam_check_mix_subdom(uint32_t status, uint8_t *body, size_t blen) argument
1817 test_nss_getgrnam_space_check(uint32_t status, uint8_t *body, size_t blen) argument
1863 test_nss_getgrnam_space_sub_check(uint32_t status, uint8_t *body, size_t blen) argument
1909 test_nss_well_known_sid_check(uint32_t status, uint8_t *body, size_t blen) argument
2092 test_nss_getorigbyname_check(uint32_t status, uint8_t *body, size_t blen) argument
2217 test_nss_getorigbyname_extra_check(uint32_t status, uint8_t *body, size_t blen) argument
2339 test_nss_getorigbyname_multi_check(uint32_t status, uint8_t *body, size_t blen) argument
2481 test_nss_getpwnam_upn_check(uint32_t status, uint8_t *body, size_t blen) argument
2568 test_nss_initgr_check(uint32_t status, uint8_t *body, size_t blen) argument
2772 test_nss_initgr_search_check(uint32_t status, uint8_t *body, size_t blen) argument
2870 test_nss_initgr_update_check(uint32_t status, uint8_t *body, size_t blen) argument
2978 test_nss_initgr_update_2expire_attributes_check(uint32_t status, uint8_t *body, size_t blen) argument
3161 test_nss_getnamebysid_check(uint32_t status, uint8_t *body, size_t blen) argument
3268 test_nss_getnamebysid_update_check(uint32_t status, uint8_t *body, size_t blen) argument
3388 test_nss_getnamebycert_check(uint32_t status, uint8_t *body, size_t blen) argument
3490 test_nss_getsidbyname_check(uint32_t status, uint8_t *body, size_t blen) argument
[all...]
/sssd/src/providers/
H A Dfail_over.c137 struct status { struct
170 str_port_status(enum port_status status) argument
172 switch (status) {
181 return "unknown port status";
185 str_srv_data_status(enum srv_lookup_status status) argument
187 switch (status) {
198 return "unknown SRV lookup status";
202 str_server_status(enum server_status status) argument
204 switch (status) {
217 return "unknown server status";
317 set_srv_data_status(struct srv_data *data, enum srv_lookup_status status) argument
1265 int status; local
1489 set_server_common_status(struct server_common *common, enum server_status status) argument
1500 fo_set_server_status(struct fo_server *server, enum server_status status) argument
1512 fo_set_port_status(struct fo_server *server, enum port_status status) argument
[all...]
H A Dbackend.h190 #define be_fo_set_port_status(ctx, service_name, server, status) \
191 _be_fo_set_port_status(ctx, service_name, server, status, \
197 enum port_status status,
H A Dfail_over.h169 enum server_status status);
172 * Set feedback about the port status. This function should be used when
173 * the server itself is working but the service is not. When status is set
180 enum port_status status);
/sssd/src/tools/
H A Dtools_util.c520 int ret, status; local
555 while((child_pid = waitpid(pid, &status, 0)) > 0) {
556 if (WIFEXITED(status)) {
557 ret = WEXITSTATUS(status);
560 "command [%s] returned nonzero status %d.\n",
565 } else if (WIFSIGNALED(status)) {
568 userdel_cmd, WTERMSIG(status));
571 } else if (WIFSTOPPED(status)) {
574 userdel_cmd, WSTOPSIG(status));
577 DEBUG(SSSDBG_CRIT_FAILURE, "Unknown status fro
[all...]

Completed in 521 milliseconds

123