Searched refs:pu (Results 1 - 3 of 3) sorted by relevance
/dovecot/src/auth/ |
H A D | passdb-passwd-file.c | 53 const struct passwd_user *pu, 57 *crypted_pass_r = pu->password != NULL ? pu->password : ""; 66 if (pu->extra_fields != NULL) { 67 if (passwd_file_add_extra_fields(request, pu->extra_fields) < 0) 80 struct passwd_user *pu; local 85 module->username_format, &pu); 92 if (passwd_file_save_results(request, pu, &crypted_pass, &scheme) < 0) { 111 struct passwd_user *pu; local 116 module->username_format, &pu); 52 passwd_file_save_results(struct auth_request *request, const struct passwd_user *pu, const char **crypted_pass_r, const char **scheme_r) argument [all...] |
H A D | db-passwd-file.c | 33 struct passwd_user *pu; local 44 pu = p_new(pw->pool, struct passwd_user, 1); 57 pu->password = p_strconcat(pw->pool, "{PLAIN-MD5}", 60 pu->password = p_strconcat(pw->pool, "{DIGEST-MD5}", 62 if (strlen(pu->password) != 32 + 12) { 69 pu->password = p_strconcat(pw->pool, "{CRYPT}", 73 pu->password = p_strdup(pw->pool, pass); 76 pu->uid = (uid_t)-1; 77 pu->gid = (gid_t)-1; 84 pu [all...] |
H A D | userdb-passwd-file.c | 71 struct passwd_user *pu; local 75 module->username_format, &pu); 76 if (ret <= 0 || pu->uid == 0) { 82 if (pu->uid != (uid_t)-1) { 84 dec2str(pu->uid)); 86 if (pu->gid != (gid_t)-1) { 88 dec2str(pu->gid)); 91 if (pu->home != NULL) 92 auth_request_set_userdb_field(auth_request, "home", pu->home); 94 if (pu [all...] |
Completed in 7 milliseconds