Searched refs:pw_entry (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/lib/pam_modules/roles/ |
H A D | roles.c | 60 struct passwd *pw_entry, pwd; in pam_sm_acct_mgmt() local 102 if ((pw_entry = getpwnam_r(username, &pwd, buf, sizeof (buf))) == NULL) in pam_sm_acct_mgmt() 104 if ((pw_entry = getpwuid_r(pw_entry->pw_uid, &pwd, buf, in pam_sm_acct_mgmt() 112 if (((user_entry = getusernam(pw_entry->pw_name)) == NULL) || in pam_sm_acct_mgmt() 124 if (strcmp(username, pw_entry->pw_name) != 0) { in pam_sm_acct_mgmt() 128 username, pw_entry->pw_uid, pw_entry->pw_name); in pam_sm_acct_mgmt() 148 if ((pw_entry = getpwuid_r(uid, &pwd, buf, in pam_sm_acct_mgmt() 152 user_entry = getusernam(pw_entry->pw_name); in pam_sm_acct_mgmt()
|