Lines Matching refs:pwd
23 #include <pwd.h>
42 struct passwd pwd = { 0 };
68 nss_status = _nss_sss_getpwnam_r(princ_str, &pwd, buffer, buflen,
79 princ_uid = pwd.pw_uid;
81 nss_status = _nss_sss_getpwnam_r(lname, &pwd, buffer, buflen, &nss_errno);
91 if (princ_uid != pwd.pw_uid) {
116 struct passwd pwd = { 0 };
136 nss_status = _nss_sss_getpwnam_r(princ_str, &pwd, buffer, buflen,
147 if (pwd.pw_name == NULL) {
152 str = strdup(pwd.pw_name);