Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c260 struct passwd_entry *old_pwd; in proc_domain() local
273 old_pwd = get_old_info(yppwd->newpw.pw_name, domain); in proc_domain()
274 if (NULL == old_pwd) { in proc_domain()
282 ans = proc_request(yppwd, old_pwd, root_on_master, domain); in proc_domain()
283 free_pwd_entry(old_pwd); in proc_domain()
301 proc_request(struct yppasswd *yppwd, struct passwd_entry *old_pwd, in proc_request() argument
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()
316 ans = modify_ent(yppwd, old_pwd, root_on_master, domain); in proc_request()
325 old_pwd->pwd_str = create_pwd_str(old_pwd, FALSE); in proc_request()
[all …]