Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_handle.c134 kwarn_clnt->cl_auth = authsys_create("", getuid(), 0, 0, NULL);
135 if (kwarn_clnt->cl_auth == NULL) {
150 auth_destroy(kwarn_clnt->cl_auth);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_dg.c239 cl->cl_auth = authnone_create(); in clnt_dg_create()
314 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_dg_call()
317 (!AUTH_MARSHALL(cl->cl_auth, xdrs)) || in clnt_dg_call()
326 if (!__rpc_gss_wrap(cl->cl_auth, cu->cu_outbuf, in clnt_dg_call()
465 if (cl->cl_auth->ah_cred.oa_flavor == in clnt_dg_call()
467 cl->cl_auth->ah_cred.oa_flavor == in clnt_dg_call()
566 if (!AUTH_VALIDATE(cl->cl_auth, in clnt_dg_call()
570 } else if (cl->cl_auth->ah_cred.oa_flavor != in clnt_dg_call()
578 } else if (!__rpc_gss_unwrap(cl->cl_auth, &reply_xdrs, in clnt_dg_call()
592 AUTH_REFRESH(cl->cl_auth, &reply_msg)) in clnt_dg_call()
[all …]
H A Dclnt_raw.c127 client->cl_auth = authnone_create(); in clnt_raw_create()
167 (!AUTH_MARSHALL(h->cl_auth, &xdrs)) || in clnt_raw_call()
202 if (!AUTH_VALIDATE(h->cl_auth, &msg.acpted_rply.ar_verf)) { in clnt_raw_call()
212 if (AUTH_REFRESH(h->cl_auth, &msg)) in clnt_raw_call()
249 (!AUTH_MARSHALL(h->cl_auth, &xdrs)) || in clnt_raw_send()
H A Dkey_call.c914 auth_destroy(clnt->cl_auth); in key_call_ext()
916 clnt->cl_auth = authsys_create_ruid(); in key_call_ext()
918 clnt->cl_auth = authnone_create(); in key_call_ext()
934 auth_destroy(clnt->cl_auth); in key_call_ext()
936 clnt->cl_auth = authsys_create_ruid(); in key_call_ext()
938 clnt->cl_auth = authnone_create(); in key_call_ext()
H A Dclnt_door.c144 cl->cl_auth = authnone_create(); in clnt_door_create()
215 (!AUTH_MARSHALL(cl->cl_auth, &xdrs)) || in clnt_door_call()
252 if (!AUTH_VALIDATE(cl->cl_auth, in clnt_door_call()
272 AUTH_REFRESH(cl->cl_auth, &reply_msg)) { in clnt_door_call()
H A Dclnt_vc.c369 cl->cl_auth = authnone_create(); in _clnt_vc_create_timed()
685 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_vc_call()
688 (!AUTH_MARSHALL(cl->cl_auth, xdrs)) || in clnt_vc_call()
699 if (!__rpc_gss_wrap(cl->cl_auth, ct->ct_mcall, in clnt_vc_call()
758 if (!AUTH_VALIDATE(cl->cl_auth, in clnt_vc_call()
762 } else if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_vc_call()
768 } else if (!__rpc_gss_unwrap(cl->cl_auth, xdrs, xdr_results, in clnt_vc_call()
780 if (refreshes-- && AUTH_REFRESH(cl->cl_auth, &reply_msg)) in clnt_vc_call()
827 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_vc_send()
830 (!AUTH_MARSHALL(cl->cl_auth, xdrs)) || in clnt_vc_send()
[all …]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_update.c112 client->cl_auth = authdes_seccreate(ypmastername, WINDOW, in yp_update()
115 if (client->cl_auth == NULL) { in yp_update()
143 auth_destroy(client->cl_auth); in yp_update()
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dmount.c417 root_CLIENT->cl_auth = in nfs4init()
428 AUTH_DESTROY(root_CLIENT->cl_auth); in nfs4init()
571 AUTH_DESTROY(root_CLIENT->cl_auth); in boot_nfs_mountroot()
782 root_CLIENT->cl_auth = in boot_nfs_mountroot()
793 AUTH_DESTROY(root_CLIENT->cl_auth); in boot_nfs_mountroot()
806 root_CLIENT->cl_auth = in boot_nfs_mountroot()
817 AUTH_DESTROY(root_CLIENT->cl_auth); in boot_nfs_mountroot()
H A Dclnt_btcp.c265 cl->cl_auth = authnone_create(); in clntbtcp_create()
323 (! AUTH_MARSHALL(cl->cl_auth, xdrs, NULL)) || in clntbtcp_call()
371 if (!AUTH_VALIDATE(cl->cl_auth, in clntbtcp_call()
386 if (nrefreshes-- && AUTH_REFRESH(cl->cl_auth, &reply_msg, in clntbtcp_call()
H A Dclnt_budp.c196 cl->cl_auth = authnone_create(); in clntbudp_bufcreate()
264 (! AUTH_MARSHALL(cl->cl_auth, xdrs, NULL)) || in clntbudp_call()
369 if (! AUTH_VALIDATE(cl->cl_auth, in clntbudp_call()
387 AUTH_REFRESH(cl->cl_auth, NULL, NULL)) { in clntbudp_call()
H A Dclnt.h64 AUTH *cl_auth; /* authenticator */ member
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dkey_call.c288 auth_destroy(client->cl_auth); in key_call()
289 client->cl_auth = authloopback_create(); in key_call()
290 if (client->cl_auth == NULL) { in key_call()
302 auth_destroy(client->cl_auth); in key_call()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypset.c276 client->cl_auth = authsys_create("", geteuid(), 0, 0, NULL); in send_message()
277 if (client->cl_auth == NULL) { in send_message()
314 auth_destroy((client)->cl_auth); in send_message()
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_handle.c133 clnt->cl_auth = authsys_create("", getuid(), 0, 0, NULL);
134 if (clnt->cl_auth == NULL) {
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_rdma.c110 (authh->cl_auth->ah_cred.oa_flavor == RPCSEC_GSS)
249 h->cl_auth = authkern_create(); in clnt_rdma_kcreate()
262 auth_destroy(h->cl_auth); in clnt_rdma_kcreate()
347 if (h->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_compose_rpcmsg()
366 (!AUTH_MARSHALL(h->cl_auth, xdrs, p->cku_cred)) || in clnt_compose_rpcmsg()
379 if (!AUTH_WRAP(h->cl_auth, (caddr_t)p->cku_rpchdr, in clnt_compose_rpcmsg()
734 if (rpc_gss_get_service_type(h->cl_auth) == in clnt_rdma_kcallit()
736 rpc_gss_get_service_type(h->cl_auth) == in clnt_rdma_kcallit()
1079 if (!AUTH_VALIDATE(h->cl_auth, in clnt_rdma_kcallit()
1086 } else if (!AUTH_UNWRAP(h->cl_auth, reply_xdrp, in clnt_rdma_kcallit()
[all …]
H A Dclnt_clts.c334 h->cl_auth = authkern_create(); in clnt_clts_kcreate()
370 auth_destroy(h->cl_auth); in clnt_clts_kcreate()
517 if (h->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) { in clnt_clts_kcallit_addr()
536 (!AUTH_MARSHALL(h->cl_auth, xdrs, p->cku_cred)) || in clnt_clts_kcallit_addr()
553 if (!AUTH_WRAP(h->cl_auth, (caddr_t)p->cku_rpchdr, in clnt_clts_kcallit_addr()
805 if (!AUTH_VALIDATE(h->cl_auth, in clnt_clts_kcallit_addr()
814 if (!AUTH_UNWRAP(h->cl_auth, xdrs, xdr_results, resultsp)) { in clnt_clts_kcallit_addr()
854 AUTH_REFRESH(h->cl_auth, &reply_msg, p->cku_cred)) { in clnt_clts_kcallit_addr()
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dclnt_tcp.c204 h->cl_auth = authnone_create(); in clnttcp_create()
247 (! AUTH_MARSHALL(h->cl_auth, xdrs)) || in clnttcp_call()
291 if (! AUTH_VALIDATE(h->cl_auth, in clnttcp_call()
308 if (refreshes-- && AUTH_REFRESH(h->cl_auth, &reply_msg)) in clnttcp_call()
H A Dclnt_udp.c191 cl->cl_auth = authnone_create();
261 (! AUTH_MARSHALL(cl->cl_auth, xdrs)) ||
406 if (! AUTH_VALIDATE(cl->cl_auth,
420 AUTH_REFRESH(cl->cl_auth, &reply_msg)) {
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c1302 add_alloc("AUTH_HANDLE", cl->cl_auth, 0, in nfsmount()
1329 drop_alloc("AUTH_HANDLE", cl->cl_auth, in nfsmount()
1332 AUTH_DESTROY(cl->cl_auth); in nfsmount()
1333 if ((cl->cl_auth = authsys_create_default()) == NULL) { in nfsmount()
1355 add_alloc("AUTH_HANDLE", cl->cl_auth, 0, in nfsmount()
2976 drop_alloc("AUTH_HANDLE", cl->cl_auth, in get_server_fh()
2979 AUTH_DESTROY(cl->cl_auth); in get_server_fh()
2980 cl->cl_auth = ah; in get_server_fh()
2982 add_alloc("AUTH_HANDLE", cl->cl_auth, 0, in get_server_fh()
3038 drop_alloc("AUTH_HANDLE", cl->cl_auth, in get_server_fh()
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c509 handle->clnt->cl_auth = rpc_gss_seccreate(handle->clnt, in _kadm5_initialize_rpcsec_gss_handle()
524 if (handle->clnt->cl_auth == NULL) { in _kadm5_initialize_rpcsec_gss_handle()
968 if(handle->clnt && handle->clnt->cl_auth) in _kadm5_init_any()
969 AUTH_DESTROY(handle->clnt->cl_auth); in _kadm5_init_any()
1032 if (handle->clnt && handle->clnt->cl_auth) { in kadm5_destroy()
1039 AUTH_DESTROY(handle->clnt->cl_auth); in kadm5_destroy()
/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Dkey_call_uid.c129 clnt->cl_auth = authsys_create_uid(uid, gid); in my_key_call()
134 auth_destroy(clnt->cl_auth); in my_key_call()
/illumos-gate/usr/src/lib/libidmap/common/
H A Dutils.c346 if (clnt->cl_auth) in _idmap_clnt_disconnect()
347 auth_destroy(clnt->cl_auth); in _idmap_clnt_disconnect()
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c324 if ((cl->cl_auth = authsys_create_default()) == NULL) { in inform_server()
338 AUTH_DESTROY(cl->cl_auth); in inform_server()
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c288 save_auth = clnt->cl_auth;
289 clnt->cl_auth = auth;
402 clnt->cl_auth = save_auth; /* restore cl_auth */
410 clnt->cl_auth = save_auth; /* restore cl_auth */
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.c75 client->cl_auth = auth; in dotest()

12