Lines Matching refs:credp
97 ns_cred_t *credp; in authenticate() local
100 if ((credp = (ns_cred_t *)calloc(1, sizeof (ns_cred_t))) == NULL) in authenticate()
112 credp->cred.unix_cred.userID = strdup(binddn); in authenticate()
113 credp->cred.unix_cred.passwd = strdup(pwd); in authenticate()
114 if ((credp->cred.unix_cred.userID == NULL) || in authenticate()
115 (credp->cred.unix_cred.passwd == NULL)) { in authenticate()
126 credp->hostcertpath = *certpath; 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()
169 ldaprc = __ns_ldap_auth(credp, 0, &errorp, NULL, NULL); in authenticate()
264 if (credp && (result == PAM_SUCCESS || in authenticate()
267 *credpp = credp; in authenticate()
269 (void) __ns_ldap_freeCred(&credp); in authenticate()