Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c96 ns_auth_t *authp = NULL; in authenticate() local
160 authp = *app; in authenticate()
162 if (authp->type == NS_LDAP_AUTH_NONE) in authenticate()
165 credp->auth.type = authp->type; in authenticate()
166 credp->auth.tlstype = authp->tlstype; in authenticate()
167 credp->auth.saslmech = authp->saslmech; in authenticate()
168 credp->auth.saslopt = authp->saslopt; in authenticate()
/illumos-gate/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.h872 ns_cred_t *__ns_ldap_dupAuth(const ns_cred_t *authp);
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldaplist.c437 ns_auth_t **authpp = NULL, **authp = NULL; in main() local
451 for (authp = authpp; *authp; authp++) { in main()
452 if ((*authp)->saslmech == NS_LDAP_SASL_GSSAPI) { in main()
H A Dldapaddent.c4276 ns_auth_t *authp = NULL; in main() local
4444 authp = *app; in main()
4445 if (authp->type != NS_LDAP_AUTH_NONE) { in main()
4447 authority.auth.type = authp->type; in main()
4448 authority.auth.tlstype = authp->tlstype; in main()
4449 authority.auth.saslmech = authp->saslmech; in main()
4450 authority.auth.saslopt = authp->saslopt; in main()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey_common.c577 ns_auth_t *authp = NULL; in update_ldap_attr() local
662 authp = *app; in update_ldap_attr()
664 if (authp->type == NS_LDAP_AUTH_NONE) in update_ldap_attr()
667 credp->auth.type = authp->type; in update_ldap_attr()
668 credp->auth.tlstype = authp->tlstype; in update_ldap_attr()
669 credp->auth.saslmech = authp->saslmech; in update_ldap_attr()
670 credp->auth.saslopt = authp->saslopt; in update_ldap_attr()
/illumos-gate/usr/src/lib/libpam/
H A Dpam_framework.c1589 struct auth_module *authp; in load_modules() local
1618 authp = pam_entry->function_ptr; in load_modules()
1621 == 0) && authp && authp->pam_sm_authenticate) || in load_modules()
1623 authp && authp->pam_sm_setcred))) { in load_modules()
1629 if (authp == NULL) { in load_modules()
1630 authp = calloc(1, sizeof (struct auth_module)); in load_modules()
1631 if (authp == NULL) in load_modules()
1643 free(authp); in load_modules()
1650 &authp->pam_sm_authenticate) in load_modules()
1653 free(authp); in load_modules()
[all …]
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c994 ns_auth_t *authp = NULL; in ldap_replaceattr() local
1055 authp = *app; in ldap_replaceattr()
1057 if (authp->type == NS_LDAP_AUTH_NONE) in ldap_replaceattr()
1060 credp->auth.type = authp->type; in ldap_replaceattr()
1061 credp->auth.tlstype = authp->tlstype; in ldap_replaceattr()
1062 credp->auth.saslmech = authp->saslmech; in ldap_replaceattr()
1063 credp->auth.saslopt = authp->saslopt; in ldap_replaceattr()
/illumos-gate/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)) {
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c1594 ns_auth_t *authp = NULL; local
1701 authp = *app;
1702 if (authp->type == NS_LDAP_AUTH_NONE)
1705 credp->auth.type = authp->type;
1706 credp->auth.tlstype = authp->tlstype;
1707 credp->auth.saslmech = authp->saslmech;
1708 credp->auth.saslopt = authp->saslopt;