Searched refs:auth (Results 1 - 25 of 307) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/inc/include/rpc/
H A Dauth.h25 * 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 Drpc.h41 #include <rpc/auth.h> /* generic authenticator (client side) */
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dgetauthattr.c52 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 Dpam.conf38 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 Dauth.h35 * auth.h, Authentication interface.
57 #define MAX_AUTH_BYTES 400 /* maximum length of an auth type, from RFC */
187 enum_t oa_flavor; /* flavor of auth */
188 caddr_t oa_base; /* address of more auth stuff */
247 * The ops and the auth handle provide the interface to the authenticators.
249 * AUTH *auth;
253 #define AUTH_NEXTVERF(auth) \
254 ((*((auth)->ah_ops->ah_nextverf))(auth))
255 #define auth_nextverf(auth) \
[all...]
H A Dsvc_auth.h84 #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 Dauth_none.c32 #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 Dauth_kern.c37 * 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
239 authkern_validate(AUTH *auth, struct opaque_auth *verf) argument
246 authkern_refresh(AUTH *auth, struct rpc_msg *msg, cred_t *cr) argument
252 authkern_destroy(AUTH *auth) argument
[all...]
H A Dauth_loopb.c38 * auth_loopb.c for the user level implementation of the loopback auth.
56 #include <rpc/auth.h>
82 * Returns an auth handle.
88 * Allocate and set up auth handle
100 AUTH *auth = (AUTH *)buf; local
102 auth->ah_ops = &authloopback_ops;
103 auth->ah_cred.oa_flavor = AUTH_LOOPBACK;
104 auth->ah_verf = _null_auth;
114 authloopback_nextverf(AUTH *auth) argument
121 authloopback_marshal(AUTH *auth, XD argument
244 authloopback_validate(AUTH *auth, struct opaque_auth *verf) argument
251 authloopback_refresh(AUTH *auth, struct rpc_msg *msg, cred_t *cr) argument
257 authloopback_destroy(register AUTH *auth) argument
[all...]
H A Dsec_gen.c39 #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 Dauth_des.c50 #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/cmd/getent/
H A Ddogetauthattr.c34 putauthattr(const authattr_t *auth, FILE *fp) argument
40 if (auth == NULL)
44 auth->name != NULL ? auth->name : "",
45 auth->res1 != NULL ? auth->res1 : "",
46 auth->res2 != NULL ? auth->res2 : "",
47 auth->short_desc != NULL ? auth
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_conv.c21 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 Dauth_unix.c52 #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/lib/libnsl/rpc/
H A Dauth_sys.c53 #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 Dauth_des.c132 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 DSAttrMsg.java141 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 DSSrvMsg.java176 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 DCSrvDereg.java57 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 DSSAAdvert.java127 // 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 Drpcsec_gss.c95 #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 Dkrpc_sys.c12 #include <rpc/auth.h>
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgetauthattr.c68 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 Drpcsec_gss.c100 #define AUTH_PRIVATE(auth) ((rpc_gss_data *)auth->ah_private)
105 * RPCSEC_GSS auth cache definitions.
114 * gss auth cache entry.
123 AUTH *auth; member in struct:ga_cache_entry
145 * Initialize gss auth cache table lock
150 * Allocate gss auth cache handle
219 RPCGSS_LOG(2, "gssauth_cache_reclaim: destroy auth "
220 "%p\n", (void *)p->auth);
221 rpc_gss_destroy(p->auth);
270 AUTH *auth = NULL; local
391 rpc_gss_secfree(AUTH *auth) argument
440 AUTH *auth = NULL; local
1579 rpc_gss_get_service_type(AUTH *auth) argument
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_hc_opl.c46 * 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

Completed in 315 milliseconds

1234567891011>>