/osnet-11/usr/src/lib/passwdutil/ |
H A D | nss_attr.c | 64 struct pwbuf { struct 89 struct pwbuf *pwbuf; local 93 *buf = calloc(1, sizeof (struct pwbuf)); 94 pwbuf = (struct pwbuf *)*buf; 95 if (pwbuf == NULL) 112 if (pwbuf->pwd == NULL) 113 pwbuf->pwd = (struct passwd *) 115 if (pwbuf 221 struct pwbuf *pwbuf; local [all...] |
H A D | files_attr.c | 78 struct pwbuf { struct 213 struct pwbuf *pwbuf; local 216 *buf = calloc(1, sizeof (struct pwbuf)); 217 pwbuf = (struct pwbuf *)*buf; 218 if (pwbuf == NULL) 235 if (pwbuf->pwd == NULL) { 236 pwbuf->pwd = malloc(sizeof (struct passwd)); 237 if (pwbuf 327 struct pwbuf *pwbuf; local 467 struct pwbuf *pwbuf; local 636 struct pwbuf *pwbuf = (struct pwbuf *)buf; local 1124 struct pwbuf *pwbuf = (struct pwbuf *)buf; local [all...] |
H A D | utils.c | 237 char pwbuf[NSS_BUFLEN_PASSWD]; local 240 if (getpwuid_r(getuid(), &pw, pwbuf, sizeof (pwbuf)) != NULL) {
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_pwdutil.c | 71 smbfs_pwbuf_t pwbuf; local 85 pwbuf.pw_pwd = &smbpw; 87 while (smbfs_pwd_fgetent(fp, &pwbuf) != NULL) { 117 smbfs_pwbuf_t pwbuf, newpwbuf; local 148 pwbuf.pw_pwd = &smbpw; 155 while (smbfs_pwd_fgetent(src, &pwbuf) != NULL) { 167 err = smbfs_pwd_fputent(dst, &pwbuf); 190 err = smbfs_pwd_fputent(dst, &pwbuf); 202 while (smbfs_pwd_fgetent(src, &pwbuf) != NULL) { 203 err = smbfs_pwd_fputent(dst, &pwbuf); 252 smbfs_pwbuf_t pwbuf; local 355 smbfs_pwd_fgetent(FILE *fp, smbfs_pwbuf_t *pwbuf) argument 409 smbfs_pwd_fputent(FILE *fp, const smbfs_pwbuf_t *pwbuf) argument [all...] |
H A D | smbfs_util.c | 413 char *npw, *p, pwbuf[256], buf[256]; local 432 npw = fgets(pwbuf, sizeof (pwbuf), stdin); 435 if ((p = strchr(pwbuf, '\n')) != NULL)
|
H A D | smbfs_ctx.c | 1056 char pwbuf[NSS_BUFLEN_PASSWD]; local 1063 if (getpwuid_r(getuid(), &pw, pwbuf, sizeof (pwbuf)) != NULL) {
|
/osnet-11/usr/src/lib/pam_modules/smbfs/ |
H A D | smbfs_login.c | 60 struct passwd pwbuf; local 88 if (getpwnam_r(user, &pwbuf, buf, sizeof (buf)) == NULL) { 93 uid = pwbuf.pw_uid;
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_pwdutil.c | 266 smb_pwbuf_t pwbuf; local 282 pwbuf.pw_pwd = smbpw; 284 while (smb_pwd_fgetent(fp, &pwbuf, SMB_PWD_GETF_ALL) != NULL) { 433 smb_pwbuf_t pwbuf; local 473 pwbuf.pw_pwd = &smbpw; 479 while (smb_pwd_fgetent(src, &pwbuf, SMB_PWD_GETF_ALL) != NULL) { 484 err = smb_pwd_fputent(dst, &pwbuf); 487 err = smb_pwd_fputent(dst, &pwbuf); 504 err = smb_pwd_fputent(dst, &pwbuf); 554 * Parse the buffer in the passed pwbuf an 564 smb_pwd_fgetent(FILE *fp, smb_pwbuf_t *pwbuf, uint32_t flags) argument 681 smb_pwd_fputent(FILE *fp, const smb_pwbuf_t *pwbuf) argument 734 smb_pwbuf_t pwbuf; local 942 smb_pwbuf_t pwbuf; local [all...] |
/osnet-11/usr/src/lib/pam_modules/authtok_check/ |
H A D | authtok_check.c | 713 char *pwbuf, *opwbuf; local 746 (void) pam_get_item(pamh, PAM_AUTHTOK, (void **)&pwbuf); 748 if (pwbuf == NULL) 820 pwlen = strlen(pwbuf); 832 switch (check_circular(usrname, pwbuf)) { 857 if (__check_history(usrname, pwbuf, pwu_rep) == PWU_SUCCESS) { 871 if (check_composition(pwbuf, &pwdef, pamh, flags) != 0) { 877 if (check_diff(pwbuf, opwbuf, &pwdef, pamh, flags) != 0) { 884 retcode = check_dictionary(pwbuf, &pwdef, pamh, flags);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | kuserok.c | 276 char pwbuf[BUFSIZ]; local 281 if (k5_getpwnam_r(luser, &pwx, pwbuf, sizeof(pwbuf), &pwd) != 0)
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | import_name.c | 180 char pwbuf[BUFSIZ]; local 204 if (k5_getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw) == 0)
|
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getgrent.c | 261 char pwbuf[NSS_BUFLEN_PASSWD]; local 276 if ((getpwnam_r(argp->username, &pw, pwbuf, sizeof (pwbuf)) == NULL) ||
|
/osnet-11/usr/src/lib/pam_modules/zfs_key/ |
H A D | zfs_key.c | 181 char pwbuf[NSS_BUFLEN_PASSWD]; local 232 (getpwnam_r(user, &pw, pwbuf, sizeof (pwbuf)) == NULL)) { 442 char pwbuf[NSS_BUFLEN_PASSWD]; local 475 (getpwnam_r(user, &pw, pwbuf, sizeof (pwbuf)) == NULL)) {
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | netnamer.c | 314 char pwbuf[NSS_LINELEN_PASSWD]; local 338 if ((getpwuid_r(uidnu, &pw, pwbuf, sizeof (pwbuf))) == NULL) {
|
/osnet-11/usr/src/lib/librestart/common/ |
H A D | librestart.h | 292 char *pwbuf; member in struct:method_context
|
H A D | librestart.c | 2214 if (mcp->pwbuf != NULL && mcp->pwd.pw_uid == mcp->uid) 2217 if (mcp->pwbuf == NULL) { 2220 mcp->pwbuf = malloc(mcp->pwbufsz); 2221 if (mcp->pwbuf == NULL) 2227 pwdp = getpwuid_r(mcp->uid, &mcp->pwd, mcp->pwbuf, 2233 free(mcp->pwbuf); 2234 mcp->pwbuf = NULL; 2294 if (ci->pwbuf == NULL) { 2296 ci->pwbuf = malloc(ci->pwbufsz); 2297 if (ci->pwbuf [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 230 char pwbuf[BUFSIZ]; local 233 if (!k5_getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw)
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | chkauthattr.c | 164 char pwbuf[NSS_BUFLEN_PASSWD]; local 193 getpwnam_r(username, &pw, pwbuf, sizeof (pwbuf)) != NULL &&
|
/osnet-11/usr/src/lib/pam_modules/unix_cred/ |
H A D | unix_cred.c | 231 char pwbuf[NSS_BUFLEN_PASSWD]; local 304 if (getpwnam_r(user, &pwd, pwbuf, sizeof (pwbuf)) == NULL) {
|