Home
last modified time | relevance | path

Searched refs:pw_passwd (Results 1 – 25 of 28) sorted by relevance

12

/titanic_41/usr/src/cmd/pwconv/
H A Dpwconv.c245 if (!pwdp->pw_passwd || in main()
246 (pwdp->pw_passwd && in main()
247 *pwdp->pw_passwd == NULL)) { in main()
257 sp->sp_pwdp = pwdp->pw_passwd; in main()
258 pwdp->pw_passwd = pwdflr; in main()
310 if ((!pwdp->pw_passwd || in main()
311 (pwdp->pw_passwd && *pwdp->pw_passwd == NULL)) && in main()
317 if (pwdp->pw_passwd && *pwdp->pw_passwd) { in main()
318 if (strcmp(pwdp->pw_passwd, pwdflr)) { in main()
319 sp->sp_pwdp = pwdp->pw_passwd; in main()
[all …]
/titanic_41/usr/src/lib/nsswitch/ldap/common/
H A Dgetspent.c76 char *pw_passwd = NULL; in _nss_ldap_shadow2str() local
103 pw_passwd = NOPWDRTR; in _nss_ldap_shadow2str()
114 pw_passwd = NOPWDRTR; in _nss_ldap_shadow2str()
116 pw_passwd = tmp + strlen("{crypt}"); in _nss_ldap_shadow2str()
117 if (strcmp(pw_passwd, in _nss_ldap_shadow2str()
119 *pw_passwd = '\0'; in _nss_ldap_shadow2str()
123 pw_passwd = NOPWDRTR; in _nss_ldap_shadow2str()
126 len += strlen(pw_passwd); in _nss_ldap_shadow2str()
215 uid[0], pw_passwd, last_str, min_str, max_str, warning_str, in _nss_ldap_shadow2str()
219 uid[0], pw_passwd, flag_str); in _nss_ldap_shadow2str()
/titanic_41/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c115 char *pw_passwd; member
181 if ((!validstr(yppwd.newpw.pw_passwd, CRYPTPWSIZE)) || in shim_changepasswd()
268 for (p = yppwd->newpw.pw_passwd; (*p != '\0'); p++) in proc_domain()
308 if ((0 != strcmp(crypt(yppwd->oldpass, old_pwd->pw_passwd), in proc_request()
309 old_pwd->pw_passwd)) && !root_on_master) { in proc_request()
719 if (NULL != old_ent->pw_passwd) in modify_ent()
720 sfree(old_ent->pw_passwd); in modify_ent()
721 old_ent->pw_passwd = strdup(yppwd->newpw.pw_passwd); in modify_ent()
722 if (NULL == old_ent->pw_passwd) { in modify_ent()
748 p = yppwd->newpw.pw_passwd; in get_change_list()
[all …]
/titanic_41/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c148 (!validstr(yppwd.newpw.pw_passwd, cryptpwsize)) || in changepasswd()
436 oldpass_crypt = cryptoldpasswd(yppwd.oldpass, newpw.pw_passwd, in changepasswd()
442 p = newpw.pw_passwd; in changepasswd()
447 (strcmp(oldpass_crypt, newpw.pw_passwd) != 0)) in changepasswd()
514 oldpass_crypt = cryptoldpasswd(yppwd.oldpass, opwd.pw_passwd, in changepasswd()
518 if (!root_on_master && opwd.pw_passwd && *opwd.pw_passwd && in changepasswd()
519 (strcmp(oldpass_crypt, opwd.pw_passwd) != 0)) { in changepasswd()
534 yppwd.newpw.pw_passwd); in changepasswd()
551 for (p = newpw.pw_passwd; (*p != '\0'); p++) in changepasswd()
578 ospwd.sp_pwdp = newpw.pw_passwd; in changepasswd()
[all …]
H A Dyppasswdxdr.c41 if (!xdr_wrapstring(xdrs, &pw->pw_passwd)) { in xdr_passwd()
/titanic_41/usr/src/lib/passwdutil/
H A Dutils.c64 if (pw->pw_passwd) free(pw->pw_passwd); in free_pwd()
93 if (s->pw_passwd) { in dup_pw()
94 if (((*d)->pw_passwd = strdup(s->pw_passwd)) == NULL) in dup_pw()
H A Dnis_attr.c109 pwd->pw_passwd = strsep(&nis, ":"); in nis_to_pwd()
228 if ((w->data.val_s = strdup(pw->pw_passwd)) == NULL) in nis_getattr()
347 if (nisbuf->pwd->pw_passwd[0] == '#' && in nis_getpwnam()
348 nisbuf->pwd->pw_passwd[1] == '#') { in nis_getpwnam()
349 char *key = &nisbuf->pwd->pw_passwd[2]; in nis_getpwnam()
363 nisbuf->pwd->pw_passwd = strsep(&p, ":"); in nis_getpwnam()
397 nisbuf->pwd->pw_passwd, nisbuf->pwd); in nis_update()
410 nisbuf->pwd->pw_passwd = crypt(p->data.val_s, salt); in nis_update()
H A Dswitch_utils.c323 passwd->pw_passwd = ""; in str2passwd()
334 passwd->pw_passwd = p = gettok(&next); /* password */ in str2passwd()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dputpwent.c45 p->pw_passwd ? p->pw_passwd : ""); in putpwent()
H A Dgetpwnam_r.c279 passwd->pw_passwd = ""; in str2passwd()
290 passwd->pw_passwd = p = gettok(&next); /* password */ in str2passwd()
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dpwd.h39 char *pw_passwd; member
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dpwdauth.c60 enpwp = pwp->pw_passwd; in pwdauth()
/titanic_41/usr/src/lib/libbc/inc/5include/
H A Dpwd.h48 char *pw_passwd; member
/titanic_41/usr/src/lib/libnsl/yp/
H A Dyppasswd_xdr.c39 if (!xdr_wrapstring(xdrsp, &pw->pw_passwd)) in xdr_passwd()
/titanic_41/usr/src/lib/libbc/libc/compat/4.1/
H A Dgetpw.c42 strcat(buf, pw->pw_passwd); in getpw()
/titanic_41/usr/src/lib/nsswitch/compat/common/
H A Dgetpwent.c212 pw->pw_name, pw->pw_passwd, pw->pw_age);
215 pw->pw_name, pw->pw_passwd);
/titanic_41/usr/src/lib/libbc/libc/compat/sys5/
H A Dgetpw.c42 strcat(buf, pw->pw_passwd); in getpw()
/titanic_41/usr/src/lib/libpkg/common/
H A Dncgrpw.c512 if (pwd->pw_passwd == NULL) { in dup_pw_ent()
517 } else if ((pwd->pw_passwd = strdup(pwd->pw_passwd)) == NULL) { in dup_pw_ent()
/titanic_41/usr/src/head/
H A Dpwd.h50 char *pw_passwd; member
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dmisc.c163 copy->pw_passwd = xstrdup(pw->pw_passwd); in pwcopy()
193 xfree(p->pw_passwd); in pwfree()
/titanic_41/usr/src/cmd/ssh/sshd/
H A Dauth-passwd.c169 pw_password = pw->pw_passwd; in auth_password()
/titanic_41/usr/src/cmd/oamuser/user/
H A Dusermod.c131 npw->pw_passwd = strcpmalloc(opw->pw_passwd);
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c1353 pw->pw_passwd = spwd->sp_pwdp;
1360 if (pw->pw_passwd == NULL || strlen(pw->pw_passwd) < 2 ||
1361 strcmp(crypt(passwd, pw->pw_passwd), pw->pw_passwd) != 0)
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c173 need += strlen(pw->pw_passwd) + 1; in irp_marshall_pw()
205 strcat(*buffer, pw->pw_passwd); strcat(*buffer, fieldsep); in irp_marshall_pw()
362 pw->pw_passwd = pass; in irp_unmarshall_pw()
2258 pw->pw_name, pw->pw_passwd, (long)pw->pw_uid, in main()
/titanic_41/usr/src/cmd/logins/
H A Dlogins.c1113 lpw->pw.pw_passwd = strdup(pw->pw_passwd); in fill_localpw()

12