Home
last modified time | relevance | path

Searched refs:getpwnam_r (Results 1 – 25 of 47) sorted by relevance

12

/titanic_50/usr/src/head/
H A Dpwd.h129 #pragma redefine_extname getpwnam_r __posix_getpwnam_r
132 extern int getpwnam_r(const char *, struct passwd *, char *,
144 #define getpwnam_r __posix_getpwnam_r macro
155 getpwnam_r(const char *__cb, struct passwd *__pwd, char *__buf, size_t __len, in getpwnam_r() function
167 extern struct passwd *getpwnam_r(const char *, struct passwd *, char *, int);
/titanic_50/usr/src/lib/pam_modules/krb5/
H A Dutils.c57 if (getpwnam_r(user, &sp, buffer, sizeof (buffer)) == NULL) { in get_pw_uid()
77 if (getpwnam_r(user, &sp, buffer, sizeof (buffer)) == NULL) { in get_pw_gid()
/titanic_50/usr/src/lib/libtecla/common/
H A Dhomedir.c264 status = getpwnam_r(user, &home->pwd, home->buffer, home->buflen, &ret); in _hd_lookup_home_dir()
369 if(!waserr && getpwnam_r(prefix, &pwd_buffer, buffer, sizeof(buffer),
/titanic_50/usr/src/lib/pam_modules/rhosts_auth/
H A Drhosts_auth.c89 if (getpwnam_r(lusername, &pwd, pwd_buffer, sizeof (pwd_buffer)) in pam_sm_authenticate()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dgetpwnam.c84 getpwnam_r(nam, b->result, b->buffer, b->buflen)); in getpwnam()
H A Dgetpwnam_r.c67 getpwnam_r(const char *name, struct passwd *result, char *buffer, int buflen) in getpwnam_r() function
158 if ((*result = getpwnam_r(name, pwd, buffer, (uintptr_t)bufsize)) in __posix_getpwnam_r()
/titanic_50/usr/src/lib/pam_modules/smbfs/
H A Dsmbfs_login.c92 if (getpwnam_r(user, &pwbuf, buf, sizeof (buf)) == NULL) { in pam_sm_setcred()
/titanic_50/usr/src/lib/pam_modules/unix_session/
H A Dunix_session.c130 if (getpwnam_r(user, &pwd, buffer, sizeof (buffer)) == NULL) { in pam_sm_open_session()
/titanic_50/usr/src/lib/libproject/common/
H A Dgetprojent.c212 if (getpwnam_r(user, &p, buffer, buflen) == NULL) in _getdefaultproj()
277 if (getpwnam_r(user, &pwd, buffer, buflen) == NULL) in _inproj()
/titanic_50/usr/src/lib/pam_modules/roles/
H A Droles.c101 if ((pw_entry = getpwnam_r(username, &pwd, buf, sizeof (buf))) == NULL) in pam_sm_acct_mgmt()
/titanic_50/usr/src/lib/pam_modules/dial_auth/
H A Ddial_auth.c98 if (getpwnam_r(user, &pwd, pwd_buffer, sizeof (pwd_buffer)) == NULL) in pam_sm_authenticate()
/titanic_50/usr/src/lib/libbsm/common/
H A Daudit_crontab.c269 if (getpwnam_r(user, &pwd, buffer, PWD_BUFFER_SIZE) == NULL) { in audit_crontab_not_allowed()
H A Daudit_cron.c161 if (getpwnam_r(basename(fname), &pwd, pwd_buff, in audit_cron_getinfo()
/titanic_50/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c270 if (getpwnam_r(user, &pwd, pwbuf, sizeof (pwbuf)) == NULL) { in pam_sm_setcred()
326 (getpwnam_r(auser, &apwd, apwbuf, in pam_sm_setcred()
/titanic_50/usr/src/lib/nsswitch/nis/common/
H A Dgetgrent.c276 if ((getpwnam_r(argp->username, &pw, pwbuf, sizeof (pwbuf)) == NULL) || in netid_lookup()
/titanic_50/usr/src/cmd/ssh/sshd/
H A Dbsmaudit.c215 (getpwnam_r(user, &pwd, pwdbuf, pwdbuf_len) != NULL)) { in audit_sshd_login_failure()
/titanic_50/usr/src/lib/passwdutil/
H A Dnss_attr.c163 if (getpwnam_r(name, pwbuf->pwd, pwbuf->pwd_scratch, in nss_getpwnam()
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-platform.h525 (*(OUT) = getpwnam_r(NAME,REC,BUF,BUFSIZE), *(OUT) == NULL ? -1 : 0)
/titanic_50/usr/src/lib/pam_modules/dhkeys/
H A Ddhkeys.c231 if (getpwnam_r(user, &pw, scratch, scratchlen) == NULL) { in establish_key()
/titanic_50/usr/src/lib/libsecdb/common/
H A Dchkauthattr.c411 if (getpwnam_r(user, &pw, pwbuf, sizeof (pwbuf)) == NULL) { in is_cons_user()
H A Dgetexecattr.c272 if (getpwnam_r(username, &pwd, pwdb, sizeof (pwdb)) == NULL) { in userprof()
/titanic_50/usr/src/lib/libresolv2/include/
H A Dport_after.h371 getpwnam_r(const char *login, struct passwd *pwptr,
/titanic_50/usr/src/cmd/allocate/
H A Dallocate.c574 if (getpwnam_r(uname, &pw_ent, pw_buf, sizeof (pw_buf)) == in main()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rexecd.c273 pwd = getpwnam_r(user, &pw_data, pwdbuf, sizeof (pwdbuf)); in doit()
/titanic_50/usr/src/cmd/pfexecd/
H A Dpfexecd.c207 if (getpwnam_r(v, &pwdm, buf, sizeof (buf), &pwd) == 0 && pwd != NULL) in get_uid()

12