Home
last modified time | relevance | path

Searched refs:rolename (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/oamuser/user/
H A Dfuncs.c344 char *rolename; in check_role() local
355 rolename = strtok(tmp, ROLE_SEP); in check_role()
356 while (rolename != NULL) { in check_role()
357 result = getusernam(rolename); in check_role()
360 return (rolename); in check_role()
367 return (rolename); in check_role()
371 return (rolename); in check_role()
374 rolename = strtok(NULL, ROLE_SEP); in check_role()
/illumos-gate/usr/src/lib/pam_modules/roles/
H A Droles.c190 char *rolename = (char *)strtok_r(list, ",", &lasts); in roleinlist() local
192 while (rolename) { in roleinlist()
193 if (strcmp(rolename, role) == 0) in roleinlist()
196 rolename = (char *)strtok_r(NULL, ",", &lasts); in roleinlist()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool.c814 int getrole(rolename) in getrole() argument
815 char *rolename; in getrole()
819 if (!strcasecmp(rolename, "ipf")) {
822 } else if (!strcasecmp(rolename, "nat")) {
824 } else if (!strcasecmp(rolename, "state")) {
826 } else if (!strcasecmp(rolename, "auth")) {
828 } else if (!strcasecmp(rolename, "sync")) {
830 } else if (!strcasecmp(rolename, "scan")) {
832 } else if (!strcasecmp(rolename, "pool")) {
834 } else if (!strcasecmp(rolename, "count")) {