Lines Matching refs:credp
1545 get_admin_dn(ns_cred_t *credp, int *status, ns_ldap_error_t **errorp) argument
1563 credp->cred.unix_cred.userID = strdup((char *)*paramVal);
1565 if (credp->cred.unix_cred.userID == NULL)
1595 ns_cred_t *credp = NULL; local
1645 if ((credp = (ns_cred_t *)calloc(1, sizeof (ns_cred_t))) == NULL) {
1656 credp->hostcertpath = strdup(*certpath);
1657 if (credp->hostcertpath == NULL)
1669 if (credp->hostcertpath != NULL)
1670 free(credp->hostcertpath);
1705 credp->auth.type = authp->type;
1706 credp->auth.tlstype = authp->tlstype;
1707 credp->auth.saslmech = authp->saslmech;
1708 credp->auth.saslopt = authp->saslopt;
1715 if (credp->auth.saslmech != NS_LDAP_SASL_GSSAPI) {
1716 if ((rc = get_admin_dn(credp, &status,
1731 credp, 0, &error);
1775 if (credp != NULL)
1776 (void) __ns_ldap_freeCred(&credp);