Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c264 struct passwd_entry *old_pwd; in proc_domain() local
277 old_pwd = get_old_info(yppwd->newpw.pw_name, domain); in proc_domain()
278 if (NULL == old_pwd) { in proc_domain()
286 ans = proc_request(yppwd, old_pwd, root_on_master, domain); in proc_domain()
287 free_pwd_entry(old_pwd); in proc_domain()
305 proc_request(struct yppasswd *yppwd, struct passwd_entry *old_pwd, in proc_request() argument
312 if ((0 != strcmp(crypt(yppwd->oldpass, old_pwd->pw_passwd), in proc_request()
313 old_pwd->pw_passwd)) && !root_on_master) { in proc_request()
320 ans = modify_ent(yppwd, old_pwd, root_on_master, domain); in proc_request()
329 old_pwd->pwd_str = create_pwd_str(old_pwd, FALSE); in proc_request()
[all …]