Lines Matching defs:credp
94 ns_cred_t *credp;
97 if ((credp = (ns_cred_t *)calloc(1, sizeof (ns_cred_t))) == NULL)
109 credp->cred.unix_cred.userID = strdup(binddn);
110 credp->cred.unix_cred.passwd = strdup(pwd);
111 if ((credp->cred.unix_cred.userID == NULL) ||
112 (credp->cred.unix_cred.passwd == NULL)) {
128 credp->hostcertpath = strdup(*certpath);
129 if (credp->hostcertpath == NULL) {
172 credp->auth.type = authp->type;
173 credp->auth.tlstype = authp->tlstype;
174 credp->auth.saslmech = authp->saslmech;
175 credp->auth.saslopt = authp->saslopt;
176 ldaprc = __ns_ldap_auth(credp, 0, &errorp, NULL, NULL);
272 *credpp = credp;
274 (void) __ns_ldap_freeCred(&credp);