Lines Matching refs:authname
233 char *authname; in check_auth() local
245 authname = strtok(tmp, AUTH_SEP); in check_auth()
248 return (authname); in check_auth()
251 while (authname != NULL) { in check_auth()
256 if (!chkauthattr(authname, pw->pw_name)) in check_auth()
257 return (authname); in check_auth()
260 if ((suffix = index(authname, KV_OBJECTCHAR)) != NULL) in check_auth()
264 if ((suffix = rindex(authname, '.')) == NULL) in check_auth()
265 return (authname); in check_auth()
270 result = getauthnam(authname); in check_auth()
274 return (authname); in check_auth()
281 authtoks = malloc(strlen(authname) + sizeof ("grant")); in check_auth()
282 strcpy(authtoks, authname); in check_auth()
293 return (authname); in check_auth()
295 authname = strtok(NULL, AUTH_SEP); in check_auth()