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

123

/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_update.c114 client->cl_auth = authdes_seccreate(ypmastername, WINDOW,
117 if (client->cl_auth == NULL) {
145 auth_destroy(client->cl_auth);
/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/cmd/gss/gssd/
H A Dgssd_handle.c134 clnt->cl_auth = authsys_create("", getuid(), 0, 0, NULL);
135 if (clnt->cl_auth == NULL) {
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_raw.c137 client->cl_auth = authnone_create();
172 (!AUTH_MARSHALL(h->cl_auth, xdrs)) ||
203 if (!AUTH_VALIDATE(h->cl_auth, &msg.acpted_rply.ar_verf)) {
208 if (AUTH_REFRESH(h->cl_auth, &msg))
214 if (!AUTH_VALIDATE(h->cl_auth, &msg.acpted_rply.ar_verf)) {
251 (!AUTH_MARSHALL(h->cl_auth, xdrs)) ||
H A Dclnt_dg.c123 * NB: The rpch->cl_auth is initialized to null authentication.
238 cl->cl_auth = authnone_create();
313 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) {
316 (!AUTH_MARSHALL(cl->cl_auth, xdrs)) ||
325 if (!__rpc_gss_wrap(cl->cl_auth, cu->cu_outbuf,
464 if (cl->cl_auth->ah_cred.oa_flavor ==
466 cl->cl_auth->ah_cred.oa_flavor ==
565 if (!AUTH_VALIDATE(cl->cl_auth,
569 } else if (cl->cl_auth->ah_cred.oa_flavor !=
577 } else if (!__rpc_gss_unwrap(cl->cl_auth,
[all...]
H A Dclnt_door.c72 * NB: The rpch->cl_auth is initialized to null authentication.
144 cl->cl_auth = authnone_create();
215 (!AUTH_MARSHALL(cl->cl_auth, &xdrs)) ||
252 if (!AUTH_VALIDATE(cl->cl_auth,
272 AUTH_REFRESH(cl->cl_auth, &reply_msg)) {
H A Dclnt_vc.c211 * NB: The rpch->cl_auth is set null authentication. Caller may wish to
368 cl->cl_auth = authnone_create();
692 if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) {
695 (!AUTH_MARSHALL(cl->cl_auth, xdrs)) ||
707 if (!__rpc_gss_wrap(cl->cl_auth, ct->ct_mcall,
766 if (!AUTH_VALIDATE(cl->cl_auth,
770 } else if (cl->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) {
776 } else if (!__rpc_gss_unwrap(cl->cl_auth, xdrs, xdr_results,
788 if (refreshes-- && AUTH_REFRESH(cl->cl_auth, &reply_msg))
837 if (cl->cl_auth
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypset.c278 client->cl_auth = authsys_create("", geteuid(), 0, 0, NULL);
279 if (client->cl_auth == NULL) {
316 auth_destroy((client)->cl_auth);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.c77 client->cl_auth = auth;
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dkey_call.c288 auth_destroy(client->cl_auth);
289 client->cl_auth = authloopback_create();
290 if (client->cl_auth == NULL) {
302 auth_destroy(client->cl_auth);
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmetarpcopen.c123 auth_destroy(clntp->cl_auth);
420 auth_destroy(clntp->cl_auth);
421 clntp->cl_auth = authsys_create_default();
422 assert(clntp->cl_auth != NULL);
H A Dmeta_mh.c81 auth_destroy(hp->clientp->cl_auth);
111 auth_destroy(clientp->cl_auth);
112 clientp->cl_auth = authsys_create_default();
113 assert(clientp->cl_auth != NULL);
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dmount.c419 root_CLIENT->cl_auth =
430 AUTH_DESTROY(root_CLIENT->cl_auth);
573 AUTH_DESTROY(root_CLIENT->cl_auth);
784 root_CLIENT->cl_auth =
795 AUTH_DESTROY(root_CLIENT->cl_auth);
808 root_CLIENT->cl_auth =
819 AUTH_DESTROY(root_CLIENT->cl_auth);
H A Dclnt.h64 AUTH *cl_auth; /* authenticator */ member in struct:__client
H A Dclnt_btcp.c103 * NB: The rpch->cl_auth is initialized to null authentication.
267 cl->cl_auth = authnone_create();
325 (! AUTH_MARSHALL(cl->cl_auth, xdrs, NULL)) ||
373 if (!AUTH_VALIDATE(cl->cl_auth,
388 if (nrefreshes-- && AUTH_REFRESH(cl->cl_auth, &reply_msg,
H A Dclnt_budp.c100 * NB: The rpch->cl_auth is initialized to null authentication.
203 cl->cl_auth = authnone_create();
281 (! AUTH_MARSHALL(cl->cl_auth, xdrs, NULL)) ||
386 if (! AUTH_VALIDATE(cl->cl_auth,
404 AUTH_REFRESH(cl->cl_auth, NULL, NULL)) {
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dclnt_tcp.c106 * NB: The rpch->cl_auth is set null authentication. Caller may wish to
212 h->cl_auth = authnone_create();
256 (! AUTH_MARSHALL(h->cl_auth, xdrs)) ||
300 if (! AUTH_VALIDATE(h->cl_auth,
317 if (refreshes-- && AUTH_REFRESH(h->cl_auth, &reply_msg))
H A Dclnt_udp.c103 * NB: The rpch->cl_auth is initialized to null authentication.
193 cl->cl_auth = authnone_create();
263 (! AUTH_MARSHALL(cl->cl_auth, xdrs)) ||
408 if (! AUTH_VALIDATE(cl->cl_auth,
422 AUTH_REFRESH(cl->cl_auth, &reply_msg)) {
/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();
262 auth_destroy(h->cl_auth);
347 if (h->cl_auth->ah_cred.oa_flavor != RPCSEC_GSS) {
366 (!AUTH_MARSHALL(h->cl_auth, xdrs, p->cku_cred)) ||
379 if (!AUTH_WRAP(h->cl_auth, (caddr_t)p->cku_rpchdr,
734 if (rpc_gss_get_service_type(h->cl_auth) ==
736 rpc_gss_get_service_type(h->cl_auth) ==
1079 if (!AUTH_VALIDATE(h->cl_auth,
1086 } else if (!AUTH_UNWRAP(h->cl_auth, reply_xdr
[all...]
/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Dkey_call_uid.c131 clnt->cl_auth = authsys_create_uid(uid, gid);
136 auth_destroy(clnt->cl_auth);
/illumos-gate/usr/src/lib/libidmap/common/
H A Dutils.c346 if (clnt->cl_auth)
347 auth_destroy(clnt->cl_auth);
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c326 if ((cl->cl_auth = authsys_create_default()) == NULL) {
340 AUTH_DESTROY(cl->cl_auth);
/illumos-gate/usr/src/lib/librdc/common/
H A Dnetaddrs.c386 cl->cl_auth = ah;
493 AUTH_DESTROY(cl->cl_auth);
494 cl->cl_auth = NULL;
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c272 * should not change clnt->cl_auth at this time, so save
275 save_auth = clnt->cl_auth;
276 clnt->cl_auth = auth;
389 clnt->cl_auth = save_auth; /* restore cl_auth */
397 clnt->cl_auth = save_auth; /* restore cl_auth */
/illumos-gate/usr/src/lib/libbc/inc/include/rpc/
H A Dclnt.h108 AUTH *cl_auth; /* authenticator */ member in struct:__anon2770

Completed in 110 milliseconds

123