Home
last modified time | relevance | path

Searched refs:auth (Results 51 – 75 of 200) sorted by relevance

12345678

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.c54 AUTH *auth; in dotest() local
74 auth = authsys_create_default(); in dotest()
75 client->cl_auth = auth; in dotest()
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_generic.c51 nvlist_t *auth; in x86pi_enum_generic() local
64 auth = topo_mod_auth(mod, t_bindparent); in x86pi_enum_generic()
66 hcfmri->hc_name, hcfmri->instance, NULL, auth, in x86pi_enum_generic()
69 nvlist_free(auth); in x86pi_enum_generic()
/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c164 credp->auth.type = authp->type; in authenticate()
165 credp->auth.tlstype = authp->tlstype; in authenticate()
166 credp->auth.saslmech = authp->saslmech; in authenticate()
167 credp->auth.saslopt = authp->saslopt; in authenticate()
/illumos-gate/usr/src/uts/common/os/
H A Dfm.c887 if (auth != NULL && nvlist_add_nvlist(fmri, FM_FMRI_AUTHORITY, in fm_fmri_hc_set_common()
888 (nvlist_t *)auth) != 0) { in fm_fmri_hc_set_common()
897 fm_fmri_hc_set(nvlist_t *fmri, int version, const nvlist_t *auth, in fm_fmri_hc_set() argument
905 if (!fm_fmri_hc_set_common(fmri, version, auth)) in fm_fmri_hc_set()
968 if (auth != NULL) { in fm_fmri_dev_set()
970 (nvlist_t *)auth); in fm_fmri_dev_set()
1023 (nvlist_t *)auth) != 0) in fm_fmri_cpu_set()
1052 fm_fmri_mem_set(nvlist_t *fmri, int version, const nvlist_t *auth, in fm_fmri_mem_set() argument
1075 if (auth != NULL) { in fm_fmri_mem_set()
1077 (nvlist_t *)auth) != 0) { in fm_fmri_mem_set()
[all …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_digraph.c725 nvlist_t **hops, *auth; in fmri_bufsz() local
730 if (nvlist_lookup_nvlist(nvl, FM_FMRI_AUTHORITY, &auth) != 0 || in fmri_bufsz()
731 nvlist_lookup_string(auth, FM_FMRI_PATH_DIGRAPH_SCHEME, in fmri_bufsz()
772 nvlist_t **paths, *auth; in path_fmri_nvl2str() local
808 (void) nvlist_lookup_nvlist(in, FM_FMRI_AUTHORITY, &auth); in path_fmri_nvl2str()
809 (void) nvlist_lookup_string(auth, FM_FMRI_PATH_DIGRAPH_SCHEME, in path_fmri_nvl2str()
858 nvlist_t *fmri = NULL, *auth = NULL, **path = NULL; in path_fmri_str2nvl() local
932 if (topo_mod_nvalloc(mod, &auth, NV_UNIQUE_NAME) != 0) { in path_fmri_str2nvl()
947 nvlist_add_nvlist(fmri, FM_FMRI_AUTHORITY, auth) != 0) { in path_fmri_str2nvl()
1017 nvlist_free(auth); in path_fmri_str2nvl()
[all …]
H A Dhc.c258 nvlist_t *auth; in hc_enum() local
285 nvlist_free(auth); in hc_enum()
292 nvlist_free(auth); in hc_enum()
314 nvlist_free(auth); in hc_enum()
618 if (auth != NULL) in hc_base_fmri_create()
830 *auth = na; in make_hc_auth()
973 nvlist_free(auth); in hc_fmri_str2nvl()
996 nvlist_free(auth); in hc_fmri_str2nvl()
1143 nvlist_t *auth; in hc_fmri_create_meth() local
1160 auth = NULL; in hc_fmri_create_meth()
[all …]
H A Dtopo_subr.c582 topo_pgroup_hcset(tnode_t *node, nvlist_t *auth) in topo_pgroup_hcset() argument
589 if (auth == NULL) in topo_pgroup_hcset()
602 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_PRODUCT, &prod) == in topo_pgroup_hcset()
610 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_PRODUCT_SN, &psn) == in topo_pgroup_hcset()
618 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_CHASSIS, &csn) == 0) in topo_pgroup_hcset()
625 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_SERVER, &server) == in topo_pgroup_hcset()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb3_encrypt_kcf.c72 uint8_t *auth, size_t authsize, in smb3_crypto_init_ccm_param() argument
83 ctx->param.ccm.authData = auth; in smb3_crypto_init_ccm_param()
92 uint8_t *auth, size_t authsize) in smb3_crypto_init_gcm_param() argument
100 ctx->param.gcm.pAAD = auth; /* auth data */ in smb3_crypto_init_gcm_param()
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsec_gen.c47 authany_wrap(AUTH *auth, caddr_t buf, u_int buflen, in authany_wrap() argument
58 authany_unwrap(AUTH *auth, XDR *xdrs, xdrproc_t xfunc, caddr_t xwhere) in authany_unwrap() argument
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c3619 auth = (iscsi_auth_props_t *)kmem_zalloc(sizeof (*auth), in iscsi_ioctl()
3622 kmem_free(auth, sizeof (*auth)); in iscsi_ioctl()
3626 kmem_free(auth, sizeof (*auth)); in iscsi_ioctl()
3681 kmem_free(auth, sizeof (*auth)); in iscsi_ioctl()
3691 kmem_free(auth, sizeof (*auth)); in iscsi_ioctl()
3695 kmem_free(auth, sizeof (*auth)); in iscsi_ioctl()
3739 kmem_free(auth, sizeof (*auth)); in iscsi_ioctl()
3746 auth = (iscsi_auth_props_t *)kmem_alloc(sizeof (*auth), in iscsi_ioctl()
3749 kmem_free(auth, sizeof (*auth)); in iscsi_ioctl()
3753 kmem_free(auth, sizeof (*auth)); in iscsi_ioctl()
[all …]
H A Dpersistent.h94 boolean_t persistent_auth_set(char *node, iscsi_auth_props_t *auth);
95 boolean_t persistent_auth_get(char *node, iscsi_auth_props_t *auth);
97 iscsi_auth_props_t *auth);
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DCSrvMsg.java98 Hashtable auth = (Hashtable) URLSignatures.get(surl); in parseServiceURLsIn() local
100 if (auth != null) { in parseServiceURLsIn()
101 AuthBlock.verifyAll(auth); in parseServiceURLsIn()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dnetr_logon.c489 struct netr_authenticator auth; in netr_server_samlogon() local
521 rc = netr_setup_authenticator(netr_info, &auth, &ret_auth); in netr_server_samlogon()
552 logon_op.auth = &auth; in netr_server_samlogon()
711 struct netr_authenticator *auth, struct netr_authenticator *ret_auth) in netr_setup_authenticator() argument
714 bzero(auth, sizeof (struct netr_authenticator)); in netr_setup_authenticator()
723 auth->timestamp = ++netr_info->timestamp; in netr_setup_authenticator()
727 (netr_cred_t *)&auth->credential, B_TRUE); in netr_setup_authenticator()
760 netr_validate_chain(netr_info_t *netr_info, struct netr_authenticator *auth) in netr_validate_chain() argument
773 if (auth == NULL) { in netr_validate_chain()
782 result = memcmp(&cred, &auth->credential, sizeof (netr_cred_t)); in netr_validate_chain()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_common.c246 ap->auth.type = authp->auth.type; in __ns_ldap_dupAuth()
247 ap->auth.tlstype = authp->auth.tlstype; in __ns_ldap_dupAuth()
248 ap->auth.saslmech = authp->auth.saslmech; in __ns_ldap_dupAuth()
249 ap->auth.saslopt = authp->auth.saslopt; in __ns_ldap_dupAuth()
349 if ((auth1->auth.type != auth2->auth.type) || in __s_api_is_auth_matched()
350 (auth1->auth.tlstype != auth2->auth.tlstype) || in __s_api_is_auth_matched()
351 (auth1->auth.saslmech != auth2->auth.saslmech) || in __s_api_is_auth_matched()
352 (auth1->auth.saslopt != auth2->auth.saslopt)) in __s_api_is_auth_matched()
355 if ((((auth1->auth.type == NS_LDAP_AUTH_SASL) && in __s_api_is_auth_matched()
356 ((auth1->auth.saslmech == NS_LDAP_SASL_CRAM_MD5) || in __s_api_is_auth_matched()
[all …]
H A Dns_sldap.h167 ns_auth_t auth; member
545 ns_auth_t *auth; /* Authentication information used */ member
570 #define SA_AUTH ds_profile.server.auth
677 ns_auth_t *auth,
874 ns_auth_t ***auth,
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_marshal.c527 ndr_show_auth(ndr_sec_t *auth) in ndr_show_auth() argument
529 if (auth == NULL) { in ndr_show_auth()
536 auth->auth_type, auth->auth_level, auth->auth_pad_len, in ndr_show_auth()
537 auth->auth_context_id); in ndr_show_auth()
867 ndr_sec_t *auth = &mxa->recv_auth; in ndr_decode_pdu_auth() local
902 if (auth->auth_pad_len > nds->pdu_body_size) in ndr_decode_pdu_auth()
906 auth->auth_pad_len; in ndr_decode_pdu_auth()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvid_funcs.c61 auth_destroy(AUTH *auth) in auth_destroy() argument
63 ((*((auth)->ah_ops->ah_destroy))(auth)); in auth_destroy()
/illumos-gate/usr/src/cmd/fs.d/nfs/tests/rpcsec_gss_conn/
H A Drpcsec_gss_conn.c36 AUTH *auth; in main() local
91 if ((auth = rpc_gss_seccreate(client, svc_name, "kerberos_v5", in main()
144 client->cl_auth = auth; in main()
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_nvme.c341 nvlist_t *auth = NULL, *fmri = NULL; in disk_nvme_make_ns() local
351 auth = topo_mod_auth(mod, nei->nei_nvme); in disk_nvme_make_ns()
352 if (auth == NULL) { in disk_nvme_make_ns()
375 DISK, inst, NULL, auth, NULL, NULL, serial); in disk_nvme_make_ns()
465 nvlist_free(auth); in disk_nvme_make_ns()
510 nvlist_t *auth = NULL, *fmri = NULL, *fru; in make_nvme_node() local
528 auth = topo_mod_auth(mod, nvme_info->nei_parent); in make_nvme_node()
530 NVME, 0, NULL, auth, model, NULL, serial); in make_nvme_node()
693 nvlist_free(auth); in make_nvme_node()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_encrypt_pkcs.c90 uint8_t *auth, size_t authsize, in smb3_crypto_init_ccm_param() argument
100 ctx->param.ccm.pAAD = auth; in smb3_crypto_init_ccm_param()
111 uint8_t *auth, size_t authsize) in smb3_crypto_init_gcm_param() argument
119 ctx->param.gcm.pAAD = auth; /* auth data */ in smb3_crypto_init_gcm_param()
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c267 check_auth(ucred_t *ucred, const char *auth) in check_auth() argument
276 (chkauthattr(auth, pwd.pw_name) == 0)) { in check_auth()
647 audit_changestate(ucred_t *ucred, char *auth, char *path, char *connection, in audit_changestate() argument
670 event->adt_hotplug_state.auth_used = auth; in audit_changestate()
690 audit_setprivate(ucred_t *ucred, char *auth, char *path, char *connection, in audit_setprivate() argument
713 event->adt_hotplug_set.auth_used = auth; in audit_setprivate()
/illumos-gate/usr/src/lib/fm/topo/modules/common/zen/
H A Dtopo_zen_tn.c88 nvlist_t *fmri = NULL, *auth = NULL; in topo_zen_create_tn() local
90 auth = topo_mod_auth(mod, pnode); in topo_zen_create_tn()
91 if (auth == NULL) { in topo_zen_create_tn()
98 NULL, auth, NULL, sock->ztes_cpu_rev, sock->ztes_cpu_serial); in topo_zen_create_tn()
102 nvlist_free(auth); in topo_zen_create_tn()
107 nvlist_free(auth); in topo_zen_create_tn()
/illumos-gate/usr/src/lib/fm/topo/modules/common/xfp/
H A Dxfp.c91 nvlist_t *auth = topo_mod_auth(mod, parent); in xfp_tnode_create() local
94 NULL, auth, NULL, NULL, NULL); in xfp_tnode_create()
95 nvlist_free(auth); in xfp_tnode_create()
/illumos-gate/usr/src/cmd/iscsiadm/
H A Dsun_ima.c949 iscsi_auth_props_t auth; in SUN_IMA_SetTargetBidirAuthFlag() local
956 auth.a_vers = ISCSI_INTERFACE_VERSION; in SUN_IMA_SetTargetBidirAuthFlag()
959 if (ioctl(fd, ISCSI_AUTH_GET, &auth) != 0) { in SUN_IMA_SetTargetBidirAuthFlag()
982 iscsi_auth_props_t auth; in SUN_IMA_GetTargetBidirAuthFlag() local
989 auth.a_vers = ISCSI_INTERFACE_VERSION; in SUN_IMA_GetTargetBidirAuthFlag()
2376 iscsi_auth_props_t auth; in setAuthMethods() local
2382 auth.a_vers = ISCSI_INTERFACE_VERSION; in setAuthMethods()
2393 auth.a_auth_method = authMethodNone; in setAuthMethods()
2398 auth.a_auth_method |= authMethodCHAP; in setAuthMethods()
2425 iscsi_auth_props_t auth; in getAuthMethods() local
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_auth.c368 frauth_t auth, *au = &auth, *fra; local
428 if (auth.fra_len != 0 && auth.fra_buf != NULL) {
435 if (len > auth.fra_len)
436 len = auth.fra_len;
437 auth.fra_len = len;
438 for (t = auth.fra_buf; m && (len > 0); ) {
506 error = fr_inobj(data, &auth, IPFOBJ_FRAUTH);

12345678