/freebsd/crypto/krb5/src/ccapi/lib/ |
H A D | ccapi_credentials.c | 66 cci_credentials_t credentials = NULL; in cci_credentials_read() local 72 credentials = malloc (sizeof (*credentials)); in cci_credentials_read() 73 if (credentials) { in cci_credentials_read() 74 *credentials = cci_credentials_initializer; in cci_credentials_read() 81 credentials->functions = malloc (sizeof (*credentials->functions)); in cci_credentials_read() 82 if (credentials->functions) { in cci_credentials_read() 83 *credentials->functions = cci_credentials_f_initializer; in cci_credentials_read() 90 err = cci_identifier_read (&credentials->identifier, in_stream); in cci_credentials_read() 94 err = cci_credentials_union_read (&credentials->data, in_stream); in cci_credentials_read() 98 *out_credentials = (cc_credentials_t) credentials; in cci_credentials_read() [all …]
|
H A D | ccapi_err.et | 35 error_code ccErrInvalidContext, "Invalid credentials cache context" 36 error_code ccErrInvalidCCache, "Invalid credentials cache" 40 error_code ccErrInvalidString, "Invalid credentials cache string" 41 error_code ccErrInvalidCredentials, "Invalid credentials" 42 error_code ccErrInvalidCCacheIterator, "Invalid credentials cache iterator" 43 error_code ccErrInvalidCredentialsIterator, "Invalid credentials iterator" 48 error_code ccErrBadName, "Invalid credentials cache name" 49 error_code ccErrBadCredentialsVersion, "Invalid credentials cache version (not 4 or 5)" 58 error_code ccErrBadLockType, "Invalid credentials cache lock type"
|
H A D | ccapi_v2.c | 767 cc_credentials_t credentials = NULL; in cc_seq_fetch_creds_next() local 769 err = ccapi_credentials_iterator_next (iterator, &credentials); in cc_seq_fetch_creds_next() 771 if (!err && (credentials->data->version & compat_version)) { in cc_seq_fetch_creds_next() 773 err = cci_credentials_union_to_cred_union (credentials->data, in cc_seq_fetch_creds_next() 778 if (credentials) { ccapi_credentials_release (credentials); } in cc_seq_fetch_creds_next()
|
/freebsd/crypto/krb5/src/ccapi/server/ |
H A D | ccs_credentials.c | 43 ccs_credentials_t credentials = NULL; in ccs_credentials_new() local 49 credentials = malloc (sizeof (*credentials)); in ccs_credentials_new() 50 if (credentials) { in ccs_credentials_new() 51 *credentials = ccs_credentials_initializer; in ccs_credentials_new() 58 err = cci_credentials_union_read (&credentials->cred_union, in_stream); in ccs_credentials_new() 61 if (!err && !(credentials->cred_union->version & in_ccache_version)) { in ccs_credentials_new() 67 err = ccs_server_new_identifier (&credentials->identifier); in ccs_credentials_new() 71 err = ccs_credentials_list_add (io_credentials_list, credentials); in ccs_credentials_new() 75 *out_credentials = credentials; in ccs_credentials_new() 76 credentials = NULL; in ccs_credentials_new() [all …]
|
H A D | ccs_ccache.c | 39 ccs_credentials_list_t credentials; member 98 err = ccs_credentials_list_new (&ccache->credentials); in ccs_ccache_new() 144 ccs_credentials_list_t credentials = NULL; in ccs_ccache_reset() local 163 err = ccs_credentials_list_new (&credentials); in ccs_ccache_reset() 174 ccs_credentials_list_release (io_ccache->credentials); in ccs_ccache_reset() 175 io_ccache->credentials = credentials; in ccs_ccache_reset() 176 credentials = NULL; /* take ownership */ in ccs_ccache_reset() 182 ccs_credentials_list_release (credentials); in ccs_ccache_reset() 235 ccs_credentials_list_release (io_ccache->credentials); in ccs_ccache_release() 427 err = ccs_credentials_list_find_iterator (in_ccache->credentials, in ccs_ccache_find_credentials_iterator() [all …]
|
H A D | ccs_credentials_iterator.c | 57 ccs_credentials_t credentials = NULL; in ccs_credentials_iterator_next() local 66 &credentials); in ccs_credentials_iterator_next() 70 err = ccs_credentials_write (credentials, io_reply_data); in ccs_credentials_iterator_next()
|
/freebsd/crypto/krb5/src/ccapi/test/ |
H A D | test_ccapi_util.c | 90 cred_union->credentials.credentials_v5 = v5creds; in new_v5_creds_union() 110 if (creds_union->credentials.credentials_v5) { in release_v5_creds_union() 111 v5creds = creds_union->credentials.credentials_v5; in release_v5_creds_union() 135 (strcmp(a->credentials.credentials_v5->client, b->credentials.credentials_v5->client) == 0) && in compare_v5_creds_unions() 136 (strcmp(a->credentials.credentials_v5->server, b->credentials.credentials_v5->server) == 0)) in compare_v5_creds_unions()
|
H A D | test_ccapi_ccache.c | 716 if (creds_union.credentials.credentials_v5->client) { in check_cc_ccache_store_credentials() 717 free(creds_union.credentials.credentials_v5->client); in check_cc_ccache_store_credentials() 718 creds_union.credentials.credentials_v5->client = NULL; in check_cc_ccache_store_credentials() 755 …ache_store_credentials(cc_ccache_t ccache, const cc_credentials_union *credentials, cc_int32 expec… in check_once_cc_ccache_store_credentials() argument 775 err = cc_ccache_store_credentials(ccache, credentials); in check_once_cc_ccache_store_credentials() 787 if (compare_v5_creds_unions(credentials, creds->data) == 0) { in check_once_cc_ccache_store_credentials() 1118 cc_credentials_t credentials = NULL; in check_cc_ccache_get_change_time() local 1205 err = cc_credentials_iterator_next(creds_iterator, &credentials); in check_cc_ccache_get_change_time() 1211 err = cc_ccache_remove_credentials(ccache, credentials); in check_cc_ccache_get_change_time()
|
/freebsd/crypto/krb5/src/include/ |
H A D | CredentialsCache.h | 544 } credentials; member 1450 #define cc_ccache_store_credentials(ccache, credentials) \ argument 1451 ((ccache) -> functions -> store_credentials (ccache, credentials)) 1453 #define cc_ccache_remove_credentials(ccache, credentials) \ argument 1454 ((ccache) -> functions -> remove_credentials (ccache, credentials)) 1494 #define cc_credentials_release(credentials) \ argument 1495 ((credentials) -> functions -> release (credentials)) 1497 #define cc_credentials_compare(credentials, compare_to, equal) \ argument 1498 ((credentials) -> functions -> compare (credentials, compare_to, equal)) 1514 #define cc_credentials_iterator_next(iterator, credentials) \ argument [all …]
|
/freebsd/crypto/krb5/src/lib/krb5/krb/ |
H A D | conv_creds.c | 33 struct credentials *v4creds) in krb5_524_convert_creds() 49 struct credentials *v4creds); 53 struct credentials *v4creds) in krb524_convert_creds_kdc()
|
/freebsd/crypto/krb5/src/lib/krb5/ccache/ccapi/ |
H A D | stdcc.c | 527 cc_credentials_t credentials = NULL; in krb5_stdccv3_next_cred() local 537 err = cc_credentials_iterator_next (iterator, &credentials); in krb5_stdccv3_next_cred() 539 if (!err && (credentials->data->version == cc_credentials_v5)) { in krb5_stdccv3_next_cred() 540 err = k5_ccapi_to_krb5_creds (context, credentials->data, creds); in krb5_stdccv3_next_cred() 545 if (credentials) { cc_credentials_release (credentials); } in krb5_stdccv3_next_cred() 783 cc_credentials_t credentials = NULL; in krb5_stdccv3_remove() local 785 err = cc_credentials_iterator_next (iterator, &credentials); in krb5_stdccv3_remove() 787 if (!err && (credentials->data->version == cc_credentials_v5)) { in krb5_stdccv3_remove() 790 err = k5_ccapi_to_krb5_creds (context, credentials->data, &creds); in krb5_stdccv3_remove() 801 err = cc_ccache_remove_credentials (ccapi_data->NamedCache, credentials); in krb5_stdccv3_remove() [all …]
|
/freebsd/tools/regression/security/proc_to_proc/ |
H A D | README | 7 important scenarios using specifically crafted process credentials 27 same non-root effective credentials 29 different non-root effective credentials 31 non-root real credentials 33 different non-root real credentials
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | convert_creds.c | 58 struct credentials *v4creds) in krb524_convert_creds_kdc() 86 struct credentials *v4creds) in krb524_convert_creds_kdc_ccache()
|
H A D | krb5_err.et | 29 error_code CLIENT_REVOKED, "Clients credentials have been revoked" 209 error_code KRB5_FCC_NOFILE, "No credentials cache file found" 210 error_code KRB5_FCC_INTERNAL, "Internal file credentials cache error" 211 error_code KRB5_CC_WRITE, "Error writing to credentials cache file" 212 error_code KRB5_CC_NOMEM, "No more memory to allocate (in credentials cache code)" 213 error_code KRB5_CC_FORMAT, "Bad format in credentials cache" 214 error_code KRB5_CC_NOT_KTYPE, "No credentials found with supported encryption types" 220 error_code KRB5_NOCREDS_SUPPLIED, "No credentials supplied to library routine" 238 error_code KRB5_CCACHE_BADVNO, "Unsupported credentials cache format version number" 253 error_code KRB5_FWD_BAD_PRINCIPAL, "Bad principal name while trying to forward credentials"
|
H A D | krb5-v4compat.h | 81 struct credentials { struct 134 _krb5_krb_tf_setup (krb5_context, struct credentials *,
|
/freebsd/contrib/wpa/hostapd/ |
H A D | README-MULTI-AP | 115 BSS credentials; instead, it should respond with the (potentially different) 116 backhaul BSS credentials. 121 credentials when hostapd receives a WPS M1 message with the Multi-AP IE. Only 123 to specify authentication or encryption options. For the backhaul credentials, 127 specify the backhaul credentials, since the backhaul and fronthaul credentials 140 multi_ap_backhaul_wpa_passphrase are set to the credentials of a backhaul BSS 150 7. AP sends M8 with backhaul instead of fronthaul credentials.
|
/freebsd/contrib/wpa/wpa_supplicant/examples/ |
H A D | wpas-dbus-new-wps.py | 33 def credentials(cred): function 62 bus.add_signal_receiver(credentials,
|
/freebsd/crypto/krb5/src/lib/krb5/error_tables/ |
H A D | krb5_err.et | 59 error_code KRB5KDC_ERR_CLIENT_REVOKED, "Client's credentials have been revoked" 263 error_code KRB5_FCC_NOFILE, "No credentials cache found" 264 error_code KRB5_FCC_INTERNAL, "Internal credentials cache error" 265 error_code KRB5_CC_WRITE, "Error writing to credentials cache" 266 error_code KRB5_CC_NOMEM, "No more memory to allocate (in credentials cache code)" 267 error_code KRB5_CC_FORMAT, "Bad format in credentials cache" 268 error_code KRB5_CC_NOT_KTYPE, "No credentials found with supported encryption types" 274 error_code KRB5_NOCREDS_SUPPLIED, "No credentials supplied to library routine" 292 error_code KRB5_CCACHE_BADVNO, "Unsupported credentials cache format version number" 307 error_code KRB5_FWD_BAD_PRINCIPAL, "Bad principal name while trying to forward credentials"
|
/freebsd/crypto/krb5/src/ccapi/common/ |
H A D | cci_cred_union.c | 429 cci_credentials_v5_release (io_cred_union->credentials.credentials_v5); in cci_credentials_union_release() 459 err = cci_credentials_v5_read (&credentials_union->credentials.credentials_v5, in cci_credentials_union_read() 494 err = cci_credentials_v5_write (in_credentials_union->credentials.credentials_v5, in cci_credentials_union_write() 644 cc_credentials_v5_t *v5creds = in_credentials_union->credentials.credentials_v5; in cci_credentials_union_to_cred_union() 789 creds_union->credentials.credentials_v5 = v5creds; in cci_cred_union_to_credentials_union() 831 cc_credentials_v5_t *new_creds_v5 = in_credentials_union->credentials.credentials_v5; in cci_cred_union_compare_to_credentials_union()
|
/freebsd/contrib/pam-krb5/tests/data/scripts/expired/ |
H A D | defer-mit-debug | 45 DEBUG (user %u) obtaining credentials with new password 48 DEBUG /^\(user %u\) temporarily storing credentials in /tmp/krb5cc_pam_/
|
/freebsd/crypto/krb5/src/windows/installer/wix/ |
H A D | msi-deployment-guide.txt | 252 Setting: Default credentials cache name 481 credentials or obtaining new credentials. 488 If '1', imports credentials from the Windows LSA cache when 496 If this value is '1', shows the new credentials dialog if 497 there are no credentials when NetIDMgr starts. 550 If '1', all credentials will be destroyed when NetIDMgr exits. 608 Krb5Cred : Kerberos 5 credentials provider 630 3.1.3 Settings for the Kerberos 5 credentials provider plug-in 653 If '1', includes credentials from the MSLSA cache in the 654 credentials listing. [all …]
|
/freebsd/crypto/krb5/src/include/krb5/ |
H A D | krb5.hin | 1676 credentials */ 1886 /** The presented credentials were not obtained using a password directly */ 2127 /** Cleartext credentials information. */ 2249 /** All the flags set in the match credentials must be set. */ 2362 * Store credentials in a credential cache. 2369 * server in the decoded ticket @a creds->ticket differ, the credentials will 2380 * Retrieve a specified credentials from a credential cache. 2388 * This function searches a credential cache for credentials matching @a mcreds 2498 * Remove credentials from a credential cache. 2563 * This function reinitializes @a dst and populates it with the credentials and [all …]
|
/freebsd/crypto/krb5/src/lib/krb5/ccache/ |
H A D | ccapi_util.c | 219 cv5 = ccapi_cred->credentials.credentials_v5; in k5_ccapi_to_krb5_creds() 381 cred_union->credentials.credentials_v5 = cv5; in k5_krb5_to_ccapi_creds() 409 if (ccapi_cred->credentials.credentials_v5 == NULL) in k5_release_ccapi_cred() 412 cv5 = ccapi_cred->credentials.credentials_v5; in k5_release_ccapi_cred()
|
/freebsd/usr.sbin/bsdconfig/share/ |
H A D | mustberoot.subr | 70 # If not running as root, prompt for sudo(8) credentials to become root. 199 # Validate sudo(8) credentials 284 # Prompt for sudo(8) credentials. 354 # Validate sudo(8) credentials for given user 402 # sudo(8) using user-supplied credentials.
|
/freebsd/crypto/krb5/src/lib/gssapi/generic/ |
H A D | gssapi_err_generic.et | 47 error_code G_STORE_ACCEPTOR_CRED_NOSUPP, "Storing of acceptor credentials is not supported by the m… 48 error_code G_STORE_NON_DEFAULT_CRED_NOSUPP, "Storing of non-default credentials is not supported by…
|