Home
last modified time | relevance | path

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

/freebsd/lib/libc/rpc/
H A Dclnt_raw.c131 client->cl_auth = authnone_create(); in clnt_raw_create()
165 (! AUTH_MARSHALL(h->cl_auth, xdrs)) || in clnt_raw_call()
206 if (! AUTH_VALIDATE(h->cl_auth, &msg.acpted_rply.ar_verf)) { in clnt_raw_call()
211 if (AUTH_REFRESH(h->cl_auth, &msg)) in clnt_raw_call()
216 if (! AUTH_VALIDATE(h->cl_auth, &msg.acpted_rply.ar_verf)) { in clnt_raw_call()
H A Dclnt_dg.c285 cl->cl_auth = authnone_create(); in clnt_dg_create()
399 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_dg_call()
402 (! AUTH_MARSHALL(cl->cl_auth, xdrs)) || in clnt_dg_call()
409 if (!__rpc_gss_wrap(cl->cl_auth, cu->cu_outhdr, in clnt_dg_call()
441 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_dg_call()
516 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) in clnt_dg_call()
538 if (! AUTH_VALIDATE(cl->cl_auth, in clnt_dg_call()
541 cl->cl_auth->ah_cred.oa_flavor in clnt_dg_call()
563 if (cl->cl_auth->ah_cred.oa_flavor in clnt_dg_call()
565 if (!__rpc_gss_unwrap(cl->cl_auth, in clnt_dg_call()
[all …]
H A Dkey_call.c335 auth_destroy(kcp->client->cl_auth); in getkeyserv_handle()
336 kcp->client->cl_auth = in getkeyserv_handle()
338 if (kcp->client->cl_auth == NULL) { in getkeyserv_handle()
394 kcp->client->cl_auth = authsys_create("", kcp->uid, 0, 0, NULL); in getkeyserv_handle()
395 if (kcp->client->cl_auth == NULL) { in getkeyserv_handle()
H A Dclnt_vc.c294 cl->cl_auth = authnone_create(); in clnt_vc_create()
350 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_vc_call()
353 (! AUTH_MARSHALL(cl->cl_auth, xdrs)) || in clnt_vc_call()
363 if (! __rpc_gss_wrap(cl->cl_auth, ct->ct_u.ct_mcallc, in clnt_vc_call()
418 if (! AUTH_VALIDATE(cl->cl_auth, in clnt_vc_call()
423 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_vc_call()
426 reply_stat = __rpc_gss_unwrap(cl->cl_auth, in clnt_vc_call()
444 if (refreshes-- && AUTH_REFRESH(cl->cl_auth, &reply_msg)) in clnt_vc_call()
/freebsd/usr.sbin/rpc.umntall/
H A Drpc.umntall.c182 clp->cl_auth = authunix_create_default(); in do_umntall()
188 auth_destroy(clp->cl_auth); in do_umntall()
210 clp->cl_auth = authsys_create_default(); in do_umount()
215 auth_destroy(clp->cl_auth); in do_umount()
/freebsd/lib/libypclnt/
H A Dypclnt_passwd.c187 clnt->cl_auth = authunix_create_default(); in yppasswd_local()
216 auth_destroy(clnt->cl_auth); in yppasswd_local()
268 clnt->cl_auth = authunix_create_default(); in yppasswd_remote()
297 auth_destroy(clnt->cl_auth); in yppasswd_remote()
/freebsd/lib/librpcsvc/
H A Dyp_update.c102 if ((clnt->cl_auth = (AUTH *)authdes_create(netname, WINDOW, NULL, in yp_update()
194 auth_destroy(clnt->cl_auth); in yp_update()
/freebsd/usr.sbin/ypbind/
H A Dyp_ping.c259 clnt->cl_auth = authunix_create_default(); in __yp_ping()
291 auth_destroy(clnt->cl_auth); in __yp_ping()
/freebsd/usr.sbin/rpc.lockd/
H A Dkern.c239 if (cl->cl_auth != NULL) in set_auth()
240 cl->cl_auth->ah_ops->ah_destroy(cl->cl_auth); in set_auth()
241 cl->cl_auth = authunix_create(hostname, in set_auth()
/freebsd/lib/librpcsec_gss/
H A Drpcsec_gss.c210 save_auth = clnt->cl_auth; in rpc_gss_seccreate()
212 clnt->cl_auth = auth; in rpc_gss_seccreate()
214 clnt->cl_auth = save_auth; in rpc_gss_seccreate()
218 clnt->cl_auth = save_auth; in rpc_gss_seccreate()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.c77 client->cl_auth = auth; in dotest()
H A Dtst.call3.c371 mountclient->cl_auth = auth; in dotest()
394 client->cl_auth = auth; in dotest()
/freebsd/sys/rpc/
H A Dclnt_nl.c227 .cl_auth = authnone_create(), in client_nl_create()
237 rv = AUTH_MARSHALL(cl->cl_auth, 0, &xdrs, NULL); in client_nl_create()
287 auth = cl->cl_auth; in clnt_nl_call()
H A Dclnt_bck.c170 cl->cl_auth = authnone_create(); in clnt_bck_create()
223 auth = cl->cl_auth; in clnt_bck_call()
H A Dclnt.h123 AUTH *cl_auth; /* authenticator */ member
H A Dclnt_dg.c311 cl->cl_auth = authnone_create(); in clnt_dg_create()
368 auth = cl->cl_auth; in clnt_dg_call()
H A Dclnt_vc.c259 cl->cl_auth = authnone_create(); in clnt_vc_create()
321 auth = cl->cl_auth; in clnt_vc_call()
H A Dclnt_rc.c119 cl->cl_auth = authnone_create(); in clnt_reconnect_create()
/freebsd/usr.sbin/ypset/
H A Dypset.c94 client->cl_auth = authunix_create_default(); in bind_tohost()
/freebsd/sbin/umount/
H A Dumount.c447 clp->cl_auth = authsys_create_default(); in umountfs()
468 auth_destroy(clp->cl_auth); in umountfs()
/freebsd/include/rpc/
H A Dclnt.h92 AUTH *cl_auth; /* authenticator */ member
/freebsd/tools/regression/rpcsec_gss/
H A Drpctest.c136 client->cl_auth = auth; in test_client()
/freebsd/sbin/mount_nfs/
H A Dmount_nfs.c957 clp->cl_auth = authsys_create_default(); in nfs_tryproto()
962 auth_destroy(clp->cl_auth); in nfs_tryproto()
/freebsd/usr.bin/quota/
H A Dquota.c668 client->cl_auth = authunix_create_default(); in callaurpc()
/freebsd/sys/nlm/
H A Dnlm_prot_impl.c545 rpcb->cl_auth = nlm_auth; in nlm_get_rpc()
555 rpcb->cl_auth = nlm_auth; in nlm_get_rpc()