Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/pam_modules/roles/
H A Droles.c59 struct passwd *pw_entry, pwd; in pam_sm_acct_mgmt() local
101 if ((pw_entry = getpwnam_r(username, &pwd, buf, sizeof (buf))) == NULL) in pam_sm_acct_mgmt()
103 if ((pw_entry = getpwuid_r(pw_entry->pw_uid, &pwd, buf, in pam_sm_acct_mgmt()
111 if (((user_entry = getusernam(pw_entry->pw_name)) == NULL) || in pam_sm_acct_mgmt()
123 if (strcmp(username, pw_entry->pw_name) != 0) { in pam_sm_acct_mgmt()
127 username, pw_entry->pw_uid, pw_entry->pw_name); in pam_sm_acct_mgmt()
147 if ((pw_entry = getpwuid_r(uid, &pwd, buf, in pam_sm_acct_mgmt()
151 user_entry = getusernam(pw_entry->pw_name); in pam_sm_acct_mgmt()