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

12345

/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetauthattr.c64 authstr_t *auth = ent; local
79 auth->name = _strtok_escape(buf, sep, &last);
80 auth->res1 = _strtok_escape(NULL, sep, &last);
81 auth->res2 = _strtok_escape(NULL, sep, &last);
82 auth->short_desc = _strtok_escape(NULL, sep, &last);
83 auth->long_desc = _strtok_escape(NULL, sep, &last);
84 auth->attr = _strtok_escape(NULL, sep, &last);
144 authstr_t auth; local
147 (void) memset(&auth, 0, sizeof (authstr_t));
148 tmp = _getauthattr(&auth, bu
158 authstr_t auth; local
170 free_authattr(authattr_t *auth) argument
185 _authstr2attr(authstr_t *auth) argument
207 print_authattr(authattr_t *auth) argument
[all...]
H A Dchkauthattr.c262 char *auth, *last, *auths; local
273 while (auth = strtok_r(auths, KV_SEPSTR, &last)) {
276 res = ca->cb(auth, ca->ctxt, pres);
281 if (ca->wantdef && strcmp(auth, solaris) == 0)
313 _auth_match_noun(const char *pattern, const char *auth, argument
336 (strncmp(pattern, auth, pattern_len) == 0)) {
353 if (strncmp(pattern, auth, pattern_len - 1) == 0)
359 _auth_match(const char *pattern, const char *auth) argument
361 return (_auth_match_noun(pattern, auth, strlen(auth), NUL
365 _is_authorized(const char *auth, void *authname, void *res) argument
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dauth_sys.c53 #include <rpc/auth.h>
71 #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private)
81 * Returns an auth handle with the given stuff in it.
91 AUTH *auth; local
95 * Allocate and set up auth handle
97 auth = malloc(sizeof (*auth));
98 if (auth == NULL) {
107 free(auth);
237 authsys_nextverf(AUTH *auth) argument
243 authsys_marshal(AUTH *auth, XDR *xdrs) argument
252 authsys_validate(AUTH *auth, struct opaque_auth *verf) argument
282 authsys_refresh(AUTH *auth, void *dummy) argument
323 authsys_destroy(AUTH *auth) argument
345 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...]
/osnet-11/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) +
H A DSLPHeaderV2.java731 // Get auth block, if any.
733 Hashtable auth = null;
735 // Get number of auth blocks.
751 auth = getCheckedAuthBlockList(message, nauths, dis);
753 lifetime = AuthBlock.getShortestLifetime(auth);
773 if (auth != null) {
775 // Put it in the auth block for this URL.
777 authTable.put(url, auth);
791 Hashtable auth,
818 // Process auth bloc
789 parseServiceURLOut(ServiceURL surl, boolean urlAuth, Hashtable auth, ByteArrayOutputStream baos, boolean checkOverflow) argument
934 parseAttributeVectorOut(Vector v, int lifetime, boolean attrAuth, Hashtable auth, ByteArrayOutputStream baos, boolean writeAuthCount) argument
[all...]
H A DSDAAdvert.java170 // Parse out auth block, if necessary.
172 Hashtable auth = null;
200 auth =
204 // Parse out auth blocks.
205 baos.write((byte)(auth.size() & 0xFF)); // auth block count
207 AuthBlock.externalizeAll(hdr, auth, baos);
224 " auth block="+AuthBlock.desc(auth) +
H A DCSrvMsg.java98 Hashtable auth = (Hashtable) URLSignatures.get(surl);
100 if (auth != null) {
101 AuthBlock.verifyAll(auth);
/osnet-11/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...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_conv.c18 krb5_auth_to_replay(context, krb5_tkt_authent *auth,krb5_donot_replay *rep)
19 given auth, take important information and make rep; return -1 if failed
23 krb5_auth_to_rep(krb5_context context, krb5_tkt_authent *auth, krb5_donot_replay *rep) argument
26 rep->cusec = auth->authenticator->cusec;
27 rep->ctime = auth->authenticator->ctime;
28 if ((retval = krb5_unparse_name(context, auth->ticket->server, &rep->server)))
30 if ((retval = krb5_unparse_name(context, auth->authenticator->client,
/osnet-11/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, argument
70 instance, NULL, auth, NULL, NULL, NULL);
121 pci_smp_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, argument
129 instance, NULL, auth, NULL, NULL, NULL);
155 pci_iport_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, argument
163 instance, NULL, auth, NULL, NULL, NULL);
188 nvlist_t *auth; local
192 auth = topo_mod_auth(mod, parent);
200 iport = pci_iport_device_create(mod, auth, parent, cn, i++);
222 pci_scsi_device_create(mod, auth, ipor
255 nvlist_t *fmri, *auth; local
[all...]
H A Dutil.c99 nvlist_t *auth; local
102 auth = topo_mod_auth(mp, parent);
112 auth, part, NULL, serial);
113 nvlist_free(auth);
/osnet-11/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg_test.c50 nvlist_t *auth; local
64 if (nvlist_alloc(&auth, NV_UNIQUE_NAME, 0) != 0 ||
72 err |= nvlist_add_uint8(auth, FM_VERSION, FM_FMRI_AUTH_VERSION);
73 err |= nvlist_add_string(auth, FM_FMRI_AUTH_V1_SYSTEM_MFG,
75 err |= nvlist_add_string(auth, FM_FMRI_AUTH_V1_SYSTEM_NM,
77 err |= nvlist_add_string(auth, FM_FMRI_AUTH_V1_SYSTEM_PN,
79 err |= nvlist_add_string(auth, FM_FMRI_AUTH_V1_SYSTEM_SN,
83 err |= nvlist_add_string(auth, FM_FMRI_AUTH_V1_SYS_COMP_MFG,
85 err |= nvlist_add_string(auth, FM_FMRI_AUTH_V1_SYS_COMP_NM,
87 err |= nvlist_add_string(auth, FM_FMRI_AUTH_V1_SYS_COMP_P
[all...]
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_mac.c46 smb_mac_init(smb_sign_ctx_t *sign_ctx, smb_auth_info_t *auth) argument
50 if (smb_auth_gen_session_key(auth, S16) != SMBAUTH_SUCCESS)
53 bcopy(auth->cs, &(sign_ctx->ssc_mackey[SMBAUTH_SESSION_KEY_SZ]),
54 auth->cs_len);
55 sign_ctx->ssc_keylen = SMBAUTH_SESSION_KEY_SZ + auth->cs_len;
H A Dsmb_auth.c432 smb_auth_info_t *auth)
439 auth->lmcompatibility_lvl = lmcomp_lvl;
441 auth->ci_len = 0;
442 *auth->ci = 0;
444 if (smb_auth_ntlm_hash(password, auth->hash) !=
448 (void) memcpy(auth->hash, ntlm_hash, SMBAUTH_HASH_SZ);
451 auth->cs_len = smb_auth_ntlm_response(auth->hash,
452 srv_challenge_key, srv_challenge_len, auth->cs);
455 if (smb_auth_ntlm_hash(password, auth
425 smb_auth_set_info(char *username, char *password, unsigned char *ntlm_hash, char *domain, unsigned char *srv_challenge_key, int srv_challenge_len, int lmcomp_lvl, smb_auth_info_t *auth) argument
520 smb_auth_gen_session_key(smb_auth_info_t *auth, unsigned char *session_key) argument
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_connect.c491 (void) fprintf(fp, "tid= %d: AuthType=%d", t, cred->auth.type);
492 (void) fprintf(fp, "tid= %d: TlsType=%d", t, cred->auth.tlstype);
493 (void) fprintf(fp, "tid= %d: SaslMech=%d", t, cred->auth.saslmech);
494 (void) fprintf(fp, "tid= %d: SaslOpt=%d", t, cred->auth.saslopt);
524 printCred(fp, con->auth);
598 const ns_cred_t *auth, Connection **conp)
606 if (auth == NULL || conp == NULL)
628 printCred(stderr, auth);
647 if (__s_api_is_auth_matched(cp->auth, auth)
597 findConnection(int flags, const char *serverAddr, const ns_cred_t *auth, Connection **conp) argument
811 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) argument
1498 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) argument
2190 createTLSSession(const ns_cred_t *auth, const char *serverAddr, uint16_t port, int timeoutMilliSec, LDAP **ldp, ns_ldap_error_t **errorp) argument
2439 createSession(const ns_cred_t *auth, const char *serverAddr, uint16_t port, int timeoutMilliSec, LDAP **ldp, ns_ldap_error_t **errorp) argument
2487 doSimpleBind(const ns_cred_t *auth, LDAP *ld, int timeoutSec, ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd, int passwd_mgmt) argument
2607 doSASLBind(const ns_cred_t *auth, LDAP *ld, int timeoutSec, ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd, int passwd_mgmt) argument
2822 performBind(const ns_cred_t *auth, LDAP *ld, int timeoutSec, ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd, int passwd_mgmt) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_common.c87 nvlist_t *auth; local
101 /* get auth list from parent */
102 auth = topo_mod_auth(mod, pnode);
110 rv = topo_node_set_auth_chassis(mod, auth, tn);
116 nvlist_free(auth);
207 nvlist_t *auth = NULL; local
216 auth = topo_mod_auth(mod, pnode);
220 FM_HC_SCHEME_VERSION, BAY, instance, NULL, auth, NULL, NULL, NULL);
252 "%s: failed to set auth for %s:%d: (%s)\n",
271 if (auth !
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_generic.c70 nvlist_t *auth; local
85 auth = topo_mod_auth(mod, t_bindparent);
90 inst, NULL, auth, NULL, NULL, serial);
94 nvlist_free(auth);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/motherboard/common/
H A Dmotherboard.c243 mb_prop_set(tnode_t *node, nvlist_t *auth) argument
256 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_V1_CHASSIS_MFG, &cmfg) == 0)
260 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_V1_CHASSIS_NM, &cnm) == 0)
263 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_V1_CHASSIS_PN, &cpn) == 0)
266 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_V1_CHASSIS_SN, &csn) == 0)
269 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_V1_CHASSIS_ALIAS,
297 nvlist_t *auth = topo_mod_auth(mod, parent); local
305 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_V1_CHASSIS_SN,
307 if (nvlist_add_string(auth, FM_FMRI_AUTH_V1_CHASSIS_SN,
310 "failed to add chassis-sn to auth");
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/
H A Dchip.c147 create_node(topo_mod_t *mod, tnode_t *pnode, nvlist_t *auth, char *name, argument
153 if (mkrsrc(mod, pnode, name, inst, auth, &fmri) != 0) {
199 nvlist_t *auth, uint16_t chip_smbiosid)
222 if ((strand = create_node(mod, pnode, auth, STRAND_NODE_NAME,
326 nvlist_t *auth, uint16_t chip_smbiosid)
343 if ((core = create_node(mod, pnode, auth, CORE_NODE_NAME,
451 err = create_strand(mod, core, cpu, auth, chip_smbiosid);
458 topo_instance_t max, nvlist_t *cpu, nvlist_t *auth,
512 if ((chip = create_node(mod, pnode, auth, CHIP_NODE_NAME,
648 err = create_core(mod, chip, cpu, auth, smbios_i
198 create_strand(topo_mod_t *mod, tnode_t *pnode, nvlist_t *cpu, nvlist_t *auth, uint16_t chip_smbiosid) argument
325 create_core(topo_mod_t *mod, tnode_t *pnode, nvlist_t *cpu, nvlist_t *auth, uint16_t chip_smbiosid) argument
457 create_chip(topo_mod_t *mod, tnode_t *pnode, topo_instance_t min, topo_instance_t max, nvlist_t *cpu, nvlist_t *auth, int mc_offchip) argument
667 create_chips(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, nvlist_t *auth, int mc_offchip) argument
710 nvlist_t *auth = NULL; local
[all...]
H A Dchip_intel.c97 mc_add_ranks(topo_mod_t *mod, tnode_t *dnode, nvlist_t *auth, int dimm, argument
120 RANK, rank, NULL, auth, NULL, NULL, NULL);
162 nvlist_t *auth, nvlist_t **nvl, uint_t ndimms, int maxdimms, int maxranks)
229 DIMM, dimm_number, NULL, auth, part, rev, serial);
281 mc_add_ranks(mod, dnode, auth, dimm_number, ranks_nvp,
289 int channel, nvlist_t *auth, nvlist_t *nvl, int maxdimms, int maxranks)
299 if (mkrsrc(mod, pnode, DRAMCHANNEL, channel, auth, &fmri) != 0) {
319 mc_add_dimms(mod, chip_smbid, mc_channel, auth, dimm_nvl,
336 const char *name, nvlist_t *auth, nvlist_t *nvl)
384 if (mkrsrc(mod, pnode, name, i, auth,
161 mc_add_dimms(topo_mod_t *mod, uint16_t chip_smbid, tnode_t *pnode, nvlist_t *auth, nvlist_t **nvl, uint_t ndimms, int maxdimms, int maxranks) argument
288 mc_add_channel(topo_mod_t *mod, uint16_t chip_smbid, tnode_t *pnode, int channel, nvlist_t *auth, nvlist_t *nvl, int maxdimms, int maxranks) argument
335 mc_nb_create(topo_mod_t *mod, uint16_t chip_smbid, tnode_t *pnode, const char *name, nvlist_t *auth, nvlist_t *nvl) argument
436 mc_node_create(topo_mod_t *mod, uint16_t chip_smbid, tnode_t *pnode, const char *name, nvlist_t *auth) argument
480 onchip_mc_create(topo_mod_t *mod, uint16_t chip_smbid, tnode_t *pnode, const char *name, nvlist_t *auth) argument
488 mc_offchip_create(topo_mod_t *mod, tnode_t *pnode, const char *name, nvlist_t *auth) argument
[all...]
/osnet-11/usr/src/lib/libpower/common/
H A Dlibpower_subr.c380 pm_authority_t auth; local
416 for (auth = pm_authority_next(PM_AUTHORITY_INVALID);
417 auth != PM_AUTHORITY_INVALID && err == PM_SUCCESS;
418 auth = pm_authority_next(auth)) {
419 uu_dprintf(pm_log, UU_DPRINTF_DEBUG, "%s checking auth %s\n",
420 __FUNCTION__, pm_authority_getname(auth));
427 if (authority == auth) {
437 pm_authority_getname(auth))) != 0 && errno != ENOENT) {
440 __FUNCTION__, errno, pm_authority_getname(auth));
[all...]

Completed in 65 milliseconds

12345