authp
CTASSERT(sizeof (authp) <= RQCRED_SIZE);
(((authp) rqstp->rq_clntcred)->aup_uid != 0 &&
((authp) rqstp->rq_clntcred)->aup_uid != (uid_t)gqa.gqa_uid)) {
ns_auth_t *authp = NULL;
authp = *app;
if (authp->type == NS_LDAP_AUTH_NONE)
credp->auth.type = authp->type;
credp->auth.tlstype = authp->tlstype;
credp->auth.saslmech = authp->saslmech;
credp->auth.saslopt = authp->saslopt;
ns_auth_t *authp = NULL;
authp = *app;
if (authp->type != NS_LDAP_AUTH_NONE) {
authority.auth.type = authp->type;
authority.auth.tlstype = authp->tlstype;
authority.auth.saslmech = authp->saslmech;
authority.auth.saslopt = authp->saslopt;
ns_auth_t **authpp = NULL, **authp = NULL;
for (authp = authpp; *authp; authp++) {
if ((*authp)->saslmech == NS_LDAP_SASL_GSSAPI) {
ns_auth_t *authp = NULL;
authp = *app;
if (authp->type == NS_LDAP_AUTH_NONE)
credp->auth.type = authp->type;
credp->auth.tlstype = authp->tlstype;
credp->auth.saslmech = authp->saslmech;
credp->auth.saslopt = authp->saslopt;
uint8_t *mac_buf, *datap, *ivp, *authp;
authp = (uint8_t *)ctx->ccm_tmp;
bzero(authp, block_size);
bcopy(encoded_a, authp, encoded_a_len);
bcopy(auth_data, authp+encoded_a_len, processed);
xor_block(authp, mac_buf);
bzero(authp, block_size);
bcopy(&(auth_data[processed]), authp, remainder);
datap = (uint8_t *)authp;
uint8_t *ghash, *datap, *authp;
authp = (uint8_t *)ctx->gcm_tmp;
bzero(authp, block_size);
bzero(authp, block_size);
bcopy(&(auth_data[processed]), authp, remainder);
datap = (uint8_t *)authp;
struct auth_module *authp;
authp = pam_entry->function_ptr;
== 0) && authp && authp->pam_sm_authenticate) ||
authp && authp->pam_sm_setcred))) {
if (authp == NULL) {
authp = calloc(1, sizeof (struct auth_module));
if (authp == NULL)
free(authp);
&authp->pam_sm_authenticate)
free(authp);
&authp->pam_sm_setcred) != PAM_SUCCESS) {
free(authp);
pam_entry->function_ptr = authp;
__ns_ldap_dupAuth(const ns_cred_t *authp)
if (authp == NULL)
if (authp->hostcertpath) {
ap->hostcertpath = strdup(authp->hostcertpath);
if (authp->cred.unix_cred.userID) {
strdup(authp->cred.unix_cred.userID);
if (authp->cred.unix_cred.passwd) {
strdup(authp->cred.unix_cred.passwd);
if (authp->cred.cert_cred.nickname) {
strdup(authp->cred.cert_cred.nickname);
ap->auth.type = authp->auth.type;
ap->auth.tlstype = authp->auth.tlstype;
ap->auth.saslmech = authp->auth.saslmech;
ap->auth.saslopt = authp->auth.saslopt;
ns_cred_t **authp,
*authp = (ns_cred_t *)calloc(1, sizeof (ns_cred_t));
if ((*authp) == NULL)
(*authp)->auth = *aMethod;
(void) __ns_ldap_freeCred(authp);
(void) __ns_ldap_freeCred(authp);
(void) __ns_ldap_freeCred(authp);
(void) __ns_ldap_freeCred(authp);
(void) __ns_ldap_freeCred(authp);
(*authp)->cred.unix_cred.userID = AdminCred->userID;
(void) __ns_ldap_freeCred(authp);
(void) __ns_ldap_freeCred(authp);
(*authp)->cred.unix_cred.userID =
if ((*authp)->cred.unix_cred.userID == NULL) {
(void) __ns_ldap_freeCred(authp);
(void) __ns_ldap_freeCred(authp);
(void) __ns_ldap_freeCred(authp);
(void) __ns_ldap_freeCred(authp);
(void) __ns_ldap_freeCred(authp);
(*authp)->cred.unix_cred.passwd = modparamVal;
(void) __ns_ldap_freeCred(authp);
*authp = NULL;
(void) __ns_ldap_freeCred(authp);
*authp = NULL;
(*authp)->hostcertpath = strdup((char *)*paramVal);
if ((*authp)->hostcertpath == NULL) {
(void) __ns_ldap_freeCred(authp);
*authp = NULL;
ns_cred_t *authp = NULL;
authp = NULL;
*aNext, &authp,
rc = makeConnection(&con, server, authp,
(void) __ns_ldap_freeCred(&authp);
ns_cred_t *__ns_ldap_dupAuth(const ns_cred_t *authp);
authp = *app;
if (authp->type == NS_LDAP_AUTH_NONE)
credp->auth.type = authp->type;
credp->auth.tlstype = authp->tlstype;
credp->auth.saslmech = authp->saslmech;
credp->auth.saslopt = authp->saslopt;
ns_auth_t *authp = NULL;
authp = *app;
if (authp->type == NS_LDAP_AUTH_NONE)
credp->auth.type = authp->type;
credp->auth.tlstype = authp->tlstype;
credp->auth.saslmech = authp->saslmech;
credp->auth.saslopt = authp->saslopt;
ns_auth_t *authp = NULL;