Lines Matching refs:credp
96 ns_cred_t *credp; in authenticate() local
99 if ((credp = (ns_cred_t *)calloc(1, sizeof (ns_cred_t))) == NULL) in authenticate()
111 credp->cred.unix_cred.userID = strdup(binddn); in authenticate()
112 credp->cred.unix_cred.passwd = strdup(pwd); in authenticate()
113 if ((credp->cred.unix_cred.userID == NULL) || in authenticate()
114 (credp->cred.unix_cred.passwd == NULL)) { in authenticate()
125 credp->hostcertpath = *certpath; in authenticate()
164 credp->auth.type = authp->type; in authenticate()
165 credp->auth.tlstype = authp->tlstype; in authenticate()
166 credp->auth.saslmech = authp->saslmech; in authenticate()
167 credp->auth.saslopt = authp->saslopt; in authenticate()
168 ldaprc = __ns_ldap_auth(credp, 0, &errorp, NULL, NULL); in authenticate()
263 if (credp && (result == PAM_SUCCESS || in authenticate()
266 *credpp = credp; in authenticate()
268 (void) __ns_ldap_freeCred(&credp); in authenticate()