Searched refs:auth (Results 26 - 50 of 306) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_mt.h105 char *cred_area; /* auth work area */
115 #define SVCAUTH_WRAP(auth, xdrs, xfunc, xwhere) \
116 ((*((auth)->svc_ah_ops.svc_ah_wrap))(auth, xdrs, xfunc, xwhere))
117 #define SVCAUTH_UNWRAP(auth, xdrs, xfunc, xwhere) \
118 ((*((auth)->svc_ah_ops.svc_ah_unwrap))(auth, xdrs, xfunc, xwhere))
/illumos-gate/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);
/illumos-gate/usr/src/lib/libbc/libc/net/
H A Dauthunix.c30 #include <rpc/auth.h>
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.c56 AUTH *auth; local
76 auth = authsys_create_default();
77 client->cl_auth = auth;
/illumos-gate/usr/src/boot/lib/libstand/
H A Drpc.c65 int32_t authtype; /* auth type */
66 u_int32_t authlen; /* auth length */
115 struct auth_info *auth; local
143 send_head -= sizeof(*auth);
144 auth = (struct auth_info *)send_head;
145 auth->authtype = htonl(RPCAUTH_NULL);
146 auth->authlen = 0;
149 /* Auth credentials: always auth unix (as root) */
152 send_head -= sizeof(*auth);
153 auth
[all...]
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dchkauthattr.c233 char *auth, *last, *auths; local
241 while (auth = strtok_r(auths, KV_SEPSTR, &last)) {
244 res = cb(auth, ctxt, pres);
293 _auth_match_noun(const char *pattern, const char *auth, argument
317 (strncmp(pattern, auth, pattern_len) == 0)) {
330 * If the strings are identical up to the wildcard and auth does not
333 if (strncmp(pattern, auth, pattern_len - 1) == 0) {
334 grant = strrchr(auth, '.');
344 _auth_match(const char *pattern, const char *auth) argument
346 return (_auth_match_noun(pattern, auth, strle
350 _is_authorized(const char *auth, void *authname, void *res) argument
[all...]
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg_test.c50 nvlist_t *auth, *fmri, *list, *test_arr[TEST_ARR_SZ]; local
64 if (nvlist_alloc(&auth, NV_UNIQUE_NAME, 0) != 0 ||
71 err |= nvlist_add_uint8(auth, FM_VERSION, FM_FMRI_AUTH_VERSION);
72 err |= nvlist_add_string(auth, FM_FMRI_AUTH_PRODUCT, "product");
73 err |= nvlist_add_string(auth, FM_FMRI_AUTH_PRODUCT_SN, "product_sn");
74 err |= nvlist_add_string(auth, FM_FMRI_AUTH_CHASSIS, "chassis");
75 err |= nvlist_add_string(auth, FM_FMRI_AUTH_DOMAIN, "domain");
76 err |= nvlist_add_string(auth, FM_FMRI_AUTH_SERVER, "server");
79 (void) fprintf(stderr, "%s: failed to build auth nvlist: %s\n",
86 err |= nvlist_add_nvlist(fmri, FM_FMRI_AUTHORITY, auth);
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_authclient.c176 conn_auth_t *auth = &lsm->icl_auth; local
179 if (auth->ca_use_radius == B_TRUE) {
182 struct sockaddr_storage *sa = &auth->ca_radius_server;
205 bcopy(auth->ca_radius_secret,
209 auth->ca_radius_secretlen;
212 auth->ca_ini_chapuser,
213 auth->ca_tgt_chapuser,
231 if (auth->ca_ini_chapsecretlen == 0) {
243 auth->ca_ini_chapsecret, auth
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c479 (void) fprintf(fp, "tid= %d: AuthType=%d\n", t, cred->auth.type);
480 (void) fprintf(fp, "tid= %d: TlsType=%d\n", t, cred->auth.tlstype);
481 (void) fprintf(fp, "tid= %d: SaslMech=%d\n", t, cred->auth.saslmech);
482 (void) fprintf(fp, "tid= %d: SaslOpt=%d\n", t, cred->auth.saslopt);
512 printCred(fp, con->auth);
586 const ns_cred_t *auth, Connection **conp)
594 if (auth == NULL || conp == NULL)
616 printCred(stderr, auth);
635 if (__s_api_is_auth_matched(cp->auth, auth)
585 findConnection(int flags, const char *serverAddr, const ns_cred_t *auth, Connection **conp) argument
684 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
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) argument
2036 createTLSSession(const ns_cred_t *auth, const char *serverAddr, uint16_t port, int timeoutMilliSec, LDAP **ldp, ns_ldap_error_t **errorp) argument
2285 createSession(const ns_cred_t *auth, const char *serverAddr, uint16_t port, int timeoutMilliSec, LDAP **ldp, ns_ldap_error_t **errorp) 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) 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) 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) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/motherboard/
H A Dmotherboard.c244 mb_prop_set(tnode_t *node, nvlist_t *auth) argument
255 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_PRODUCT, &prod) == 0)
258 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_PRODUCT_SN, &psn) == 0)
261 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_CHASSIS, &csn) == 0)
264 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_SERVER, &server) == 0)
288 nvlist_t *auth = topo_mod_auth(mod, parent); local
296 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_CHASSIS, &pstr) != 0 &&
298 if (nvlist_add_string(auth, FM_FMRI_AUTH_CHASSIS, csn) != 0) {
300 "failed to add chassis to auth");
301 nvlist_free(auth);
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_generic.c71 nvlist_t *auth; local
86 auth = topo_mod_auth(mod, t_bindparent);
91 inst, NULL, auth, NULL, NULL, serial);
95 nvlist_free(auth);
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsec_clnt.c55 #include <rpc/auth.h>
90 static kmutex_t desauthtab_lock; /* Lock to protect DES auth cache */
325 * Load application auth related data from user land to kernel.
444 AUTH *auth; local
517 &auth);
521 *ap = auth;
553 da->da_auth = auth;
574 (caddr_t)secdata, cr, &auth);
575 *ap = auth;
603 * auth creat
614 sec_clnt_freeh(AUTH *auth) argument
661 revoke_key(AUTH *auth, int newkey) argument
[all...]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
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);
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslog.conf33 *.err;kern.notice;auth.notice /dev/sysmsg
43 #auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs.conf287 # enable-auth: Enables DHCHAP support in the driver.
291 enable-auth=0;
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip.c145 create_node(topo_mod_t *mod, tnode_t *pnode, nvlist_t *auth, char *name, argument
151 if (mkrsrc(mod, pnode, name, inst, auth, &fmri) != 0) {
197 nvlist_t *auth, uint16_t chip_smbiosid)
220 if ((strand = create_node(mod, pnode, auth, STRAND_NODE_NAME,
324 nvlist_t *auth, uint16_t chip_smbiosid)
341 if ((core = create_node(mod, pnode, auth, CORE_NODE_NAME,
449 err = create_strand(mod, core, cpu, auth, chip_smbiosid);
456 topo_instance_t max, nvlist_t *cpu, nvlist_t *auth,
510 if ((chip = create_node(mod, pnode, auth, CHIP_NODE_NAME,
646 err = create_core(mod, chip, cpu, auth, smbios_i
196 create_strand(topo_mod_t *mod, tnode_t *pnode, nvlist_t *cpu, nvlist_t *auth, uint16_t chip_smbiosid) argument
323 create_core(topo_mod_t *mod, tnode_t *pnode, nvlist_t *cpu, nvlist_t *auth, uint16_t chip_smbiosid) argument
455 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
665 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
708 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
121 RANK, rank, NULL, auth, part, rev, serial);
163 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,
162 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
477 onchip_mc_create(topo_mod_t *mod, uint16_t chip_smbid, tnode_t *pnode, const char *name, nvlist_t *auth) argument
485 mc_offchip_create(topo_mod_t *mod, tnode_t *pnode, const char *name, nvlist_t *auth) argument
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
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/pam_modules/ldap/
H A Dldap_utils.c166 credp->auth.type = authp->type;
167 credp->auth.tlstype = authp->tlstype;
168 credp->auth.saslmech = authp->saslmech;
169 credp->auth.saslopt = authp->saslopt;
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_generic.c51 nvlist_t *auth; local
64 auth = topo_mod_auth(mod, t_bindparent);
66 hcfmri->hc_name, hcfmri->instance, NULL, auth,
69 nvlist_free(auth);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_fnutils.h44 #define _fn_ctx_handle_from_initial_with_uid(uid, auth, status) \
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dref_subr.h37 #include <rpc/auth.h>

Completed in 118 milliseconds

1234567891011>>