Lines Matching refs:ap

2797 	ns_auth_t	*ap;
2824 ap = __s_api_AuthEnumtoStruct(
2826 if (ap == NULL) {
2830 dupdata[i] = ap;
3606 ns_auth_t *ap;
3608 ap = (ns_auth_t *)calloc(1, sizeof (ns_auth_t));
3609 if (ap == NULL)
3615 ap->type = NS_LDAP_AUTH_SIMPLE;
3618 ap->type = NS_LDAP_AUTH_SASL;
3619 ap->saslmech = NS_LDAP_SASL_CRAM_MD5;
3622 ap->type = NS_LDAP_AUTH_SASL;
3623 ap->saslmech = NS_LDAP_SASL_DIGEST_MD5;
3626 ap->type = NS_LDAP_AUTH_SASL;
3627 ap->saslmech = NS_LDAP_SASL_DIGEST_MD5;
3628 ap->saslopt = NS_LDAP_SASLOPT_INT;
3631 ap->type = NS_LDAP_AUTH_SASL;
3632 ap->saslmech = NS_LDAP_SASL_DIGEST_MD5;
3633 ap->saslopt = NS_LDAP_SASLOPT_PRIV;
3636 ap->type = NS_LDAP_AUTH_SASL;
3637 ap->saslmech = NS_LDAP_SASL_EXTERNAL;
3640 ap->type = NS_LDAP_AUTH_SASL;
3641 ap->saslmech = NS_LDAP_SASL_GSSAPI;
3642 ap->saslopt = NS_LDAP_SASLOPT_INT |
3646 ap->type = NS_LDAP_AUTH_TLS;
3647 ap->tlstype = NS_LDAP_TLS_NONE;
3650 ap->type = NS_LDAP_AUTH_TLS;
3651 ap->tlstype = NS_LDAP_TLS_SIMPLE;
3654 ap->type = NS_LDAP_AUTH_TLS;
3655 ap->tlstype = NS_LDAP_TLS_SASL;
3656 ap->saslmech = NS_LDAP_SASL_CRAM_MD5;
3659 ap->type = NS_LDAP_AUTH_TLS;
3660 ap->tlstype = NS_LDAP_TLS_SASL;
3661 ap->saslmech = NS_LDAP_SASL_DIGEST_MD5;
3664 ap->type = NS_LDAP_AUTH_TLS;
3665 ap->tlstype = NS_LDAP_TLS_SASL;
3666 ap->saslmech = NS_LDAP_SASL_DIGEST_MD5;
3667 ap->saslopt = NS_LDAP_SASLOPT_INT;
3670 ap->type = NS_LDAP_AUTH_TLS;
3671 ap->tlstype = NS_LDAP_TLS_SASL;
3672 ap->saslmech = NS_LDAP_SASL_DIGEST_MD5;
3673 ap->saslopt = NS_LDAP_SASLOPT_PRIV;
3676 ap->type = NS_LDAP_AUTH_TLS;
3677 ap->tlstype = NS_LDAP_TLS_SASL;
3678 ap->saslmech = NS_LDAP_SASL_EXTERNAL;
3682 free(ap);
3685 return (ap);