/illumos-gate/usr/src/lib/passwdutil/ |
H A D | nss_attr.c | 65 struct pwbuf { struct 90 struct pwbuf *pwbuf; local 94 *buf = calloc(1, sizeof (struct pwbuf)); 95 pwbuf = (struct pwbuf *)*buf; 96 if (pwbuf == NULL) 113 if (pwbuf->pwd == NULL) 114 pwbuf->pwd = (struct passwd *) 116 if (pwbuf 221 struct pwbuf *pwbuf; local [all...] |
H A D | files_attr.c | 77 struct pwbuf { struct 221 struct pwbuf *pwbuf; local 224 *buf = calloc(1, sizeof (struct pwbuf)); 225 pwbuf = (struct pwbuf *)*buf; 226 if (pwbuf == NULL) 243 if (pwbuf->pwd == NULL) { 244 pwbuf->pwd = malloc(sizeof (struct passwd)); 245 if (pwbuf 334 struct pwbuf *pwbuf; local 474 struct pwbuf *pwbuf; local 643 struct pwbuf *pwbuf = (struct pwbuf *)buf; local 1097 struct pwbuf *pwbuf = (struct pwbuf *)buf; local [all...] |
/illumos-gate/usr/src/lib/pam_modules/smbfs/ |
H A D | smbfs_login.c | 63 struct passwd pwbuf; local 92 if (getpwnam_r(user, &pwbuf, buf, sizeof (buf)) == NULL) { 97 uid = pwbuf.pw_uid; 98 home = pwbuf.pw_dir;
|
/illumos-gate/usr/src/cmd/eeprom/sparc/ |
H A D | openprom.c | 419 char pwbuf[PW_SIZE + 2]; local 446 if (get_password(pwbuf, PW_SIZE)) { 448 pwbuf); 449 opp2->oprom_size = varlen2 + strlen(pwbuf); 488 char pwbuf[PW_SIZE + 2]; local 507 if (get_password(pwbuf, PW_SIZE)) { 508 (void) strcpy(opp->oprom_array + varlen, pwbuf); /* Bounded */ 509 opp->oprom_size = varlen + strlen(pwbuf); 529 static char pwbuf[256]; local 537 (void) strcpy(pwbuf, paswor [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_tree_connect.c | 275 uint8_t *pwbuf = NULL; local 283 pwbuf = smb_srm_zalloc(sr, pwlen); 285 rc = smbsr_decode_data(sr, "%#cus", sr, pwlen, pwbuf, 289 tcon->password = (char *)pwbuf;
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_pwdutil.c | 259 smb_pwbuf_t pwbuf; local 278 pwbuf.pw_pwd = smbpw; 280 while (smb_pwd_fgetent(fp, &pwbuf, SMB_PWD_GETF_ALL) != NULL) { 310 smb_pwbuf_t pwbuf; local 329 pwbuf.pw_pwd = smbpw; 331 while (smb_pwd_fgetent(fp, &pwbuf, SMB_PWD_GETF_ALL) != NULL) { 479 smb_pwbuf_t pwbuf; local 519 pwbuf.pw_pwd = &smbpw; 525 while (smb_pwd_fgetent(src, &pwbuf, SMB_PWD_GETF_ALL) != NULL) { 530 err = smb_pwd_fputent(dst, &pwbuf); 610 smb_pwd_fgetent(FILE *fp, smb_pwbuf_t *pwbuf, uint32_t flags) argument 727 smb_pwd_fputent(FILE *fp, const smb_pwbuf_t *pwbuf) argument 1000 smb_pwbuf_t pwbuf; local [all...] |
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | authtok_check.c | 710 char *pwbuf, *opwbuf; local 743 (void) pam_get_item(pamh, PAM_AUTHTOK, (void **)&pwbuf); 745 if (pwbuf == NULL) 817 pwlen = strlen(pwbuf); 829 switch (check_circular(usrname, pwbuf)) { 854 if (__check_history(usrname, pwbuf, pwu_rep) == PWU_SUCCESS) { 868 if (check_composition(pwbuf, &pwdef, pamh, flags) != 0) { 874 if (check_diff(pwbuf, opwbuf, &pwdef, pamh, flags) != 0) { 881 retcode = check_dictionary(pwbuf, &pwdef, pamh, flags);
|
/illumos-gate/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) ||
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | kuserok.c | 281 char pwbuf[BUFSIZ]; local 283 if (k5_getpwnam_r(luser, &pwx, pwbuf, sizeof(pwbuf), &pwd) != 0)
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | import_name.c | 133 char pwbuf[BUFSIZ]; local 157 if (k5_getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw) == 0)
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | chkauthattr.c | 403 char pwbuf[NSS_BUFLEN_PASSWD]; local 411 if (getpwnam_r(user, &pw, pwbuf, sizeof (pwbuf)) == NULL) {
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | netnamer.c | 316 char pwbuf[NSS_LINELEN_PASSWD]; local 340 if ((getpwuid_r(uidnu, &pw, pwbuf, sizeof (pwbuf))) == NULL) {
|
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.h | 291 char *pwbuf; member in struct:method_context
|
H A D | librestart.c | 2043 if (mcp->pwbuf != NULL && mcp->pwd.pw_uid == mcp->uid) 2046 if (mcp->pwbuf == NULL) { 2049 mcp->pwbuf = malloc(mcp->pwbufsz); 2050 if (mcp->pwbuf == NULL) 2056 pwdp = getpwuid_r(mcp->uid, &mcp->pwd, mcp->pwbuf, 2062 free(mcp->pwbuf); 2063 mcp->pwbuf = NULL; 2123 if (ci->pwbuf == NULL) { 2125 ci->pwbuf = malloc(ci->pwbufsz); 2126 if (ci->pwbuf [all...] |
/illumos-gate/usr/src/lib/pam_modules/unix_cred/ |
H A D | unix_cred.c | 194 char pwbuf[NSS_BUFLEN_PASSWD]; local 270 if (getpwnam_r(user, &pwd, pwbuf, sizeof (pwbuf)) == NULL) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 223 char pwbuf[BUFSIZ]; local 226 if (!k5_getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw)
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | add_allocatable.c | 70 char pwbuf[NSS_LINELEN_PASSWD]; local 119 if ((getpwuid_r(uid, &pwd, pwbuf, sizeof (pwbuf))) == NULL) {
|
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/ |
H A D | changepasswd.c | 106 char pwbuf[NSS_LINELEN_PASSWD], spbuf[NSS_LINELEN_SHADOW]; local 334 while (fgets(pwbuf, NSS_LINELEN_PASSWD, opwfp)) { 341 if (doneflag || strncmp(name, pwbuf, namelen)) { 342 if (fputs(pwbuf, npwfp) == EOF) {
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_logon.c | 625 char pwbuf[1024]; local 636 if (getpwuid_r(smbpw->pw_uid, &pw, pwbuf, sizeof (pwbuf)) == NULL) 926 char pwbuf[1024]; local 944 if (getpwuid_r(guest_uid, &pw, pwbuf, sizeof (pwbuf)) == NULL)
|
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 996 zone_get_user_pw(const char *user_cmd, struct passwd *pwent, char *pwbuf, argument 1023 if (str2passwd(pwline, sizeof (pwline), pwent, pwbuf, pwbuflen) == 0) 1248 char pwbuf[NSS_BUFLEN_PASSWD + 1]; local 1261 pw = zone_get_user_pw(user_cmd, &pwent, pwbuf, sizeof (pwbuf));
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | ctx.c | 1500 char pwbuf[NSS_BUFLEN_PASSWD]; local 1512 if (getpwuid_r(getuid(), &pw, pwbuf, sizeof (pwbuf)) != NULL) {
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_principal.c | 1472 char pwbuf[256]; local 1476 strncpy (pwbuf, password, pwlen); 1477 pwbuf[pwlen] = '\n'; 1478 pwbuf[pwlen + 1] = '\0'; 1490 ret = kadm5_launch_task (handle->context, path, argv, pwbuf);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 2191 char *pwbuf = alloca(pw_size); local 2195 if (getpwuid_r(uid, &pwd, pwbuf, pw_size) == NULL)
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 2119 char pwbuf[MAXLINE]; local 2148 } else if (getpwuid_r(statb.st_uid, &pw, pwbuf, 2149 sizeof (pwbuf), &pwp) != 0) {
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | rc_node.c | 1539 char pwbuf[1024]; /* XXX should be NSS_BUFLEN_PASSWD */ local 1565 if (getpwuid_r(uid, &pw, pwbuf, sizeof (pwbuf)) == NULL) {
|