Lines Matching defs:as
61 auth_session_t *as;
83 if ((state.as = auth_open()) == NULL) {
94 auth_close(state.as);
99 if (auth_setitem(state.as, AUTHV_STYLE, login_style) < 0 ||
100 auth_setitem(state.as, AUTHV_NAME, pw->pw_name) < 0 ||
101 auth_setitem(state.as, AUTHV_CLASS, login_class) < 0) {
103 auth_close(state.as);
123 auth_session_t *as = ((struct bsdauth_state *) auth->data)->as;
137 if ((s = auth_challenge(as)) == NULL) {
162 authok = auth_userresponse(as, pass, 1);
175 if ((s = auth_getvalue(as, "errormsg")) != NULL)
188 auth_close(state->as);