/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_handle.c | 134 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 D | clnt_dg.c | 239 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 D | clnt_raw.c | 127 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 D | key_call.c | 914 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 D | clnt_door.c | 144 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 D | clnt_vc.c | 369 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 D | yp_update.c | 112 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 D | mount.c | 417 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 D | clnt_btcp.c | 265 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 D | clnt_budp.c | 196 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 D | clnt.h | 64 AUTH *cl_auth; /* authenticator */ member
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | key_call.c | 288 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 D | ypset.c | 276 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 D | gssd_handle.c | 133 clnt->cl_auth = authsys_create("", getuid(), 0, 0, NULL); 134 if (clnt->cl_auth == NULL) {
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_rdma.c | 110 (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 D | clnt_clts.c | 334 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 D | clnt_tcp.c | 204 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 D | clnt_udp.c | 191 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 D | autod_nfs.c | 1302 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 D | client_init.c | 509 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 D | key_call_uid.c | 129 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 D | utils.c | 346 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 D | umount.c | 324 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 D | rpcsec_gss.c | 288 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 D | tst.call.c | 75 client->cl_auth = auth; in dotest()
|