Lines Matching refs:auth
93 kerb5_setup(pw, promptp, auth)
96 sudo_auth *auth;
106 sudo_context = ((sudo_krb5_datap) auth->data)->sudo_context;
107 princ = ((sudo_krb5_datap) auth->data)->princ;
111 * API does not currently provide this unless the auth is standalone.
115 "%s: unable to unparse princ ('%s'): %s", auth->name,
132 kerb5_init(pw, auth)
134 sudo_auth *auth;
142 auth->data = (void *) &sudo_krb5_data; /* Stash all our data here */
156 "%s: unable to parse '%s': %s", auth->name, pw->pw_name,
167 "%s: unable to resolve ccache: %s", auth->name,
178 kerb5_verify(pw, pass, auth)
181 sudo_auth *auth;
188 sudo_context = ((sudo_krb5_datap) auth->data)->sudo_context;
189 princ = ((sudo_krb5_datap) auth->data)->princ;
190 ccache = ((sudo_krb5_datap) auth->data)->ccache;
197 kerb5_verify(pw, pass, auth)
200 sudo_auth *auth;
209 sudo_context = ((sudo_krb5_datap) auth->data)->sudo_context;
210 princ = ((sudo_krb5_datap) auth->data)->princ;
211 ccache = ((sudo_krb5_datap) auth->data)->ccache;
217 "%s: unable to allocate options: %s", auth->name,
233 "%s: unable to get credentials: %s", auth->name,
240 if ((error = verify_krb_v5_tgt(sudo_context, creds, auth->name)))
246 "%s: unable to initialize ccache: %s", auth->name,
250 "%s: unable to store cred in ccache: %s", auth->name,
269 kerb5_cleanup(pw, auth)
271 sudo_auth *auth;
277 sudo_context = ((sudo_krb5_datap) auth->data)->sudo_context;
278 princ = ((sudo_krb5_datap) auth->data)->princ;
279 ccache = ((sudo_krb5_datap) auth->data)->ccache;