Searched refs:authp (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c97 ns_auth_t *authp = NULL; local
161 authp = *app;
163 if (authp->type == NS_LDAP_AUTH_NONE)
166 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/libsldap/common/
H A Dns_connect.c1472 * not build a new authp.
1486 * authp authentication method to use.
1492 ns_cred_t **authp,
1520 *authp = (ns_cred_t *)calloc(1, sizeof (ns_cred_t));
1521 if ((*authp) == NULL)
1524 (*authp)->auth = *aMethod;
1539 (void) __ns_ldap_freeCred(authp);
1554 (void) __ns_ldap_freeCred(authp);
1572 (void) __ns_ldap_freeCred(authp);
1578 (void) __ns_ldap_freeCred(authp);
1489 __s_api_getDefaultAuth( int *cLevel, ns_auth_t *aMethod, ns_cred_t **authp, int getAdmin) argument
1717 ns_cred_t *authp = NULL; local
[all...]
H A Dns_common.c197 * RETURN VALUES: copy of authp or NULL on error
198 * INPUT: authp
201 __ns_ldap_dupAuth(const ns_cred_t *authp) argument
208 if (authp == NULL)
215 if (authp->hostcertpath) {
216 ap->hostcertpath = strdup(authp->hostcertpath);
222 if (authp->cred.unix_cred.userID) {
224 strdup(authp->cred.unix_cred.userID);
230 if (authp->cred.unix_cred.passwd) {
232 strdup(authp
[all...]
H A Dns_internal.h876 ns_cred_t *__ns_ldap_dupAuth(const ns_cred_t *authp);
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldaplist.c438 ns_auth_t **authpp = NULL, **authp = NULL; local
452 for (authp = authpp; *authp; authp++) {
453 if ((*authp)->saslmech == NS_LDAP_SASL_GSSAPI) {
H A Dldapaddent.c4274 ns_auth_t *authp = NULL; local
4442 authp = *app;
4443 if (authp->type != NS_LDAP_AUTH_NONE) {
4445 authority.auth.type = authp->type;
4446 authority.auth.tlstype = authp->tlstype;
4447 authority.auth.saslmech = authp->saslmech;
4448 authority.auth.saslopt = authp->saslopt;
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey_common.c586 ns_auth_t *authp = NULL; local
671 authp = *app;
673 if (authp->type == NS_LDAP_AUTH_NONE)
676 credp->auth.type = authp->type;
677 credp->auth.tlstype = authp->tlstype;
678 credp->auth.saslmech = authp->saslmech;
679 credp->auth.saslopt = authp->saslopt;
/illumos-gate/usr/src/common/crypto/modes/
H A Dgcm.c570 uint8_t *ghash, *datap, *authp; local
581 authp = (uint8_t *)ctx->gcm_tmp;
583 bzero(authp, block_size);
594 bzero(authp, block_size);
595 bcopy(&(auth_data[processed]), authp, remainder);
596 datap = (uint8_t *)authp;
H A Dccm.c775 uint8_t *mac_buf, *datap, *ivp, *authp; local
811 authp = (uint8_t *)ctx->ccm_tmp;
812 bzero(authp, block_size);
813 bcopy(encoded_a, authp, encoded_a_len);
819 bcopy(auth_data, authp+encoded_a_len, processed);
821 xor_block(authp, mac_buf);
835 bzero(authp, block_size);
836 bcopy(&(auth_data[processed]), authp, remainder);
837 datap = (uint8_t *)authp;
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c991 ns_auth_t *authp = NULL; local
1052 authp = *app;
1054 if (authp->type == NS_LDAP_AUTH_NONE)
1057 credp->auth.type = authp->type;
1058 credp->auth.tlstype = authp->tlstype;
1059 credp->auth.saslmech = authp->saslmech;
1060 credp->auth.saslopt = authp->saslopt;
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c1596 ns_auth_t *authp = NULL; local
1703 authp = *app;
1704 if (authp->type == NS_LDAP_AUTH_NONE)
1707 credp->auth.type = authp->type;
1708 credp->auth.tlstype = authp->tlstype;
1709 credp->auth.saslmech = authp->saslmech;
1710 credp->auth.saslopt = authp->saslopt;
/illumos-gate/usr/src/lib/libpam/
H A Dpam_framework.c1581 struct auth_module *authp; local
1610 authp = pam_entry->function_ptr;
1613 == 0) && authp && authp->pam_sm_authenticate) ||
1615 authp && authp->pam_sm_setcred))) {
1621 if (authp == NULL) {
1622 authp = calloc(1, sizeof (struct auth_module));
1623 if (authp == NULL)
1635 free(authp);
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c67 typedef struct authunix_parms *authp; typedef in typeref:struct:authunix_parms
331 (((authp) rqstp->rq_clntcred)->aup_uid != 0 &&
332 ((authp) rqstp->rq_clntcred)->aup_uid != (uid_t)gqa.gqa_uid)) {

Completed in 108 milliseconds