Lines Matching refs:pwd
38 #include <pwd.h>
100 struct passwd *pwd;
153 if (p->pwd)
154 free_pwd(p->pwd);
299 pw = ldapbuf->pwd;
428 res = dup_pw(&ldapbuf->pwd, getpwnam_from(name, rep, REP_LDAP));
555 char *pwd, *val;
594 ldapbuf->pwd);
607 pwd = crypt(p->data.val_s, salt);
613 strlen(pwd) + sizeof ("{crypt}");
620 LOCKSTRING, pwd);
623 cryptlen = strlen(pwd) +
630 "{crypt}%s", pwd);
726 pwd = malloc(len);
727 if (pwd == NULL) {
730 (void) strlcpy(pwd, "{crypt}", len);
731 (void) strlcat(pwd, LOCKSTRING, len);
732 (void) strlcat(pwd, spw->sp_pwdp, len);
734 spw->sp_pwdp = pwd;
762 pwd = malloc(len);
763 if (pwd == NULL) {
767 (void) strlcpy(pwd, "{crypt}", len);
768 (void) strlcat(pwd, spw->sp_pwdp +
771 spw->sp_pwdp = pwd;
1053 const char *pwd, int *pwd_status, int flags)
1070 /* for admin shadow update, dn and pwd will be set later in libsldap */
1073 if (dn == NULL || pwd == NULL)
1076 credp->cred.unix_cred.passwd = strdup(pwd);