Lines Matching defs:authp
197 * RETURN VALUES: copy of authp or NULL on error
198 * INPUT: authp
201 __ns_ldap_dupAuth(const ns_cred_t *authp)
208 if (authp == NULL)
215 if (authp->hostcertpath) {
216 ap->hostcertpath = strdup(authp->hostcertpath);
222 if (authp->cred.unix_cred.userID) {
224 strdup(authp->cred.unix_cred.userID);
230 if (authp->cred.unix_cred.passwd) {
232 strdup(authp->cred.unix_cred.passwd);
238 if (authp->cred.cert_cred.nickname) {
240 strdup(authp->cred.cert_cred.nickname);
246 ap->auth.type = authp->auth.type;
247 ap->auth.tlstype = authp->auth.tlstype;
248 ap->auth.saslmech = authp->auth.saslmech;
249 ap->auth.saslopt = authp->auth.saslopt;