Searched refs:whitelist (Results 1 - 4 of 4) sorted by relevance
/sssd/src/responder/ifp/ |
H A D | ifpsrv_util.c | 183 ifp_attr_allowed(const char *whitelist[], const char *attr) argument 187 if (whitelist == NULL) { 191 for (i = 0; whitelist[i]; i++) { 192 if (strcasecmp(whitelist[i], attr) == 0) { 197 return (whitelist[i]) ? true : false; 213 const char **whitelist = ifp_ctx->user_whitelist; local 225 for (i = 0; whitelist[i] != NULL; i++) { 226 /* Just count number of attributes in whitelist. */ 236 for (i = 0; whitelist[i] != NULL; i++) { 239 if (strcmp(whitelist[ [all...] |
H A D | ifp_private.h | 81 bool ifp_attr_allowed(const char *whitelist[], const char *attr);
|
H A D | ifpsrv_cmd.c | 110 const char **whitelist = attr_req->ireq->ifp_ctx->user_whitelist; local 130 if (ifp_attr_allowed(whitelist, attrs[i]) == false) { 132 "Attribute %s not present in the whitelist, skipping\n",
|
/sssd/src/tests/cmocka/ |
H A D | test_ifp.c | 345 const char *whitelist[] = { "name", "gecos", NULL }; local 348 assert_true(ifp_attr_allowed(whitelist, "name")); 349 assert_true(ifp_attr_allowed(whitelist, "gecos")); 351 assert_false(ifp_attr_allowed(whitelist, "password"));
|
Completed in 1320 milliseconds