Searched defs:pwbuf (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dimport_name.c133 char pwbuf[BUFSIZ]; local
157 if (k5_getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw) == 0)
/illumos-gate/usr/src/lib/pam_modules/smbfs/
H A Dsmbfs_login.c63 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/uts/common/fs/smbsrv/
H A Dsmb_tree_connect.c275 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/passwdutil/
H A Dnss_attr.c65 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 Dfiles_attr.c77 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/nsswitch/nis/common/
H A Dgetgrent.c261 char pwbuf[NSS_BUFLEN_PASSWD]; local
276 if ((getpwnam_r(argp->username, &pw, pwbuf, sizeof (pwbuf)) == NULL) ||
/illumos-gate/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c194 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/krb5/os/
H A Dkuserok.c281 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/profile/
H A Dprof_file.c223 char pwbuf[BUFSIZ]; local
226 if (!k5_getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw)
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dnetnamer.c316 char pwbuf[NSS_LINELEN_PASSWD]; local
340 if ((getpwuid_r(uidnu, &pw, pwbuf, sizeof (pwbuf))) == NULL) {
/illumos-gate/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c419 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/cmd/allocate/
H A Dadd_allocatable.c70 char pwbuf[NSS_LINELEN_PASSWD]; local
119 if ((getpwuid_r(uid, &pwd, pwbuf, sizeof (pwbuf))) == NULL) {
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dchkauthattr.c403 char pwbuf[NSS_BUFLEN_PASSWD]; local
411 if (getpwnam_r(user, &pw, pwbuf, sizeof (pwbuf)) == NULL) {
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c106 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 Dsmb_logon.c625 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/lib/pam_modules/authtok_check/
H A Dauthtok_check.c710 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/librestart/common/
H A Dlibrestart.h291 char *pwbuf; member in struct:method_context
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dctx.c1500 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 Dsvr_principal.c1472 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/lib/smbsrv/libsmb/common/
H A Dsmb_pwdutil.c259 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/cmd/zlogin/
H A Dzlogin.c996 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/cmd/fs.d/nfs/mountd/
H A Dmountd.c2191 char *pwbuf = alloca(pw_size); local
2195 if (getpwuid_r(uid, &pwd, pwbuf, pw_size) == NULL)
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c1539 char pwbuf[1024]; /* XXX should be NSS_BUFLEN_PASSWD */ local
1565 if (getpwuid_r(uid, &pw, pwbuf, sizeof (pwbuf)) == NULL) {
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c2119 char pwbuf[MAXLINE]; local
2148 } else if (getpwuid_r(statb.st_uid, &pw, pwbuf,
2149 sizeof (pwbuf), &pwp) != 0) {

Completed in 201 milliseconds