Home
last modified time | relevance | path

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

/freebsd-14.2/lib/libc/rpc/
H A Dclnt_raw.c135 client->cl_auth = authnone_create(); in clnt_raw_create()
169 (! AUTH_MARSHALL(h->cl_auth, xdrs)) || in clnt_raw_call()
210 if (! AUTH_VALIDATE(h->cl_auth, &msg.acpted_rply.ar_verf)) { in clnt_raw_call()
215 if (AUTH_REFRESH(h->cl_auth, &msg)) in clnt_raw_call()
220 if (! AUTH_VALIDATE(h->cl_auth, &msg.acpted_rply.ar_verf)) { in clnt_raw_call()
H A Dclnt_dg.c289 cl->cl_auth = authnone_create(); in clnt_dg_create()
403 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_dg_call()
406 (! AUTH_MARSHALL(cl->cl_auth, xdrs)) || in clnt_dg_call()
413 if (!__rpc_gss_wrap(cl->cl_auth, cu->cu_outhdr, in clnt_dg_call()
445 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_dg_call()
520 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) in clnt_dg_call()
542 if (! AUTH_VALIDATE(cl->cl_auth, in clnt_dg_call()
545 cl->cl_auth->ah_cred.oa_flavor in clnt_dg_call()
567 if (cl->cl_auth->ah_cred.oa_flavor in clnt_dg_call()
569 if (!__rpc_gss_unwrap(cl->cl_auth, in clnt_dg_call()
[all …]
H A Dkey_call.c336 auth_destroy(kcp->client->cl_auth); in getkeyserv_handle()
337 kcp->client->cl_auth = in getkeyserv_handle()
339 if (kcp->client->cl_auth == NULL) { in getkeyserv_handle()
395 kcp->client->cl_auth = authsys_create("", kcp->uid, 0, 0, NULL); in getkeyserv_handle()
396 if (kcp->client->cl_auth == NULL) { in getkeyserv_handle()
H A Dclnt_vc.c299 cl->cl_auth = authnone_create(); in clnt_vc_create()
355 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_vc_call()
358 (! AUTH_MARSHALL(cl->cl_auth, xdrs)) || in clnt_vc_call()
368 if (! __rpc_gss_wrap(cl->cl_auth, ct->ct_u.ct_mcallc, in clnt_vc_call()
423 if (! AUTH_VALIDATE(cl->cl_auth, in clnt_vc_call()
428 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_vc_call()
431 reply_stat = __rpc_gss_unwrap(cl->cl_auth, in clnt_vc_call()
449 if (refreshes-- && AUTH_REFRESH(cl->cl_auth, &reply_msg)) in clnt_vc_call()
/freebsd-14.2/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-14.2/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-14.2/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-14.2/usr.sbin/ypbind/
H A Dyp_ping.c266 clnt->cl_auth = authunix_create_default(); in __yp_ping()
298 auth_destroy(clnt->cl_auth); in __yp_ping()
/freebsd-14.2/usr.sbin/rpc.lockd/
H A Dkern.c240 if (cl->cl_auth != NULL) in set_auth()
241 cl->cl_auth->ah_ops->ah_destroy(cl->cl_auth); in set_auth()
242 cl->cl_auth = authunix_create(hostname, in set_auth()
/freebsd-14.2/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-14.2/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-14.2/sys/rpc/
H A Dclnt.h133 AUTH *cl_auth; /* authenticator */ member
156 AUTH *cl_auth; /* authenticator */
H A Dclnt_bck.c175 cl->cl_auth = authnone_create(); in clnt_bck_create()
228 auth = cl->cl_auth; in clnt_bck_call()
H A Dclnt_dg.c316 cl->cl_auth = authnone_create(); in clnt_dg_create()
373 auth = cl->cl_auth; in clnt_dg_call()
H A Dclnt_vc.c269 cl->cl_auth = authnone_create(); in clnt_vc_create()
331 auth = cl->cl_auth; in clnt_vc_call()
H A Dclnt_rc.c120 cl->cl_auth = authnone_create(); in clnt_reconnect_create()
/freebsd-14.2/usr.sbin/ypset/
H A Dypset.c95 client->cl_auth = authunix_create_default(); in bind_tohost()
/freebsd-14.2/sbin/umount/
H A Dumount.c459 clp->cl_auth = authsys_create_default(); in umountfs()
480 auth_destroy(clp->cl_auth); in umountfs()
/freebsd-14.2/include/rpc/
H A Dclnt.h95 AUTH *cl_auth; /* authenticator */ member
/freebsd-14.2/tools/regression/rpcsec_gss/
H A Drpctest.c136 client->cl_auth = auth; in test_client()
/freebsd-14.2/sbin/mount_nfs/
H A Dmount_nfs.c925 clp->cl_auth = authsys_create_default(); in nfs_tryproto()
931 auth_destroy(clp->cl_auth); in nfs_tryproto()
/freebsd-14.2/usr.bin/quota/
H A Dquota.c678 client->cl_auth = authunix_create_default(); in callaurpc()
/freebsd-14.2/sys/nlm/
H A Dnlm_prot_impl.c521 rpcb->cl_auth = nlm_auth; in nlm_get_rpc()
531 rpcb->cl_auth = nlm_auth; in nlm_get_rpc()
/freebsd-14.2/sys/kgssapi/
H A Dgsstest.c845 client->cl_auth = auth; in gsstest_3()