Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c97 ns_auth_t *authp = NULL; in authenticate() local
161 authp = *app; in authenticate()
163 if (authp->type == NS_LDAP_AUTH_NONE) in authenticate()
166 credp->auth.type = authp->type; in authenticate()
167 credp->auth.tlstype = authp->tlstype; in authenticate()
168 credp->auth.saslmech = authp->saslmech; in authenticate()
169 credp->auth.saslopt = authp->saslopt; in authenticate()
/titanic_50/usr/src/lib/libsldap/common/
H A Dns_connect.c1492 ns_cred_t **authp, in __s_api_getDefaultAuth() argument
1520 *authp = (ns_cred_t *)calloc(1, sizeof (ns_cred_t)); in __s_api_getDefaultAuth()
1521 if ((*authp) == NULL) in __s_api_getDefaultAuth()
1524 (*authp)->auth = *aMethod; in __s_api_getDefaultAuth()
1539 (void) __ns_ldap_freeCred(authp); in __s_api_getDefaultAuth()
1554 (void) __ns_ldap_freeCred(authp); in __s_api_getDefaultAuth()
1572 (void) __ns_ldap_freeCred(authp); in __s_api_getDefaultAuth()
1578 (void) __ns_ldap_freeCred(authp); in __s_api_getDefaultAuth()
1585 (void) __ns_ldap_freeCred(authp); in __s_api_getDefaultAuth()
1589 (*authp)->cred.unix_cred.userID = AdminCred->userID; in __s_api_getDefaultAuth()
[all …]
H A Dns_common.c201 __ns_ldap_dupAuth(const ns_cred_t *authp) in __ns_ldap_dupAuth() argument
208 if (authp == NULL) in __ns_ldap_dupAuth()
215 if (authp->hostcertpath) { in __ns_ldap_dupAuth()
216 ap->hostcertpath = strdup(authp->hostcertpath); in __ns_ldap_dupAuth()
222 if (authp->cred.unix_cred.userID) { in __ns_ldap_dupAuth()
224 strdup(authp->cred.unix_cred.userID); in __ns_ldap_dupAuth()
230 if (authp->cred.unix_cred.passwd) { in __ns_ldap_dupAuth()
232 strdup(authp->cred.unix_cred.passwd); in __ns_ldap_dupAuth()
238 if (authp->cred.cert_cred.nickname) { in __ns_ldap_dupAuth()
240 strdup(authp->cred.cert_cred.nickname); in __ns_ldap_dupAuth()
[all …]
H A Dns_internal.h876 ns_cred_t *__ns_ldap_dupAuth(const ns_cred_t *authp);
/titanic_50/usr/src/cmd/ldap/ns_ldap/
H A Dldaplist.c438 ns_auth_t **authpp = NULL, **authp = NULL; in main() local
452 for (authp = authpp; *authp; authp++) { in main()
453 if ((*authp)->saslmech == NS_LDAP_SASL_GSSAPI) { in main()
H A Dldapaddent.c4274 ns_auth_t *authp = NULL; in main() local
4442 authp = *app; in main()
4443 if (authp->type != NS_LDAP_AUTH_NONE) { in main()
4445 authority.auth.type = authp->type; in main()
4446 authority.auth.tlstype = authp->tlstype; in main()
4447 authority.auth.saslmech = authp->saslmech; in main()
4448 authority.auth.saslopt = authp->saslopt; in main()
/titanic_50/usr/src/common/crypto/modes/
H A Dccm.c775 uint8_t *mac_buf, *datap, *ivp, *authp; in ccm_init() local
811 authp = (uint8_t *)ctx->ccm_tmp; in ccm_init()
812 bzero(authp, block_size); in ccm_init()
813 bcopy(encoded_a, authp, encoded_a_len); in ccm_init()
819 bcopy(auth_data, authp+encoded_a_len, processed); in ccm_init()
821 xor_block(authp, mac_buf); in ccm_init()
835 bzero(authp, block_size); in ccm_init()
836 bcopy(&(auth_data[processed]), authp, remainder); in ccm_init()
837 datap = (uint8_t *)authp; in ccm_init()
H A Dgcm.c570 uint8_t *ghash, *datap, *authp; in gcm_init() local
581 authp = (uint8_t *)ctx->gcm_tmp; in gcm_init()
583 bzero(authp, block_size); in gcm_init()
594 bzero(authp, block_size); in gcm_init()
595 bcopy(&(auth_data[processed]), authp, remainder); in gcm_init()
596 datap = (uint8_t *)authp; in gcm_init()
/titanic_50/usr/src/cmd/keyserv/
H A Dchkey_common.c586 ns_auth_t *authp = NULL; in update_ldap_attr() local
671 authp = *app; in update_ldap_attr()
673 if (authp->type == NS_LDAP_AUTH_NONE) in update_ldap_attr()
676 credp->auth.type = authp->type; in update_ldap_attr()
677 credp->auth.tlstype = authp->tlstype; in update_ldap_attr()
678 credp->auth.saslmech = authp->saslmech; in update_ldap_attr()
679 credp->auth.saslopt = authp->saslopt; in update_ldap_attr()
/titanic_50/usr/src/lib/passwdutil/
H A Dldap_attr.c991 ns_auth_t *authp = NULL; in ldap_replaceattr() local
1052 authp = *app; in ldap_replaceattr()
1054 if (authp->type == NS_LDAP_AUTH_NONE) in ldap_replaceattr()
1057 credp->auth.type = authp->type; in ldap_replaceattr()
1058 credp->auth.tlstype = authp->tlstype; in ldap_replaceattr()
1059 credp->auth.saslmech = authp->saslmech; in ldap_replaceattr()
1060 credp->auth.saslopt = authp->saslopt; in ldap_replaceattr()
/titanic_50/usr/src/lib/libpam/
H A Dpam_framework.c1586 struct auth_module *authp; in load_modules() local
1615 authp = pam_entry->function_ptr; in load_modules()
1618 == 0) && authp && authp->pam_sm_authenticate) || in load_modules()
1620 authp && authp->pam_sm_setcred))) { in load_modules()
1626 if (authp == NULL) { in load_modules()
1627 authp = calloc(1, sizeof (struct auth_module)); in load_modules()
1628 if (authp == NULL) in load_modules()
1640 free(authp); in load_modules()
1647 &authp->pam_sm_authenticate) in load_modules()
1650 free(authp); in load_modules()
[all …]
/titanic_50/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c69 typedef struct authunix_parms *authp; typedef
332 CTASSERT(sizeof (authp) <= RQCRED_SIZE);
334 (((authp) rqstp->rq_clntcred)->aup_uid != 0 &&
335 ((authp) rqstp->rq_clntcred)->aup_uid != (uid_t)gqa.gqa_uid)) {
/titanic_50/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;