Home
last modified time | relevance | path

Searched refs:auth (Results 1 – 25 of 204) sorted by relevance

123456789

/titanic_52/usr/src/lib/libsecdb/common/
H A Dgetauthattr.c52 authstr_t auth; in getauthattr() local
55 (void) memset(&auth, 0, sizeof (authstr_t)); in getauthattr()
56 tmp = _getauthattr(&auth, buf, NSS_BUFLEN_AUTHATTR, &err); in getauthattr()
66 authstr_t auth; in getauthnam() local
72 (void) memset(&auth, 0, sizeof (authstr_t)); in getauthnam()
73 tmp = _getauthnam(name, &auth, buf, NSS_BUFLEN_AUTHATTR, &err); in getauthnam()
93 free_authattr(authattr_t *auth) in free_authattr() argument
95 if (auth) { in free_authattr()
96 free(auth->name); in free_authattr()
97 free(auth in free_authattr()
108 authstr2attr(authstr_t * auth) authstr2attr() argument
130 print_authattr(authattr_t * auth) print_authattr() argument
[all...]
H A Dchkauthattr.c233 char *auth, *last, *auths; in _enum_auths_a() local
241 while (auth = strtok_r(auths, KV_SEPSTR, &last)) { in _enum_auths_a()
244 res = cb(auth, ctxt, pres); in _enum_auths_a()
293 _auth_match_noun(const char *pattern, const char *auth, in _auth_match_noun() argument
317 (strncmp(pattern, auth, pattern_len) == 0)) { in _auth_match_noun()
330 * If the strings are identical up to the wildcard and auth does not in _auth_match_noun()
333 if (strncmp(pattern, auth, pattern_len - 1) == 0) { in _auth_match_noun()
334 grant = strrchr(auth, '.'); in _auth_match_noun()
344 _auth_match(const char *pattern, const char *auth) in _auth_match() argument
346 return (_auth_match_noun(pattern, auth, strle in _auth_match()
350 _is_authorized(const char * auth,void * authname,void * res) _is_authorized() argument
[all...]
/titanic_52/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) \ argument
112 ((*((auth)->ah_ops->ah_nextverf))(auth))
113 #define auth_nextverf(auth) \ argument
114 ((*((auth)
116 AUTH_MARSHALL(auth,xdrs) global() argument
118 auth_marshall(auth,xdrs) global() argument
121 AUTH_VALIDATE(auth,verfp) global() argument
123 auth_validate(auth,verfp) global() argument
126 AUTH_REFRESH(auth) global() argument
128 auth_refresh(auth) global() argument
131 AUTH_DESTROY(auth) global() argument
133 auth_destroy(auth) global() argument
[all...]
/titanic_52/usr/src/lib/libsqlite/test/
H A Dauth.test18 # $Id: auth.test,v 1.12 2003/12/07 00:24:35 drh Exp $
27 do_test auth-1.1.1 {
30 proc auth {code arg1 arg2 arg3 arg4} {
36 db authorizer ::auth
39 do_test auth-1.1.2 {
42 do_test auth-1.2 {
45 do_test auth-1.3.1 {
46 proc auth {code arg1 arg2 arg3 arg4} {
55 do_test auth-1.3.2 {
58 do_test auth
[all...]
/titanic_52/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) \ argument
254 ((*((auth)->ah_ops->ah_nextverf))(auth))
255 #define auth_nextverf(auth) \ argument
260 AUTH_MARSHALL(auth,xdrs,cred) global() argument
262 auth_marshall(auth,xdrs,cred) global() argument
265 AUTH_MARSHALL(auth,xdrs) global() argument
267 auth_marshall(auth,xdrs) global() argument
272 AUTH_VALIDATE(auth,verfp) global() argument
274 auth_validate(auth,verfp) global() argument
278 AUTH_REFRESH(auth,msg,cr) global() argument
280 auth_refresh(auth,msg,cr) global() argument
283 AUTH_REFRESH(auth,msg) global() argument
285 auth_refresh(auth,msg) global() argument
289 AUTH_DESTROY(auth) global() argument
291 auth_destroy(auth) global() argument
302 AUTH_WRAP(auth,buf,buflen,xdrs,xfunc,xwhere) global() argument
305 auth_wrap(auth,buf,buflen,xdrs,xfunc,xwhere) global() argument
309 AUTH_UNWRAP(auth,xdrs,xfunc,xwhere) global() argument
311 auth_unwrap(auth,xdrs) global() argument
[all...]
H A Dsvc_auth.h84 #define SVCAUTH_GSSPARMS(auth) ((svc_rpc_gss_parms_t *)&(auth)->svc_gss_parms) argument
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) \ argument
94 ((*((auth)->svc_ah_ops.svc_ah_wrap))(auth, xdrs, xfunc, xwhere))
95 #define SVCAUTH_UNWRAP(auth, xdrs, xfunc, xwhere) \ argument
96 ((*((auth)->svc_ah_ops.svc_ah_unwrap))(auth, xdr
[all...]
/titanic_52/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...]
/titanic_52/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) argument
79 * Returns an auth handle with the given stuff in it.
87 AUTH *auth; in authunix_create() local
91 * Allocate and set up auth handle in authunix_create()
93 auth = (AUTH *) bkmem_alloc(sizeof (*auth)); in authunix_create()
94 if (auth == NULL) { in authunix_create()
106 auth in authunix_create()
158 authunix_nextverf(AUTH * auth) authunix_nextverf() argument
164 authunix_marshal(AUTH * auth,XDR * xdrs,cred_t * cr) authunix_marshal() argument
172 authunix_validate(AUTH * auth,struct opaque_auth * verf) authunix_validate() argument
200 authunix_refresh(AUTH * auth,struct rpc_msg * msg,cred_t * cr) authunix_refresh() argument
240 authunix_destroy(AUTH * auth) authunix_destroy() argument
257 marshal_new_auth(AUTH * auth) marshal_new_auth() argument
[all...]
/titanic_52/usr/src/lib/libnsl/rpc/
H A Dauth_sys.c53 #include <rpc/auth.h>
72 #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private) argument
82 * Returns an auth handle with the given stuff in it.
92 AUTH *auth; in authsys_create() local
96 * Allocate and set up auth handle in authsys_create()
98 auth = malloc(sizeof (*auth)); in authsys_create()
99 if (auth == NULL) { in authsys_create()
108 free(auth); in authsys_create()
238 authsys_nextverf(AUTH * auth) authsys_nextverf() argument
244 authsys_marshal(AUTH * auth,XDR * xdrs) authsys_marshal() argument
253 authsys_validate(AUTH * auth,struct opaque_auth * verf) authsys_validate() argument
283 authsys_refresh(AUTH * auth,void * dummy) authsys_refresh() argument
324 authsys_destroy(AUTH * auth) authsys_destroy() argument
346 marshal_new_auth(AUTH * auth) marshal_new_auth() argument
[all...]
H A Dauth_des.c132 AUTH *auth; in authdes_pk_seccreate() local
139 auth = malloc(sizeof (AUTH)); in authdes_pk_seccreate()
140 if (auth == NULL) { in authdes_pk_seccreate()
186 if (key_gendes(&auth->ah_key) < 0) { in authdes_pk_seccreate()
192 auth->ah_key = *ckey; in authdes_pk_seccreate()
195 * Set up auth handle in authdes_pk_seccreate()
197 auth->ah_cred.oa_flavor = AUTH_DES; in authdes_pk_seccreate()
198 auth->ah_verf.oa_flavor = AUTH_DES; in authdes_pk_seccreate()
199 auth->ah_ops = authdes_ops(); in authdes_pk_seccreate()
200 auth in authdes_pk_seccreate()
236 authdes_nextverf(AUTH * auth) authdes_nextverf() argument
246 authdes_marshal(AUTH * auth,XDR * xdrs) authdes_marshal() argument
342 authdes_validate(AUTH * auth,struct opaque_auth * rverf) authdes_validate() argument
400 authdes_refresh(AUTH * auth,void * dummy) authdes_refresh() argument
440 authdes_destroy(AUTH * auth) authdes_destroy() argument
[all...]
/titanic_52/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c95 #define AUTH_PRIVATE(auth) ((rpc_gss_data *)auth->ah_private) argument
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);
233 rpc_gss_seccreate_pvt(gssstat,minor_stat,auth,ap,actual_mech_type,ret_flags,time_rec) rpc_gss_seccreate_pvt() argument
415 __rpc_gss_set_defaults(auth,service,qop) __rpc_gss_set_defaults() argument
551 rpc_gss_marshall(auth,xdrs) rpc_gss_marshall() argument
590 rpc_gss_validate(auth,verf) rpc_gss_validate() argument
640 rpc_gss_refresh(auth,msg) rpc_gss_refresh() argument
704 rpc_gss_destroy(auth) rpc_gss_destroy() argument
721 rpc_gss_destroy_pvt(auth) rpc_gss_destroy_pvt() argument
785 __rpc_gss_wrap(auth,buf,buflen,out_xdrs,xdr_func,xdr_ptr) __rpc_gss_wrap() argument
853 __rpc_gss_unwrap(auth,in_xdrs,xdr_func,xdr_ptr) __rpc_gss_unwrap() argument
877 __rpc_gss_max_data_length(auth,max_tp_unit_len) __rpc_gss_max_data_length() argument
[all...]
/titanic_52/usr/src/uts/common/rpc/sec/
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 in authloopback_create()
100 AUTH *auth = (AUTH *)buf; in authloopback_init() local
102 auth->ah_ops = &authloopback_ops; in authloopback_init()
103 auth->ah_cred.oa_flavor = AUTH_LOOPBACK; in authloopback_init()
104 auth->ah_verf = _null_auth; in authloopback_init()
114 authloopback_nextverf(AUTH *auth) in authloopback_nextverf() argument
121 authloopback_marshal(AUTH *auth, XD argument
244 authloopback_validate(AUTH * auth,struct opaque_auth * verf) authloopback_validate() argument
251 authloopback_refresh(AUTH * auth,struct rpc_msg * msg,cred_t * cr) authloopback_refresh() argument
257 authloopback_destroy(register AUTH * auth) authloopback_destroy() 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 in authkern_create()
99 AUTH *auth = (AUTH *)buf; in authkern_init() local
101 auth->ah_ops = &auth_kern_ops; in authkern_init()
102 auth->ah_cred.oa_flavor = AUTH_UNIX; in authkern_init()
103 auth->ah_verf = _null_auth; in authkern_init()
113 authkern_nextverf(AUTH *auth) in authkern_nextverf() argument
119 authkern_marshal(AUTH *auth, XD argument
239 authkern_validate(AUTH * auth,struct opaque_auth * verf) authkern_validate() argument
246 authkern_refresh(AUTH * auth,struct rpc_msg * msg,cred_t * cr) authkern_refresh() argument
252 authkern_destroy(AUTH * auth) authkern_destroy() argument
[all...]
H A Dauth_none.c32 #include <rpc/auth.h>
55 * Returns an auth handle.
61 * Allocate and set up auth handle in authnone_create()
73 AUTH *auth = (AUTH *)buf; in authnone_init() local
75 auth->ah_ops = &auth_none_ops; in authnone_init()
85 auth->ah_cred = auth->ah_verf = _null_auth; in authnone_init()
95 authnone_nextverf(AUTH *auth) in authnone_nextverf() argument
102 authnone_marshal(AUTH *auth, XDR *xdrs, struct cred *cr) in authnone_marshal() argument
123 if ((xdr_opaque_auth(xdrs, &(auth in authnone_marshal()
132 authnone_validate(AUTH * auth,struct opaque_auth * verf) authnone_validate() argument
139 authnone_refresh(AUTH * auth,struct rpc_msg * msg,cred_t * cr) authnone_refresh() argument
145 authnone_destroy(AUTH * auth) authnone_destroy() argument
[all...]
H A Dauth_des.c50 #include <rpc/auth.h>
62 #define AUTH_PRIVATE(auth) (struct ad_private *)auth->ah_private argument
111 AUTH *auth; in authdes_create() local
125 auth = ALLOC(AUTH); in authdes_create()
141 if (auth == NULL || ad == NULL || ad->ad_fullname == NULL || in authdes_create()
165 if ((stat = key_gendes(&auth->ah_key)) != RPC_SUCCESS) { in authdes_create()
178 auth->ah_key = *ckey; in authdes_create()
181 * Set up auth handle in authdes_create()
183 auth in authdes_create()
215 authdes_nextverf(AUTH * auth) authdes_nextverf() argument
225 authdes_marshal(AUTH * auth,XDR * xdrs,struct cred * cr) authdes_marshal() argument
316 authdes_validate(AUTH * auth,struct opaque_auth * rverf) authdes_validate() argument
377 authdes_refresh(AUTH * auth,struct rpc_msg * msg,cred_t * cr) authdes_refresh() argument
413 authdes_destroy(AUTH * auth) authdes_destroy() argument
[all...]
/titanic_52/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss.c96 #define AUTH_PRIVATE(auth) ((rpc_gss_data *)auth->ah_private) argument
101 * RPCSEC_GSS auth cache definitions.
110 * gss auth cache entry.
119 AUTH *auth; member
141 * Initialize gss auth cache table lock in gssauth_init()
146 * Allocate gss auth cache handle in gssauth_init()
215 RPCGSS_LOG(2, "gssauth_cache_reclaim: destroy auth " in gssauth_zone_fini()
216 "%p\n", (void *)p->auth); in gssauth_zone_fini()
217 rpc_gss_destroy(p->auth); in gssauth_zone_fini()
266 AUTH *auth = NULL; rpc_gss_secget() local
387 rpc_gss_secfree(AUTH * auth) rpc_gss_secfree() argument
436 AUTH *auth = NULL; rpc_gss_seccreate() local
543 rpc_gss_seccreate_pvt(gssstat,minor_stat,auth,ap,desired_mech_type,actual_mech_type,ret_flags,time_rec,cr,isrefresh) rpc_gss_seccreate_pvt() argument
1013 rpc_gss_validate(auth,verf) rpc_gss_validate() argument
1069 rpc_gss_refresh(auth,msg,cr) rpc_gss_refresh() argument
1191 rpc_gss_destroy(auth) rpc_gss_destroy() argument
1212 rpc_gss_free_pvt(auth) rpc_gss_free_pvt() argument
1312 rpc_gss_wrap(auth,buf,buflen,out_xdrs,xdr_func,xdr_ptr) rpc_gss_wrap() argument
1412 rpc_gss_unwrap(auth,in_xdrs,xdr_func,xdr_ptr) rpc_gss_unwrap() argument
1546 rpc_gss_marshall(auth,xdrs) rpc_gss_marshall() argument
1559 rpc_gss_set_defaults(auth,service,qop) rpc_gss_set_defaults() argument
1575 rpc_gss_get_service_type(AUTH * auth) rpc_gss_get_service_type() argument
[all...]
/titanic_52/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSAttrMsg.java141 SrvLocMsg makeReply(Vector attrs, Hashtable auth) in makeReply() argument
150 if (auth != null) { in makeReply()
151 AuthBlock selectedAuth = AuthBlock.getEquivalentAuth(spi, auth); in makeReply()
152 auth = null; in makeReply()
154 auth = new Hashtable(); in makeReply()
155 auth.put(spi, selectedAuth); in makeReply()
161 hdr.parseAttributeVectorOut(attrs, 0, (auth != null), in makeReply()
162 auth, baos, true); in makeReply()
172 " auth block=" + in makeReply()
173 AuthBlock.desc(auth) in makeReply()
[all...]
H A DSSrvMsg.java176 Hashtable auth = null; in makeReply() local
179 auth = (Hashtable)URLSignatures.get(surl); in makeReply()
181 AuthBlock.getEquivalentAuth(spi, auth); in makeReply()
182 auth = null; in makeReply()
184 auth = new Hashtable(); in makeReply()
185 auth.put(spi, selectedAuth); in makeReply()
189 (auth != null ? in makeReply()
198 (auth != null), in makeReply()
199 auth, in makeReply()
228 " auth bloc in makeReply()
[all...]
/titanic_52/usr/src/lib/libsldap/common/
H A Dns_connect.c479 (void) fprintf(fp, "tid= %d: AuthType=%d\n", t, cred->auth.type); in printCred()
480 (void) fprintf(fp, "tid= %d: TlsType=%d\n", t, cred->auth.tlstype); in printCred()
481 (void) fprintf(fp, "tid= %d: SaslMech=%d\n", t, cred->auth.saslmech); in printCred()
482 (void) fprintf(fp, "tid= %d: SaslOpt=%d\n", t, cred->auth.saslopt); in printCred()
512 printCred(fp, con->auth); in printConnection()
586 const ns_cred_t *auth, Connection **conp) in findConnection() argument
594 if (auth == NULL || conp == NULL) in findConnection()
616 printCred(stderr, auth); in findConnection()
635 if (__s_api_is_auth_matched(cp->auth, auth) in findConnection()
685 makeConnection(Connection ** conp,const char * serverAddr,const ns_cred_t * auth,ConnectionID * cID,int timeoutSec,ns_ldap_error_t ** errorp,int fail_if_new_pwd_reqd,int nopasswd_acct_mgmt,int flags,char *** badsrvrs,ns_conn_user_t * conn_user) makeConnection() argument
1344 openConnection(LDAP ** ldp,const char * serverAddr,const ns_cred_t * auth,int timeoutSec,ns_ldap_error_t ** errorp,int fail_if_new_pwd_reqd,int passwd_mgmt,ns_conn_user_t * conn_user,int flags) openConnection() argument
2036 createTLSSession(const ns_cred_t * auth,const char * serverAddr,uint16_t port,int timeoutMilliSec,LDAP ** ldp,ns_ldap_error_t ** errorp) createTLSSession() argument
2285 createSession(const ns_cred_t * auth,const char * serverAddr,uint16_t port,int timeoutMilliSec,LDAP ** ldp,ns_ldap_error_t ** errorp) createSession() argument
2333 doSimpleBind(const ns_cred_t * auth,LDAP * ld,int timeoutSec,ns_ldap_error_t ** errorp,int fail_if_new_pwd_reqd,int passwd_mgmt) doSimpleBind() argument
2431 doSASLBind(const ns_cred_t * auth,LDAP * ld,int timeoutSec,ns_ldap_error_t ** errorp,int fail_if_new_pwd_reqd,int passwd_mgmt) doSASLBind() argument
2633 performBind(const ns_cred_t * auth,LDAP * ld,int timeoutSec,ns_ldap_error_t ** errorp,int fail_if_new_pwd_reqd,int passwd_mgmt) performBind() argument
[all...]
/titanic_52/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_hba.c61 pci_scsi_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, in pci_scsi_device_create() argument
70 instance, NULL, auth, NULL, NULL, NULL); in pci_scsi_device_create()
121 pci_smp_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, in pci_smp_device_create() argument
129 instance, NULL, auth, NULL, NULL, NULL); in pci_smp_device_create()
155 pci_iport_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, in pci_iport_device_create() argument
163 instance, NULL, auth, NULL, NULL, NULL); in pci_iport_device_create()
188 nvlist_t *auth; in pci_iports_instantiate() local
192 auth = topo_mod_auth(mod, parent); in pci_iports_instantiate()
200 iport = pci_iport_device_create(mod, auth, parent, cn, i++); in pci_iports_instantiate()
222 pci_scsi_device_create(mod, auth, ipor in pci_iports_instantiate()
255 nvlist_t *fmri, *auth; pci_receptacle_instantiate() local
[all...]
/titanic_52/usr/src/lib/fm/topo/modules/sun4v/motherboard/
H A Dmotherboard.c244 mb_prop_set(tnode_t *node, nvlist_t *auth) in mb_prop_set() argument
255 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_PRODUCT, &prod) == 0) in mb_prop_set()
258 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_PRODUCT_SN, &psn) == 0) in mb_prop_set()
261 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_CHASSIS, &csn) == 0) in mb_prop_set()
264 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_SERVER, &server) == 0) in mb_prop_set()
288 nvlist_t *auth = topo_mod_auth(mod, parent); in mb_tnode_create() local
296 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_CHASSIS, &pstr) != 0 && in mb_tnode_create()
298 if (nvlist_add_string(auth, FM_FMRI_AUTH_CHASSIS, csn) != 0) { in mb_tnode_create()
300 "failed to add chassis to auth"); in mb_tnode_create()
301 nvlist_free(auth); in mb_tnode_create()
[all...]
/titanic_52/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_authclient.c176 conn_auth_t *auth = &lsm->icl_auth; in iscsit_verify_chap_resp() local
179 if (auth->ca_use_radius == B_TRUE) { in iscsit_verify_chap_resp()
182 struct sockaddr_storage *sa = &auth->ca_radius_server; in iscsit_verify_chap_resp()
205 bcopy(auth->ca_radius_secret, in iscsit_verify_chap_resp()
209 auth->ca_radius_secretlen; in iscsit_verify_chap_resp()
212 auth->ca_ini_chapuser, in iscsit_verify_chap_resp()
213 auth->ca_tgt_chapuser, in iscsit_verify_chap_resp()
231 if (auth->ca_ini_chapsecretlen == 0) { in iscsit_verify_chap_resp()
243 auth->ca_ini_chapsecret, auth in iscsit_verify_chap_resp()
[all...]
/titanic_52/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) in krb5_auth_to_rep() argument
29 rep->cusec = auth->authenticator->cusec; in krb5_auth_to_rep()
30 rep->ctime = auth->authenticator->ctime; in krb5_auth_to_rep()
31 if ((retval = krb5_unparse_name(context, auth->ticket->server, &rep->server))) in krb5_auth_to_rep()
33 if ((retval = krb5_unparse_name(context, auth->authenticator->client, in krb5_auth_to_rep()
/titanic_52/usr/src/lib/libnsl/nss/
H A Dgetauthattr.c68 authstr_t *auth = (authstr_t *)ent; in str2authattr() local
87 auth->name = _strtok_escape(buffer, sep, &last); in str2authattr()
88 auth->res1 = _strtok_escape(NULL, sep, &last); in str2authattr()
89 auth->res2 = _strtok_escape(NULL, sep, &last); in str2authattr()
90 auth->short_desc = _strtok_escape(NULL, sep, &last); in str2authattr()
91 auth->long_desc = _strtok_escape(NULL, sep, &last); in str2authattr()
92 auth->attr = _strtok_escape(NULL, sep, &last); in str2authattr()
/titanic_52/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg_test.c50 nvlist_t *auth, *fmri, *list, *test_arr[TEST_ARR_SZ]; in main() local
64 if (nvlist_alloc(&auth, NV_UNIQUE_NAME, 0) != 0 || in main()
71 err |= nvlist_add_uint8(auth, FM_VERSION, FM_FMRI_AUTH_VERSION); in main()
72 err |= nvlist_add_string(auth, FM_FMRI_AUTH_PRODUCT, "product"); in main()
73 err |= nvlist_add_string(auth, FM_FMRI_AUTH_PRODUCT_SN, "product_sn"); in main()
74 err |= nvlist_add_string(auth, FM_FMRI_AUTH_CHASSIS, "chassis"); in main()
75 err |= nvlist_add_string(auth, FM_FMRI_AUTH_DOMAIN, "domain"); in main()
76 err |= nvlist_add_string(auth, FM_FMRI_AUTH_SERVER, "server"); in main()
79 (void) fprintf(stderr, "%s: failed to build auth nvlist: %s\n", in main()
86 err |= nvlist_add_nvlist(fmri, FM_FMRI_AUTHORITY, auth); in main()
[all...]

123456789