/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/plugins/ |
H A D | makeinit.sh | 1 for mech in anonymous crammd5 digestmd5 gssapiv2 kerberos4 login ntlm otp passdss plain srp; do 22 #include <sasl_${mech}_plugin_decl.h> 43 SASL_CLIENT_PLUG_INIT( $mech ) 44 SASL_SERVER_PLUG_INIT( $mech ) 45 " > ${mech}_init.c 48 for mech in sasldb sql ldapdb; do 86 SASL_AUXPROP_PLUG_INIT( $mech ) 87 " > ${mech}_init.c
|
/macosx-10.9.5/Security-55471.14.18/authd/ |
H A D | mechanism.c | 45 mechanism_t mech = (mechanism_t)value; local 47 CFReleaseSafe(mech->data); 48 free_safe(mech->string); 75 mechanism_t mech = (mechanism_t)value; local 76 return CFCopyDescription(mech->data); 83 mechanism_t mech = (mechanism_t)value; local 85 const char * str = mechanism_get_plugin(mech); 87 str = mechanism_get_plugin(mech); 89 bool priv = mechanism_is_privileged(mech); 120 mechanism_t mech local 129 _mechanism_set_type(mechanism_t mech) argument 147 mechanism_t mech = NULL; local 165 mechanism_t mech = NULL; local 225 mechanism_exists(mechanism_t mech) argument 255 mechanism_sql_fetch(mechanism_t mech, authdb_connection_t dbconn) argument 273 mechanism_sql_commit(mechanism_t mech, authdb_connection_t dbconn) argument 287 mechanism_get_string(mechanism_t mech) argument 297 mechanism_get_id(mechanism_t mech) argument 303 mechanism_get_plugin(mechanism_t mech) argument 309 mechanism_get_param(mechanism_t mech) argument 315 mechanism_is_privileged(mechanism_t mech) argument 321 mechanism_get_type(mechanism_t mech) argument [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/test/ |
H A D | testglobalmutex.c | 24 static void launch_child(abts_case *tc, apr_lockmech_e mech, argument 42 args[1] = (const char*)apr_itoa(p, (int)mech); 62 static const char *mutexname(apr_lockmech_e mech) argument 64 switch (mech) { 77 apr_lockmech_e mech = *(apr_lockmech_e *)data; local 83 abts_log_message(mutexname(mech)); 85 rv = apr_global_mutex_create(&global_lock, LOCKNAME, mech, p); 88 launch_child(tc, mech, &p1, p); 89 launch_child(tc, mech, &p2, p); 90 launch_child(tc, mech, 108 apr_lockmech_e mech = APR_LOCK_DEFAULT; local [all...] |
H A D | globalmutexchild.c | 34 apr_lockmech_e mech; local 43 mech = (apr_lockmech_e)apr_strtoi64(argv[1], NULL, 0); 46 mech = APR_LOCK_DEFAULT; 48 rv = apr_global_mutex_create(&global_lock, LOCKNAME, mech, p);
|
H A D | testprocmutex.c | 111 apr_lockmech_e mech) 117 rv = apr_proc_mutex_create(&proc_lock, lockname, mech, p); 159 apr_lockmech_e *mech = data; local 173 test_exclusive(tc, NULL, *mech); 184 apr_lockmech_e mech = APR_LOCK_DEFAULT; local 187 abts_run_test(suite, proc_mutex, &mech); 189 mech = APR_LOCK_POSIXSEM; 190 abts_run_test(suite, proc_mutex, &mech); 193 mech = APR_LOCK_SYSVSEM; 194 abts_run_test(suite, proc_mutex, &mech); 110 test_exclusive(abts_case *tc, const char *lockname, apr_lockmech_e mech) argument [all...] |
/macosx-10.9.5/apr-30/apr/apr/test/ |
H A D | testglobalmutex.c | 24 static void launch_child(abts_case *tc, apr_lockmech_e mech, argument 42 args[1] = (const char*)apr_itoa(p, (int)mech); 62 static const char *mutexname(apr_lockmech_e mech) argument 64 switch (mech) { 77 apr_lockmech_e mech = *(apr_lockmech_e *)data; local 83 abts_log_message(mutexname(mech)); 85 rv = apr_global_mutex_create(&global_lock, LOCKNAME, mech, p); 88 launch_child(tc, mech, &p1, p); 89 launch_child(tc, mech, &p2, p); 90 launch_child(tc, mech, 108 apr_lockmech_e mech = APR_LOCK_DEFAULT; local [all...] |
H A D | globalmutexchild.c | 34 apr_lockmech_e mech; local 43 mech = (apr_lockmech_e)apr_strtoi64(argv[1], NULL, 0); 46 mech = APR_LOCK_DEFAULT; 48 rv = apr_global_mutex_create(&global_lock, LOCKNAME, mech, p);
|
H A D | testprocmutex.c | 111 apr_lockmech_e mech) 117 rv = apr_proc_mutex_create(&proc_lock, lockname, mech, p); 159 apr_lockmech_e *mech = data; local 173 test_exclusive(tc, NULL, *mech); 184 apr_lockmech_e mech = APR_LOCK_DEFAULT; local 187 abts_run_test(suite, proc_mutex, &mech); 189 mech = APR_LOCK_POSIXSEM; 190 abts_run_test(suite, proc_mutex, &mech); 193 mech = APR_LOCK_SYSVSEM; 194 abts_run_test(suite, proc_mutex, &mech); 110 test_exclusive(abts_case *tc, const char *lockname, apr_lockmech_e mech) argument [all...] |
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/krb5/ |
H A D | encapsulate.c | 40 const gss_OID mech) 44 *len = 1 + 1 + mech->length + data_len; 55 const gss_OID mech) 57 _gssapi_encap_length(data_len + 2, len, total_len, mech); 64 const gss_OID mech) 67 p = _gssapi_make_mech_header(p, len, mech); 76 const gss_OID mech) 89 *p++ = mech->length; 90 memcpy (p, mech->elements, mech 37 _gssapi_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument 52 _gsskrb5_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument 61 _gsskrb5_make_header(void *ptr, size_t len, const void *type, const gss_OID mech) argument 74 _gssapi_make_mech_header(void *ptr, size_t len, const gss_OID mech) argument [all...] |
/macosx-10.9.5/Heimdal-323.92.1/tests/GSSTestApp/Tests/ |
H A D | SenTestCase+GSS.h | 14 - (void)STCDestroyCredential:(gss_OID)mech; 15 - (gss_cred_id_t)STCAcquireCredential:(NSString *)name withPassword:(NSString *)password mech:(gss_OID)mech;
|
/macosx-10.9.5/Heimdal-323.92.1/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 | 135 for mech in krb5 spnego; do 137 echo " testing mech $mech" 140 --mech-type=$mech \ 146 echo " testing mech $mech (check that it failes for wrong service used)" 149 --mech-type=$mech \ 157 ${test_context} --mech [all...] |
H A D | check-spnego.in | 123 echo "======context building for each mech" 125 for mech in ntlm krb5 ; do 126 echo "${mech}" 127 ${context} --mech-type=${mech} --ret-mech-type=${mech} \ 134 --mech-type=spnego \ 135 --ret-mech-type=krb5 \ 141 ${context} --mech [all...] |
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/ |
H A D | NTMakefile | 93 mech/context.h \ 94 mech/context.c \ 95 mech/cred.h \ 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...] |
H A D | test_common.c | 42 gssapi_err(OM_uint32 maj_stat, OM_uint32 min_stat, gss_OID mech) argument 59 mech, &msg_ctx, &maj_error_message); 63 mech, &msg_ctx, &min_error_message); 64 if (asprintf(&ret, "gss-code: %lu %.*s -- mech-code: %lu %.*s",
|
H A D | gsstool.c | 170 gss_const_OID mech = NULL; local 180 * mech 190 mech = gss_name_to_oid(opt->mech_string); 191 if (mech == NULL) 192 errx(1, "No such mech: %s", opt->mech_string); 194 mech = GSS_KRB5_MECHANISM; 239 mech, 337 const char *mech; local 352 mech = gss_oid_to_name(oid); 356 mech 387 gss_const_OID mech = NULL; local 421 acquire_cred(const char *name_string, gss_const_OID mech, gss_const_OID nametype) argument 461 gss_const_OID mech = NULL; local 497 gss_const_OID mech = GSS_C_NO_OID; local 538 gss_const_OID mech = GSS_C_NO_OID; local 566 gss_const_OID mech = GSS_C_NO_OID; local 599 print_mech_attr(const char *mechname, gss_const_OID mech, gss_OID_set set) argument 652 gss_const_OID mech = GSS_C_NO_OID; local [all...] |
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/mech/ |
H A D | gss_export_name.c | 60 gss_mg_export_name(OM_uint32 *minor_status, const gss_const_OID mech, argument 65 exported_name->length = 10 + length + mech->length; 77 buf[0] = ((mech->length + 2) >> 8) & 0xff; 78 buf[1] = (mech->length + 2) & 0xff; 81 buf[1] = (mech->length) & 0xFF; 84 memcpy(buf, mech->elements, mech->length); 85 buf += mech->length;
|
H A D | gss_iter_cred.c | 63 iterate(void *cctx, gss_OID mech, gss_cred_id_t cred) argument 80 mc->gmc_mech = __gss_get_mechanism(mech); 81 mc->gmc_mech_oid = mech; 85 ctx->iter(ctx->userctx, mech, (gss_cred_id_t)c); 89 * release the context, only one ref per mech. 100 * @param mech the mechanism type of credentials to iterate over, by passing in GSS_C_NO_OID, the function will iterate over all credentails 110 gss_const_OID mech, 144 if (mech && !gss_oid_equal(mech, &mechs->elements[i])) 171 useriter_block(void *ctx, gss_const_OID mech, gss_cred_id_ argument 108 gss_iter_creds_f(OM_uint32 *min_stat, OM_uint32 flags, gss_const_OID mech, void * userctx, void (*useriter)(void *, gss_iter_OID, gss_cred_id_t)) argument 195 gss_iter_creds(OM_uint32 *min_stat, OM_uint32 flags, gss_const_OID mech, void (^useriter)(gss_iter_OID, gss_cred_id_t)) argument [all...] |
H A D | gss_names.c | 35 _gss_find_mn(OM_uint32 *minor_status, struct _gss_name *name, gss_const_OID mech, argument 49 if (gss_oid_equal(mech, mn->gmn_mech_oid)) 56 * MN but it is from a different mech), give up now. 61 m = __gss_get_mechanism(mech); 154 gss_const_OID mech, 172 * If its a exported name, strip of the mech glue. 179 if (name_buffer->length < 10 + mech->length) 187 p[3] != mech->length + 2 || 189 p[5] != mech->length || 190 memcmp(&p[6], mech 153 _gss_mech_import_name(OM_uint32 * minor_status, gss_const_OID mech, struct _gss_name_type *names, const gss_buffer_t input_name_buffer, gss_const_OID input_name_type, gss_name_t * output_name) argument [all...] |
/macosx-10.9.5/dcerpc-58/dcerpc/demos/samr_test/ |
H A D | samrt_client.c | 67 char mech[128] = "spnego"; local 101 strncpy(mech, optarg, sizeof(level)-1); 132 protocol, mech, level) == 0) 207 const char * mech, 255 if (strcmp(mech, "spnego") == 0) 257 else if (strcmp(mech, "krb5") == 0) 260 printf("invalid mech[%s]\n", mech); 294 printf("fully resolving binding for server is: %s (mech[%s],level[%s])\n", 295 resolved_binding, mech, leve 202 get_client_rpc_binding( rpc_binding_handle_t * binding_handle, const char * hostname, rpc_if_handle_t interface_spec, const char * protocol, const char * mech, const char * level) argument [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/examples/sasl/ |
H A D | saslclient.tcl | 60 if {$ctx(mech) eq "NTLM"} { 107 foreach mech $mechs { 108 if {[lsearch -exact $supported $mech] != -1} { 111 -mechanism $mech \ 113 Write $chan "AUTH $mech" 141 set mech [set [subst $ctx](mech)] 143 if {$mech eq "NTLM"} {puts ">CHA [SASL::NTLM::Debug $challenge]"} 148 if {$mech eq "NTLM"} {puts "<RSP [SASL::NTLM::Debug $rsp]"}
|
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/gssapi/ |
H A D | gssapi_plugin.h | 42 (*gssapi_plugin_isc_replace_cred)(gss_name_t target, gss_OID mech, gss_cred_id_t original_cred, OM_uint32 flags);
|
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/include/ |
H A D | lutil_ldap.h | 35 char *mech,
|
/macosx-10.9.5/dcerpc-58/dcerpc/demos/access/ |
H A D | access_client.c | 45 const char* mech 84 char * mech = NULL; local 137 mech = optarg; 157 mech) == 0) 205 const char* mech 247 if (mech) 249 if (!strcmp(mech, "spnego"))
|
/macosx-10.9.5/Heimdal-323.92.1/appl/ftp/ftp/ |
H A D | security.c | 97 static struct sec_server_mech *mech; variable in typeref:struct:sec_server_mech 108 static struct sec_client_mech *mech; variable in typeref:struct:sec_client_mech 180 buf->size = (*mech->decode)(app_data, buf->data, len, data_prot); 256 bytes = (*mech->encode)(app_data, from, length, data_prot, &buf); 287 len -= (*mech->overhead)(app_data, data_prot, len); 353 len = (*mech->decode)(app_data, buf, len, level); 383 len = (*mech->encode)(app_data, buf, strlen(buf), command_prot, &enc); 437 for(i = 0; (mech = mechs[i]) != NULL; i++){ 438 if(!strcasecmp(auth_name, mech->name)){ 439 tmp = realloc(app_data, mech [all...] |