Home
last modified time | relevance | path

Searched refs:new_secret (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/home/
Dhomed-home-bus.c507 _cleanup_(user_record_unrefp) UserRecord *new_secret = NULL, *old_secret = NULL; in bus_home_method_change_password()
514 r = bus_message_read_secret(message, &new_secret, error); in bus_home_method_change_password()
536 r = home_passwd(h, new_secret, old_secret, error); in bus_home_method_change_password()
834 SD_BUS_ARGS("s", new_secret, "s", old_secret),
Dpam_systemd_home.c994 _cleanup_(user_record_unrefp) UserRecord *ur = NULL, *old_secret = NULL, *new_secret = NULL; in pam_sm_chauthtok()
1071 new_secret = user_record_new(); in pam_sm_chauthtok()
1072 if (!new_secret) in pam_sm_chauthtok()
1075 r = user_record_set_password(new_secret, STRV_MAKE(new_password), true); in pam_sm_chauthtok()
1093 r = bus_message_append_secret(m, new_secret); in pam_sm_chauthtok()
Dhomed-home.h195 int home_passwd(Home *h, UserRecord *new_secret, UserRecord *old_secret, sd_bus_error *error);
Dhomectl.c1684 _cleanup_(user_record_unrefp) UserRecord *old_secret = NULL, *new_secret = NULL; in passwd_home()
1717 new_secret = user_record_new(); in passwd_home()
1718 if (!new_secret) in passwd_home()
1721 r = acquire_new_password(username, new_secret, /* suggest = */ true, NULL); in passwd_home()
1737 r = bus_message_append_secret(m, new_secret); in passwd_home()
1751 … r = acquire_new_password(username, new_secret, /* suggest = */ false, NULL); in passwd_home()
Dhomed-home.c1813 UserRecord *new_secret, in home_passwd() argument
1863 r = user_record_merge_secret(merged_secret, new_secret); in home_passwd()
1867 if (!strv_isempty(new_secret->password)) { in home_passwd()
1872 r = user_record_make_hashed_password(c, new_secret->password, /* extend = */ false); in home_passwd()
Dhomed-manager-bus.c777 SD_BUS_ARGS("s", user_name, "s", new_secret, "s", old_secret),