Lines Matching refs:pwd
104 struct passwd *pwd; member
157 if (p->pwd) in free_ldapbuf()
158 free_pwd(p->pwd); in free_ldapbuf()
303 pw = ldapbuf->pwd; in ldap_getattr()
432 res = dup_pw(&ldapbuf->pwd, getpwnam_from(name, rep, REP_LDAP)); in ldap_getpwnam()
559 char *pwd, *val; in ldap_update() local
598 ldapbuf->pwd); in ldap_update()
611 pwd = crypt(p->data.val_s, salt); in ldap_update()
613 cryptlen = strlen(pwd) + sizeof ("{crypt}"); in ldap_update()
618 "{crypt}%s", pwd); in ldap_update()
710 pwd = malloc(len); in ldap_update()
711 if (pwd == NULL) { in ldap_update()
714 (void) strlcpy(pwd, "{crypt}", len); in ldap_update()
715 (void) strlcat(pwd, LOCKSTRING, len); in ldap_update()
716 (void) strlcat(pwd, spw->sp_pwdp, len); in ldap_update()
718 spw->sp_pwdp = pwd; in ldap_update()
737 pwd = malloc(len); in ldap_update()
738 if (pwd == NULL) { in ldap_update()
741 (void) strlcpy(pwd, "{crypt}", len); in ldap_update()
742 (void) strlcat(pwd, spw->sp_pwdp + in ldap_update()
745 spw->sp_pwdp = pwd; in ldap_update()
986 const char *pwd, int *pwd_status, int flags) in ldap_replaceattr() argument
1006 if (dn == NULL || pwd == NULL) in ldap_replaceattr()
1009 credp->cred.unix_cred.passwd = strdup(pwd); in ldap_replaceattr()