/illumos-gate/usr/src/lib/libbc/inc/include/rpc/ |
H A D | auth.h | 25 * auth.h, Authentication interface. 79 enum_t oa_flavor; /* flavor of auth */ 80 caddr_t oa_base; /* address of more auth stuff */ 105 * The ops and the auth handle provide the interface to the authenticators. 107 * AUTH *auth; 111 #define AUTH_NEXTVERF(auth) \ 112 ((*((auth)->ah_ops->ah_nextverf))(auth)) 113 #define auth_nextverf(auth) \ 114 ((*((auth) [all...] |
H A D | rpc.h | 41 #include <rpc/auth.h> /* generic authenticator (client side) */
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | getauthattr.c | 52 authstr_t auth; local 55 (void) memset(&auth, 0, sizeof (authstr_t)); 56 tmp = _getauthattr(&auth, buf, NSS_BUFLEN_AUTHATTR, &err); 66 authstr_t auth; local 72 (void) memset(&auth, 0, sizeof (authstr_t)); 73 tmp = _getauthnam(name, &auth, buf, NSS_BUFLEN_AUTHATTR, &err); 93 free_authattr(authattr_t *auth) argument 95 if (auth) { 96 free(auth->name); 97 free(auth 108 authstr2attr(authstr_t *auth) argument 130 print_authattr(authattr_t *auth) argument [all...] |
/illumos-gate/usr/src/lib/libpam/ |
H A D | pam.conf | 38 login auth requisite pam_authtok_get.so.1 39 login auth required pam_dhkeys.so.1 40 login auth required pam_unix_cred.so.1 41 login auth required pam_unix_auth.so.1 42 login auth required pam_dial_auth.so.1 46 rlogin auth sufficient pam_rhosts_auth.so.1 47 rlogin auth requisite pam_authtok_get.so.1 48 rlogin auth required pam_dhkeys.so.1 49 rlogin auth required pam_unix_cred.so.1 50 rlogin auth require [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | auth.h | 34 * auth.h, Authentication interface. 173 enum_t oa_flavor; /* flavor of auth */ 174 caddr_t oa_base; /* address of more auth stuff */ 233 * The ops and the auth handle provide the interface to the authenticators. 235 * AUTH *auth; 239 #define AUTH_NEXTVERF(auth) \ 240 ((*((auth)->ah_ops->ah_nextverf))(auth)) 241 #define auth_nextverf(auth) \ 242 ((*((auth) [all...] |
H A D | svc_auth.h | 84 #define SVCAUTH_GSSPARMS(auth) ((svc_rpc_gss_parms_t *)&(auth)->svc_gss_parms) 90 * internal RPC frame and the auth flavor specific code to allow the 91 * auth flavor to encode (WRAP) or decode (UNWRAP) the body. 93 #define SVCAUTH_WRAP(auth, xdrs, xfunc, xwhere) \ 94 ((*((auth)->svc_ah_ops.svc_ah_wrap))(auth, xdrs, xfunc, xwhere)) 95 #define SVCAUTH_UNWRAP(auth, xdrs, xfunc, xwhere) \ 96 ((*((auth)->svc_ah_ops.svc_ah_unwrap))(auth, xdr [all...] |
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | auth_none.c | 32 #include <rpc/auth.h> 55 * Returns an auth handle. 61 * Allocate and set up auth handle 73 AUTH *auth = (AUTH *)buf; local 75 auth->ah_ops = &auth_none_ops; 85 auth->ah_cred = auth->ah_verf = _null_auth; 95 authnone_nextverf(AUTH *auth) argument 102 authnone_marshal(AUTH *auth, XDR *xdrs, struct cred *cr) argument 123 if ((xdr_opaque_auth(xdrs, &(auth 132 authnone_validate(AUTH *auth, struct opaque_auth *verf) argument 139 authnone_refresh(AUTH *auth, struct rpc_msg *msg, cred_t *cr) argument 145 authnone_destroy(AUTH *auth) argument [all...] |
H A D | sec_gen.c | 39 #include <rpc/auth.h> 49 authany_wrap(AUTH *auth, caddr_t buf, u_int buflen, argument 60 authany_unwrap(AUTH *auth, XDR *xdrs, xdrproc_t xfunc, caddr_t xwhere) argument
|
H A D | auth_kern.c | 37 * level implementation of unix auth. 55 #include <rpc/auth.h> 81 * Returns an auth handle. 87 * Allocate and set up auth handle 99 AUTH *auth = (AUTH *)buf; local 101 auth->ah_ops = &auth_kern_ops; 102 auth->ah_cred.oa_flavor = AUTH_UNIX; 103 auth->ah_verf = _null_auth; 113 authkern_nextverf(AUTH *auth) argument 119 authkern_marshal(AUTH *auth, XD argument 200 authkern_validate(AUTH *auth, struct opaque_auth *verf) argument 207 authkern_refresh(AUTH *auth, struct rpc_msg *msg, cred_t *cr) argument 213 authkern_destroy(AUTH *auth) argument [all...] |
H A D | auth_loopb.c | 40 * auth_loopb.c for the user level implementation of the loopback auth. 58 #include <rpc/auth.h> 84 * Returns an auth handle. 90 * Allocate and set up auth handle 102 AUTH *auth = (AUTH *)buf; local 104 auth->ah_ops = &authloopback_ops; 105 auth->ah_cred.oa_flavor = AUTH_LOOPBACK; 106 auth->ah_verf = _null_auth; 116 authloopback_nextverf(AUTH *auth) argument 123 authloopback_marshal(AUTH *auth, XD argument 203 authloopback_validate(AUTH *auth, struct opaque_auth *verf) argument 210 authloopback_refresh(AUTH *auth, struct rpc_msg *msg, cred_t *cr) argument 216 authloopback_destroy(register AUTH *auth) argument [all...] |
H A D | auth_des.c | 50 #include <rpc/auth.h> 62 #define AUTH_PRIVATE(auth) (struct ad_private *)auth->ah_private 111 AUTH *auth; local 125 auth = ALLOC(AUTH); 141 if (auth == NULL || ad == NULL || ad->ad_fullname == NULL || 165 if ((stat = key_gendes(&auth->ah_key)) != RPC_SUCCESS) { 178 auth->ah_key = *ckey; 181 * Set up auth handle 183 auth 215 authdes_nextverf(AUTH *auth) argument 225 authdes_marshal(AUTH *auth, XDR *xdrs, struct cred *cr) argument 316 authdes_validate(AUTH *auth, struct opaque_auth *rverf) argument 377 authdes_refresh(AUTH *auth, struct rpc_msg *msg, cred_t *cr) argument 413 authdes_destroy(AUTH *auth) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_conv.c | 21 krb5_auth_to_replay(context, krb5_tkt_authent *auth,krb5_donot_replay *rep) 22 given auth, take important information and make rep; return -1 if failed 26 krb5_auth_to_rep(krb5_context context, krb5_tkt_authent *auth, krb5_donot_replay *rep) argument 29 rep->cusec = auth->authenticator->cusec; 30 rep->ctime = auth->authenticator->ctime; 31 if ((retval = krb5_unparse_name(context, auth->ticket->server, &rep->server))) 33 if ((retval = krb5_unparse_name(context, auth->authenticator->client,
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | auth_unix.c | 52 #include <rpc/auth.h> 71 #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private) 79 * Returns an auth handle with the given stuff in it. 87 AUTH *auth; local 91 * Allocate and set up auth handle 93 auth = (AUTH *) bkmem_alloc(sizeof (*auth)); 94 if (auth == NULL) { 106 auth 158 authunix_nextverf(AUTH *auth) argument 164 authunix_marshal(AUTH *auth, XDR *xdrs, cred_t *cr) argument 172 authunix_validate(AUTH *auth, struct opaque_auth *verf) argument 200 authunix_refresh(AUTH *auth, struct rpc_msg *msg, cred_t *cr) argument 240 authunix_destroy(AUTH *auth) argument 257 marshal_new_auth(AUTH *auth) argument [all...] |
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_auth.c | 133 drm_auth_t auth; local 137 auth.magic = fpriv->magic; 141 auth.magic = old+1; 142 if (!atomic_cmpset_int(&sequence, old, auth.magic)) 144 } while (drm_find_file(dev, auth.magic)); 145 fpriv->magic = auth.magic; 146 (void) drm_add_magic(dev, fpriv, auth.magic); 150 DRM_DEBUG("drm_getmagic: %u", auth.magic); 152 DRM_COPYTO_WITH_RETURN((void *)data, &auth, sizeof (auth)); 161 drm_auth_t auth; local [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_sys.c | 53 #include <rpc/auth.h> 72 #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private) 82 * Returns an auth handle with the given stuff in it. 92 AUTH *auth; local 96 * Allocate and set up auth handle 98 auth = malloc(sizeof (*auth)); 99 if (auth == NULL) { 108 free(auth); 238 authsys_nextverf(AUTH *auth) argument 244 authsys_marshal(AUTH *auth, XDR *xdrs) argument 253 authsys_validate(AUTH *auth, struct opaque_auth *verf) argument 283 authsys_refresh(AUTH *auth, void *dummy) argument 324 authsys_destroy(AUTH *auth) argument 346 marshal_new_auth(AUTH *auth) argument [all...] |
H A D | auth_des.c | 132 AUTH *auth; local 139 auth = malloc(sizeof (AUTH)); 140 if (auth == NULL) { 186 if (key_gendes(&auth->ah_key) < 0) { 192 auth->ah_key = *ckey; 195 * Set up auth handle 197 auth->ah_cred.oa_flavor = AUTH_DES; 198 auth->ah_verf.oa_flavor = AUTH_DES; 199 auth->ah_ops = authdes_ops(); 200 auth 236 authdes_nextverf(AUTH *auth) argument 246 authdes_marshal(AUTH *auth, XDR *xdrs) argument 342 authdes_validate(AUTH *auth, struct opaque_auth *rverf) argument 400 authdes_refresh(AUTH *auth, void *dummy) argument 440 authdes_destroy(AUTH *auth) argument [all...] |
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SAttrMsg.java | 141 SrvLocMsg makeReply(Vector attrs, Hashtable auth) argument 150 if (auth != null) { 151 AuthBlock selectedAuth = AuthBlock.getEquivalentAuth(spi, auth); 152 auth = null; 154 auth = new Hashtable(); 155 auth.put(spi, selectedAuth); 161 hdr.parseAttributeVectorOut(attrs, 0, (auth != null), 162 auth, baos, true); 172 " auth block=" + 173 AuthBlock.desc(auth) [all...] |
H A D | SSrvMsg.java | 176 Hashtable auth = null; 179 auth = (Hashtable)URLSignatures.get(surl); 181 AuthBlock.getEquivalentAuth(spi, auth); 182 auth = null; 184 auth = new Hashtable(); 185 auth.put(spi, selectedAuth); 189 (auth != null ? 198 (auth != null), 199 auth, 228 " auth bloc [all...] |
H A D | CSrvDereg.java | 57 Hashtable auth) 70 this.initialize(locale, url, scopes, tags, auth); 80 Hashtable auth) 113 auth, 53 CSrvDereg(Locale locale, ServiceURL url, Vector scopes, Vector tags, Hashtable auth) argument 76 initialize(Locale locale, ServiceURL url, Vector scopes, Vector tags, Hashtable auth) argument
|
H A D | SSAAdvert.java | 127 // Parse out auth blocks, if necessary. 129 Hashtable auth = null; 151 auth = hdr.getCheckedAuthBlockList(message, 153 nBlocks = (byte) auth.size(); 164 if (auth != null) { 165 AuthBlock.externalizeAll(hdr, auth, baos); 178 " auth block="+AuthBlock.desc(auth) +
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss.c | 95 #define AUTH_PRIVATE(auth) ((rpc_gss_data *)auth->ah_private) 118 AUTH *auth = NULL; local 151 if ((auth = (AUTH *) malloc(sizeof (*auth))) != NULL) 153 if (auth == NULL || ap == NULL) { 156 if (auth != NULL) 157 free((char *)auth); 186 if (!rpc_gss_seccreate_pvt(&gssstat, &minor_stat, auth, ap, 191 free((char *)auth); [all...] |
/illumos-gate/usr/src/cmd/krb5/kdestroy/ |
H A D | krpc_sys.c | 12 #include <rpc/auth.h>
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | getauthattr.c | 68 authstr_t *auth = (authstr_t *)ent; local 87 auth->name = _strtok_escape(buffer, sep, &last); 88 auth->res1 = _strtok_escape(NULL, sep, &last); 89 auth->res2 = _strtok_escape(NULL, sep, &last); 90 auth->short_desc = _strtok_escape(NULL, sep, &last); 91 auth->long_desc = _strtok_escape(NULL, sep, &last); 92 auth->attr = _strtok_escape(NULL, sep, &last);
|
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gss.c | 96 #define AUTH_PRIVATE(auth) ((rpc_gss_data *)auth->ah_private) 101 * RPCSEC_GSS auth cache definitions. 110 * gss auth cache entry. 119 AUTH *auth; member in struct:ga_cache_entry 141 * Initialize gss auth cache table lock 146 * Allocate gss auth cache handle 215 RPCGSS_LOG(2, "gssauth_cache_reclaim: destroy auth " 216 "%p\n", (void *)p->auth); 217 rpc_gss_destroy(p->auth); 266 AUTH *auth = NULL; local 387 rpc_gss_secfree(AUTH *auth) argument 436 AUTH *auth = NULL; local 1575 rpc_gss_get_service_type(AUTH *auth) argument [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_hc_opl.c | 46 * auth nvlist_t <auth> 50 * Note that auth and hc-id are optional members. 57 cmd_fmri_hc_set_common(nvlist_t *fmri, int version, const nvlist_t *auth) argument 68 if (auth != NULL && nvlist_add_nvlist(fmri, FM_FMRI_AUTHORITY, 69 (nvlist_t *)auth) != 0) { 78 const nvlist_t *auth, nvlist_t *snvl, int npairs, ...) 85 if (!cmd_fmri_hc_set_common(fmri, version, auth)) 77 cmd_fmri_hc_set(fmd_hdl_t *hdl, nvlist_t *fmri, int version, const nvlist_t *auth, nvlist_t *snvl, int npairs, ...) argument
|