Lines Matching refs:ent
56 SIAENTITY *ent = NULL; in sys_auth_passwd() local
64 if (sia_ses_init(&ent, saved_argc, saved_argv, host, authctxt->user, in sys_auth_passwd()
68 if ((ret = sia_ses_authent(NULL, pass, ent)) != SIASUCCESS) { in sys_auth_passwd()
72 sia_ses_release(&ent); in sys_auth_passwd()
77 sia_ses_release(&ent); in sys_auth_passwd()
85 SIAENTITY *ent = NULL; in session_setup_sia() local
90 if (sia_ses_init(&ent, saved_argc, saved_argv, host, pw->pw_name, in session_setup_sia()
94 if (sia_make_entity_pwd(pw, ent) != SIASUCCESS) { in session_setup_sia()
95 sia_ses_release(&ent); in session_setup_sia()
99 ent->authtype = SIA_A_NONE; in session_setup_sia()
100 if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS) in session_setup_sia()
104 if (sia_ses_launch(sia_collect_trm, ent) != SIASUCCESS) in session_setup_sia()
108 sia_ses_release(&ent); in session_setup_sia()