/sssd/src/sss_client/ |
H A D | nss_passwd.c | 140 uint8_t *repbuf; local 203 &repbuf, &replen, errnop); 212 /* Get number of results from repbuf. */ 213 SAFEALIGN_COPY_UINT32(&num_results, repbuf, NULL); 217 free(repbuf); 225 free(repbuf); 231 ret = sss_nss_getpw_readrep(&pwrep, repbuf+8, &len); 232 free(repbuf); 251 uint8_t *repbuf; local 307 &repbuf, 376 uint8_t *repbuf; local [all...] |
H A D | nss_services.c | 172 uint8_t *repbuf; local 216 &repbuf, &replen, errnop); 226 /* Get number of results from repbuf. */ 227 SAFEALIGN_COPY_UINT32(&num_results, repbuf, NULL); 231 free(repbuf); 239 free(repbuf); 246 repbuf + SVC_METADATA_COUNT, 248 free(repbuf); 272 uint8_t *repbuf; local 315 &repbuf, 406 uint8_t *repbuf; local [all...] |
H A D | nss_group.c | 62 uint8_t *repbuf; member in struct:sss_nss_getgr_data 72 free(sss_nss_getgr_data.repbuf); 79 uint8_t **repbuf, 113 *repbuf = sss_nss_getgr_data.repbuf; 126 /* this function always takes ownership of repbuf and NULLs it before 130 uint8_t **repbuf, size_t replen) 135 sss_nss_getgr_data.repbuf = *repbuf; 166 *repbuf 77 sss_nss_get_getgr_cache(const char *name, gid_t gid, enum sss_nss_gr_type type, uint8_t **repbuf, size_t *replen, int *errnop) argument 128 sss_nss_save_getgr_cache(const char *name, gid_t gid, enum sss_nss_gr_type type, uint8_t **repbuf, size_t replen) argument 280 uint8_t *repbuf; local 402 uint8_t *repbuf; local 521 uint8_t *repbuf; local 654 uint8_t *repbuf; local [all...] |
H A D | nss_netgroup.c | 161 uint8_t *repbuf = NULL; local 195 &repbuf, &replen, &errnop); 202 /* Get number of results from repbuf */ 203 SAFEALIGN_COPY_UINT32(&num_results, repbuf, NULL); 207 free(repbuf); 212 free(repbuf); 226 uint8_t *repbuf; local 242 repbuf = (uint8_t *) result->data + result->idx.position; 249 ret = sss_nss_getnetgr_readrep(&netgrrep, repbuf, &replen); 269 &repbuf, [all...] |
H A D | common.c | 343 /* repbuf and replen report only the data section not the header */ 347 uint8_t **repbuf, size_t *replen, 368 if (repbuf && buf) { 369 *repbuf = buf; 389 uint8_t *repbuf = NULL; local 418 &repbuf, &replen, &errnop); 423 if (!repbuf) { 427 SAFEALIGN_COPY_UINT32(&obtained_version, repbuf, NULL); 428 free(repbuf); 710 /* repbuf an 344 sss_cli_make_request_nochecks( enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument 711 sss_nss_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument 783 sss_pac_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument 848 sss_pam_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument 953 sss_cli_make_request_with_checks(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop, const char *socket_name) argument 981 sss_sudo_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument 990 sss_autofs_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument 999 sss_ssh_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument [all...] |
H A D | sss_cli.h | 548 uint8_t **repbuf, size_t *replen, 553 uint8_t **repbuf, size_t *replen, 565 uint8_t **repbuf, size_t *replen, 570 uint8_t **repbuf, size_t *replen, 575 uint8_t **repbuf, size_t *replen, 580 uint8_t **repbuf, size_t *replen,
|
H A D | pam_sss.c | 1144 uint8_t *repbuf = NULL; local 1159 ret = sss_pam_make_request(task, &rd, &repbuf, &replen, &errnop); 1181 SAFEALIGN_COPY_UINT32(&pam_status, repbuf, NULL); 1182 ret = eval_response(pamh, replen, repbuf, pi); 1257 free(repbuf);
|
/sssd/src/sss_client/autofs/ |
H A D | sss_autofs.c | 65 uint8_t *repbuf = NULL; local 93 &repbuf, &replen, &errnop); 100 /* Get number of results from repbuf. */ 101 SAFEALIGN_COPY_UINT32(&num_results, repbuf, NULL); 106 free(repbuf); 110 free(repbuf); 220 /* The repbuf is owned by the sss_getautomntent_data once this 223 sss_getautomntent_data_save(const char *mapname, uint8_t **repbuf, size_t replen) argument 229 SAFEALIGN_COPY_UINT32(&num, *repbuf+rp, &rp); 231 free(*repbuf); 255 uint8_t *repbuf = NULL; local 355 uint8_t *repbuf = NULL; local [all...] |
/sssd/src/tests/cmocka/ |
H A D | sss_nss_idmap-tests.c | 40 uint8_t *repbuf; member in struct:sss_nss_make_request_test_data 66 uint8_t **repbuf, size_t *replen, 76 /* the caller must be able to free repbuf. */ 77 if (*replen != 0 && d->repbuf != NULL) { 78 *repbuf = malloc(*replen); 79 assert_non_null(*repbuf); 80 memcpy(*repbuf, d->repbuf, *replen); 116 for (c = 0; d[c].d.repbuf != NULL; c++) { 64 sss_nss_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument
|
/sssd/src/sss_client/idmap/ |
H A D | sss_nss_idmap.c | 147 uint8_t *repbuf = NULL; local 183 nret = sss_nss_make_request(cmd, &rd, &repbuf, &replen, &errnop); 194 SAFEALIGN_COPY_UINT32(&num_results, repbuf, NULL); 205 SAFEALIGN_COPY_UINT32(&out->type, repbuf + 2 * sizeof(uint32_t), NULL); 214 if (data_len <= 1 || repbuf[replen - 1] != '\0') { 225 strncpy(str, (char *) repbuf + DATA_START, data_len); 236 SAFEALIGN_COPY_UINT32(&c, repbuf + DATA_START, NULL); 241 ret = buf_to_kv_list(repbuf + DATA_START, data_len, &kv_list); 258 free(repbuf);
|
/sssd/src/tools/ |
H A D | tools_mc_util.c | 250 uint8_t *repbuf = NULL; local 275 nret = sss_nss_make_request(cmd, &rd, &repbuf, &replen, &ret); 278 free(repbuf);
|