/netbsd-current/external/ibm-public/postfix/dist/src/global/ |
H A D | sasl_mech_filter.c | 79 char *mech; local 95 while ((mech = mystrtok(&mech_list, " \t")) != 0) { 96 if (string_list_match(filter, mech)) { 99 vstring_strcat(buf, mech); 101 msg_info("%s: keep SASL mechanism: '%s'", myname, mech); 104 myname, mech); 107 msg_info("%s: drop SASL mechanism: '%s'", myname, mech);
|
/netbsd-current/crypto/external/bsd/heimdal/lib/libgssapi/ |
H A D | Makefile | 10 ${HEIMDIST}/lib/gssapi/mech \ 94 mech/context.c \ 95 mech/doxygen.c \ 96 mech/gss_accept_sec_context.c \ 97 mech/gss_acquire_cred.c \ 98 mech/gss_acquire_cred_ext.c \ 99 mech/gss_acquire_cred_with_password.c \ 100 mech/gss_add_cred.c \ 101 mech/gss_add_cred_with_password.c \ 102 mech/gss_add_oid_set_membe [all...] |
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/ |
H A D | encapsulate.c | 42 const gss_OID mech) 46 *len = 1 + 1 + mech->length + data_len; 57 const gss_OID mech) 59 _gssapi_encap_length(data_len + 2, len, total_len, mech); 66 const gss_OID mech) 69 p = _gssapi_make_mech_header(p, len, mech); 78 const gss_OID mech) 91 *p++ = mech->length; 92 memcpy (p, mech->elements, mech 39 _gssapi_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument 54 _gsskrb5_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument 63 _gsskrb5_make_header(void *ptr, size_t len, const void *type, const gss_OID mech) argument 76 _gssapi_make_mech_header(void *ptr, size_t len, const gss_OID mech) argument [all...] |
H A D | decapsulate.c | 76 gss_OID mech) 85 if (mech_len != mech->length) 92 mech->elements, 93 mech->length) != 0) 136 const gss_OID mech 145 mech); 74 _gssapi_verify_mech_header(u_char **str, size_t total_len, gss_OID mech) argument
|
/netbsd-current/crypto/external/bsd/heimdal/dist/tests/gss/ |
H A D | check-gss.in | 45 ${TESTS_ENVIRONMENT} ${gsstool} attrs-for-mech --all > /dev/null || exit 1 46 ${TESTS_ENVIRONMENT} ${gsstool} attrs-for-mech --mech=Kerberos > /dev/null || exit 1
|
H A D | check-context.in | 125 ${context} --client-name=user1@${R} --client-password=u1 --mech-type=krb5 \ 128 ${context} --client-name=user1@${R} --client-password=u2 --mech-type=krb5 \ 130 ${context} --client-name=user1@${R} --client-password=u2 --mech-type='' \ 131 --mech-types=krb5 host@lucid.test.h5l.se && { eval "$testfailed"; } 132 ${context} --client-name=user1@${R} --client-password=u2 --mech-type=krb5 \ 133 --mech-types=krb5 host@lucid.test.h5l.se && { eval "$testfailed"; } 134 ${context} --client-name=user1@${R} --client-password=u2 --mech-type=all \ 135 --mech-types=krb5 host@lucid.test.h5l.se && { eval "$testfailed"; } 137 --mech-type=krb5,ntlm --mech [all...] |
H A D | check-spnego.in | 120 echo "======context building for each mech" 122 for mech in ntlm krb5 ; do 123 echo "${mech}" 124 ${context} --mech-type=${mech} --ret-mech-type=${mech} \ 131 --mech-type=spnego \ 132 --ret-mech-type=krb5 \ 138 ${context} --mech [all...] |
H A D | check-ntlm.in | 133 ${context} --mech-type=ntlm \ 136 --ret-mech-type=ntlm \ 144 ${context} --mech-type=ntlm \ 147 --ret-mech-type=ntlm \ 152 ${context} --mech-type=ntlm \ 155 --ret-mech-type=ntlm \
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/gssapi/ |
H A D | Makefile.am | 11 -I$(srcdir)/mech \ 77 mech/context.h \ 78 mech/context.c \ 79 mech/cred.h \ 80 mech/compat.h \ 81 mech/doxygen.c \ 82 mech/gss_accept_sec_context.c \ 83 mech/gss_acquire_cred.c \ 84 mech/gss_acquire_cred_ext.c \ 85 mech/gss_acquire_cred_with_passwor [all...] |
H A D | Makefile.in | 217 am__objects_2 = mech/context.lo mech/doxygen.lo \ 218 mech/gss_accept_sec_context.lo mech/gss_acquire_cred.lo \ 219 mech/gss_acquire_cred_ext.lo \ 220 mech/gss_acquire_cred_with_password.lo mech/gss_add_cred.lo \ 221 mech/gss_add_cred_with_password.lo \ 222 mech/gss_add_oid_set_member.lo mech/gss_aea [all...] |
H A D | test_common.c | 41 gssapi_err(OM_uint32 maj_stat, OM_uint32 min_stat, gss_OID mech) argument 56 mech, &msg_ctx, &maj_error_message); 58 mech, &msg_ctx, &min_error_message); 59 if (asprintf(&ret, "gss-code: %lu %.*s -- mech-code: %lu %.*s",
|
H A D | gsstool.c | 138 print_mech_attr(const char *mechname, gss_const_OID mech, gss_OID_set set) argument 152 if (mech) 164 if (mech) { 167 if (gss_mo_get(mech, &set->elements[n], &value) != 0) 192 gss_OID mech = GSS_C_NO_OID; local 196 mech = gss_name_to_oid(opt->mech_string); 197 if (mech == NULL) 198 errx(1, "mech %s is unknown", opt->mech_string); 201 major = gss_inquire_attrs_for_mech(&minor, mech, &mech_attr, &known_mech_attrs); 205 if (mech) { [all...] |
H A D | test_add_store_cred.c | 49 print_gss_err(OM_uint32 stat, int status_type, gss_OID mech) argument 58 maj = gss_display_status(&min, stat, status_type, mech, &msg_ctx, 80 print_gss_errs(OM_uint32 major, OM_uint32 minor, gss_OID mech) argument 83 print_gss_err(major, GSS_C_MECH_CODE, mech); 87 gss_err(int exitval, OM_uint32 major, OM_uint32 minor, gss_OID mech, argument 95 print_gss_errs(major, minor, mech);
|
/netbsd-current/external/bsd/openldap/dist/include/ |
H A D | lutil_ldap.h | 37 char *mech,
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/ |
H A D | context.c | 7 gss_OID mech; member in struct:mg_thread_ctx 68 _gss_mg_get_error(const gss_OID mech, OM_uint32 type, argument 79 * We cant check the mech here since a pseudo-mech might have 80 * called an lower layer and then the mech info is all broken 82 if (mech != NULL && gss_oid_equal(mg->mech, mech) == 0) 132 mg->mech = &m->gm_mech_oid; 159 gss_mg_collect_error(gss_OID mech, OM_uint3 argument [all...] |
H A D | gss_names.c | 34 _gss_find_mn(OM_uint32 *minor_status, struct _gss_name *name, gss_OID mech, argument 44 if (gss_oid_equal(mech, mn->gmn_mech_oid)) 51 * MN but it is from a different mech), give up now. 56 m = __gss_get_mechanism(mech);
|
H A D | gss_mo.c | 44 get_option_def(int def, gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value) argument 50 _gss_mo_get_option_1(gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value) argument 52 return get_option_def(1, mech, mo, value); 56 _gss_mo_get_option_0(gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value) argument 58 return get_option_def(0, mech, mo, value); 62 _gss_mo_get_ctx_as_string(gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value) argument 74 gss_mo_set(gss_const_OID mech, gss_const_OID option, argument 80 if ((m = __gss_get_mechanism(mech)) == NULL) 85 return m->gm_mo[n].set(mech, &m->gm_mo[n], enable, value); 91 gss_mo_get(gss_const_OID mech, gss_const_OI argument 120 gss_mo_list(gss_const_OID mech, gss_OID_set *options) argument 141 gss_mo_name(gss_const_OID mech, gss_const_OID option, gss_buffer_t name) argument 179 mo_value(const gss_const_OID mech, gss_const_OID option, gss_buffer_t name) argument 191 make_sasl_name(OM_uint32 *minor, const gss_OID mech, char sasl_name[16]) argument 516 gss_inquire_attrs_for_mech(OM_uint32 * minor_status, gss_const_OID mech, gss_OID_set *mech_attr, gss_OID_set *known_mech_attrs) argument [all...] |
/netbsd-current/crypto/external/bsd/libsaslc/dist/src/ |
H A D | saslc_private.h | 46 #include "mech.h" 61 const saslc__mech_t *mech; /* mechanism */ member in struct:saslc_sess_t
|
H A D | xsess.c | 51 #include "mech.h" 138 * @param mech mechanism to check. 143 mechanism_flags_OK(const saslc__mech_list_node_t *mech, uint32_t flags) argument 147 if (mech == NULL) 153 if ((mech->mech->flags & rejflags) != 0) 156 if ((mech->mech->flags & reqflags) != reqflags) 169 * @return pointer to the mech on success, NULL if none mechanism is chosen 217 return m->mech; [all...] |
/netbsd-current/crypto/external/bsd/libsaslc/etc/ |
H A D | Makefile | 5 SUBDIR=mech
|
/netbsd-current/crypto/external/bsd/libsaslc/etc/mech/ |
H A D | Makefile | 6 FILESDIR=/usr/share/examples/libsaslc/mech
|
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | sasl.c | 42 char *mech; member in struct:lutil_sasl_defaults_s 60 if (defs->mech) ber_memfree(defs->mech); 73 char *mech, 85 defaults->mech = mech ? ber_strdup(mech) : NULL; 91 if( defaults->mech == NULL ) { 92 ldap_get_option( ld, LDAP_OPT_X_SASL_MECH, &defaults->mech ); 71 lutil_sasl_defaults( LDAP *ld, char *mech, char *realm, char *authcid, char *passwd, char *authzid ) argument
|
/netbsd-current/crypto/external/bsd/openssh/dist/ |
H A D | gss-serv.c | 185 gss_OID mech; local 189 GSS_C_NO_CHANNEL_BINDINGS, &ctx->client, &mech, 287 client->mech = NULL; 293 client->mech = supported_mechs[i]; 297 if (client->mech == NULL) 339 if (gssapi_client.mech && gssapi_client.mech->storecreds) { 340 (*gssapi_client.mech->storecreds)(&gssapi_client); 373 if (gssapi_client.mech && gssapi_client.mech [all...] |
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | dsa.c | 113 DSA_set_default_method(const DSA_METHOD *mech) argument 115 dsa_default_mech = mech;
|
/netbsd-current/external/bsd/openldap/dist/contrib/ldapc++/src/ |
H A D | LDAPBindRequest.h | 35 LDAPSaslBindRequest( const std::string& mech, const std::string& cred, 49 LDAPSaslInteractiveBind( const std::string& mech, int flags,
|