creds 403 libcli/ldap/ldap_message.c asn1_write(data, r->creds.password, creds 404 libcli/ldap/ldap_message.c strlen(r->creds.password)); creds 410 libcli/ldap/ldap_message.c asn1_write_OctetString(data, r->creds.SASL.mechanism, creds 411 libcli/ldap/ldap_message.c strlen(r->creds.SASL.mechanism)); creds 412 libcli/ldap/ldap_message.c if (r->creds.SASL.secblob) { creds 413 libcli/ldap/ldap_message.c asn1_write_OctetString(data, r->creds.SASL.secblob->data, creds 414 libcli/ldap/ldap_message.c r->creds.SASL.secblob->length); creds 1154 libcli/ldap/ldap_message.c r->creds.password = ""; creds 1168 libcli/ldap/ldap_message.c r->creds.password = pw; creds 1174 libcli/ldap/ldap_message.c asn1_read_OctetString_talloc(msg, data, &r->creds.SASL.mechanism); creds 1178 libcli/ldap/ldap_message.c r->creds.SASL.secblob = talloc(msg, DATA_BLOB); creds 1179 libcli/ldap/ldap_message.c if (!r->creds.SASL.secblob) { creds 1182 libcli/ldap/ldap_message.c *r->creds.SASL.secblob = data_blob_talloc(r->creds.SASL.secblob, creds 1186 libcli/ldap/ldap_message.c r->creds.SASL.secblob = NULL; creds 72 libcli/ldap/ldap_message.h } creds; creds 65 source3/client/cifs.upcall.c krb5_creds creds; creds 96 source3/client/cifs.upcall.c while (!credtime && !krb5_cc_next_cred(context, ccache, &cur, &creds)) { creds 97 source3/client/cifs.upcall.c if (k5_data_equal(creds.server->realm, principal->realm, 0) && creds 98 source3/client/cifs.upcall.c k5_data_equal(creds.server->data[0], tgt, tgt.length) && creds 99 source3/client/cifs.upcall.c k5_data_equal(creds.server->data[1], principal->realm, 0) && creds 100 source3/client/cifs.upcall.c creds.times.endtime > time(NULL)) creds 101 source3/client/cifs.upcall.c credtime = creds.times.endtime; creds 102 source3/client/cifs.upcall.c krb5_free_cred_contents(context, &creds); creds 155 source3/include/client.h gss_cred_id_t creds; creds 746 source3/lib/ldb/ldb_ildap/ldb_ildap.c struct cli_credentials *creds; creds 787 source3/lib/ldb/ldb_ildap/ldb_ildap.c creds = talloc_get_type(ldb_get_opaque(ldb, "credentials"), struct cli_credentials); creds 788 source3/lib/ldb/ldb_ildap/ldb_ildap.c if (creds == NULL) { creds 791 source3/lib/ldb/ldb_ildap/ldb_ildap.c creds = session_info->credentials; creds 795 source3/lib/ldb/ldb_ildap/ldb_ildap.c if (creds != NULL && cli_credentials_authentication_requested(creds)) { creds 796 source3/lib/ldb/ldb_ildap/ldb_ildap.c const char *bind_dn = cli_credentials_get_bind_dn(creds); creds 798 source3/lib/ldb/ldb_ildap/ldb_ildap.c const char *password = cli_credentials_get_password(creds); creds 806 source3/lib/ldb/ldb_ildap/ldb_ildap.c status = ldap_bind_sasl(ildb->ldap, creds); creds 578 source3/libads/krb5_setpw.c krb5_creds creds, *credsp = NULL; creds 586 source3/libads/krb5_setpw.c ZERO_STRUCT(creds); creds 622 source3/libads/krb5_setpw.c ret = smb_krb5_parse_name(context, princ_name, &creds.server); creds 634 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.server); creds 645 source3/libads/krb5_setpw.c orig_realm = *krb5_princ_realm(context, creds.server); creds 646 source3/libads/krb5_setpw.c krb5_princ_set_realm(context, creds.server, krb5_princ_realm(context, principal)); creds 648 source3/libads/krb5_setpw.c ret = krb5_cc_get_principal(context, ccache, &creds.client); creds 651 source3/libads/krb5_setpw.c krb5_princ_set_realm(context, creds.server, &orig_realm); creds 652 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.server); creds 660 source3/libads/krb5_setpw.c ret = krb5_get_credentials(context, 0, ccache, &creds, &credsp); creds 663 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.client); creds 664 source3/libads/krb5_setpw.c krb5_princ_set_realm(context, creds.server, &orig_realm); creds 665 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.server); creds 679 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.client); creds 680 source3/libads/krb5_setpw.c krb5_princ_set_realm(context, creds.server, &orig_realm); creds 681 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.server); creds 728 source3/libads/krb5_setpw.c krb5_creds creds; creds 760 source3/libads/krb5_setpw.c ret = krb5_get_init_creds_password(context, &creds, princ, password, creds 779 source3/libads/krb5_setpw.c &creds, principal, newpw); creds 663 source3/libsmb/clikrb5.c krb5_creds creds; creds 677 source3/libsmb/clikrb5.c ZERO_STRUCT(creds); creds 678 source3/libsmb/clikrb5.c if ((retval = krb5_copy_principal(context, server, &creds.server))) { creds 684 source3/libsmb/clikrb5.c if ((retval = krb5_cc_get_principal(context, ccache, &creds.client))) { creds 695 source3/libsmb/clikrb5.c &creds, &credsp))) { creds 797 source3/libsmb/clikrb5.c krb5_free_cred_contents(context, &creds); creds 1262 source3/libsmb/clikrb5.c krb5_creds creds, creds_in, *creds_out = NULL; creds 1264 source3/libsmb/clikrb5.c ZERO_STRUCT(creds); creds 1304 source3/libsmb/clikrb5.c ret = krb5_get_renewed_creds(context, &creds, client, ccache, CONST_DISCARD(char *, service_string)); creds 1347 source3/libsmb/clikrb5.c creds = *creds_out; creds 1359 source3/libsmb/clikrb5.c ret = krb5_cc_store_cred(context, ccache, &creds); creds 1362 source3/libsmb/clikrb5.c *expire_time = (time_t) creds.times.endtime; creds 1371 source3/libsmb/clikrb5.c krb5_free_cred_contents(context, &creds); creds 347 source3/libsmb/smb_seal.c if (gss_state->creds != GSS_C_NO_CREDENTIAL) { creds 348 source3/libsmb/smb_seal.c gss_release_cred(&minor, &gss_state->creds); creds 207 source3/smbd/seal.c ec->es->s.gss_state->creds = srv_cred; creds 391 source3/smbd/seal.c gss_state->creds, creds 90 source4/auth/credentials/credentials.c _PUBLIC_ void cli_credentials_set_kerberos_state(struct cli_credentials *creds, creds 93 source4/auth/credentials/credentials.c creds->use_kerberos = use_kerberos; creds 96 source4/auth/credentials/credentials.c _PUBLIC_ enum credentials_use_kerberos cli_credentials_get_kerberos_state(struct cli_credentials *creds) creds 98 source4/auth/credentials/credentials.c return creds->use_kerberos; creds 101 source4/auth/credentials/credentials.c _PUBLIC_ void cli_credentials_set_gensec_features(struct cli_credentials *creds, uint32_t gensec_features) creds 103 source4/auth/credentials/credentials.c creds->gensec_features = gensec_features; creds 106 source4/auth/credentials/credentials.c _PUBLIC_ uint32_t cli_credentials_get_gensec_features(struct cli_credentials *creds) creds 108 source4/auth/credentials/credentials.c return creds->gensec_features; creds 184 source4/auth/credentials/credentials.h void cli_credentials_set_kerberos_state(struct cli_credentials *creds, creds 250 source4/auth/credentials/credentials.h void cli_credentials_set_gensec_features(struct cli_credentials *creds, uint32_t gensec_features); creds 251 source4/auth/credentials/credentials.h uint32_t cli_credentials_get_gensec_features(struct cli_credentials *creds); creds 263 source4/auth/credentials/credentials.h enum credentials_use_kerberos cli_credentials_get_kerberos_state(struct cli_credentials *creds); creds 349 source4/auth/credentials/credentials_krb5.c maj_stat = gss_release_cred(&min_stat, &gcc->creds); creds 384 source4/auth/credentials/credentials_krb5.c &gcc->creds); creds 413 source4/auth/credentials/credentials_krb5.c maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, gcc->creds, creds 428 source4/auth/credentials/credentials_krb5.c maj_stat = gss_set_cred_option(&min_stat, &gcc->creds, creds 499 source4/auth/credentials/credentials_krb5.c gcc->creds = gssapi_cred; creds 699 source4/auth/credentials/credentials_krb5.c &gcc->creds); creds 30 source4/auth/credentials/credentials_krb5.h gss_cred_id_t creds; creds 26 source4/auth/credentials/tests/simple.c struct cli_credentials *creds = cli_credentials_init(tctx); creds 28 source4/auth/credentials/tests/simple.c cli_credentials_set_domain(creds, "bla", CRED_SPECIFIED); creds 30 source4/auth/credentials/tests/simple.c torture_assert_str_equal(tctx, "BLA", cli_credentials_get_domain(creds), creds 33 source4/auth/credentials/tests/simple.c cli_credentials_set_username(creds, "someuser", CRED_SPECIFIED); creds 36 source4/auth/credentials/tests/simple.c cli_credentials_get_username(creds), creds 39 source4/auth/credentials/tests/simple.c cli_credentials_set_password(creds, "p4ssw0rd", CRED_SPECIFIED); creds 42 source4/auth/credentials/tests/simple.c cli_credentials_get_password(creds), creds 50 source4/auth/credentials/tests/simple.c struct cli_credentials *creds = cli_credentials_init_anon(tctx); creds 52 source4/auth/credentials/tests/simple.c torture_assert_str_equal(tctx, cli_credentials_get_domain(creds), creds 55 source4/auth/credentials/tests/simple.c torture_assert_str_equal(tctx, cli_credentials_get_username(creds), creds 58 source4/auth/credentials/tests/simple.c torture_assert(tctx, cli_credentials_get_password(creds) == NULL, creds 66 source4/auth/credentials/tests/simple.c struct cli_credentials *creds = cli_credentials_init_anon(tctx); creds 69 source4/auth/credentials/tests/simple.c cli_credentials_parse_string(creds, "%", CRED_SPECIFIED); creds 71 source4/auth/credentials/tests/simple.c torture_assert_str_equal(tctx, cli_credentials_get_domain(creds), creds 74 source4/auth/credentials/tests/simple.c torture_assert_str_equal(tctx, cli_credentials_get_username(creds), creds 77 source4/auth/credentials/tests/simple.c torture_assert(tctx, cli_credentials_get_password(creds) == NULL, creds 81 source4/auth/credentials/tests/simple.c cli_credentials_parse_string(creds, "somebody%secret", creds 84 source4/auth/credentials/tests/simple.c torture_assert_str_equal(tctx, cli_credentials_get_domain(creds), creds 87 source4/auth/credentials/tests/simple.c torture_assert_str_equal(tctx, cli_credentials_get_username(creds), creds 90 source4/auth/credentials/tests/simple.c torture_assert_str_equal(tctx, cli_credentials_get_password(creds), creds 94 source4/auth/credentials/tests/simple.c cli_credentials_parse_string(creds, "prin@styx", creds 97 source4/auth/credentials/tests/simple.c torture_assert_str_equal(tctx, cli_credentials_get_realm(creds), creds 101 source4/auth/credentials/tests/simple.c cli_credentials_get_principal(creds, tctx), creds 56 source4/auth/gensec/gensec.c struct cli_credentials *creds) creds 62 source4/auth/gensec/gensec.c if (creds) { creds 63 source4/auth/gensec/gensec.c use_kerberos = cli_credentials_get_kerberos_state(creds); creds 127 source4/auth/gensec/gensec.c struct cli_credentials *creds = gensec_get_credentials(gensec_security); creds 128 source4/auth/gensec/gensec.c if (!creds) { creds 134 source4/auth/gensec/gensec.c return gensec_use_kerberos_mechs(mem_ctx, backends, creds); creds 290 source4/auth/gensec/gensec.h struct creds_CredentialState **creds); creds 310 source4/auth/gensec/gensec.h struct cli_credentials *creds); creds 306 source4/auth/gensec/gensec_gssapi.c struct cli_credentials *creds = gensec_get_credentials(gensec_security); creds 363 source4/auth/gensec/gensec_gssapi.c ret = cli_credentials_get_client_gss_creds(creds, creds 453 source4/auth/gensec/gensec_gssapi.c gensec_gssapi_state->client_cred->creds, creds 474 source4/auth/gensec/gensec_gssapi.c gensec_gssapi_state->server_cred->creds, creds 95 source4/auth/gensec/gensec_krb5.c struct cli_credentials *creds; creds 99 source4/auth/gensec/gensec_krb5.c creds = gensec_get_credentials(gensec_security); creds 100 source4/auth/gensec/gensec_krb5.c if (!creds) { creds 121 source4/auth/gensec/gensec_krb5.c if (cli_credentials_get_krb5_context(creds, creds 55 source4/auth/gensec/schannel.c struct creds_CredentialState *creds; creds 68 source4/auth/gensec/schannel.c state->creds = talloc_reference(state, cli_credentials_get_netlogon_creds(gensec_security->credentials)); creds 130 source4/auth/gensec/schannel.c domain, &creds); creds 140 source4/auth/gensec/schannel.c state->creds = talloc_reference(state, creds); creds 172 source4/auth/gensec/schannel.c struct creds_CredentialState **creds) creds 176 source4/auth/gensec/schannel.c *creds = talloc_reference(mem_ctx, state->creds); creds 177 source4/auth/gensec/schannel.c if (!*creds) { creds 34 source4/auth/gensec/schannel.h struct creds_CredentialState *creds; creds 45 source4/auth/gensec/schannel_sign.c hmac_md5(state->creds->session_key, zeros, sizeof(zeros), digest1); creds 127 source4/auth/gensec/schannel_sign.c netsec_get_sealing_key(state->creds->session_key, seq_num, sealing_key); creds 131 source4/auth/gensec/schannel_sign.c schannel_digest(state->creds->session_key, creds 176 source4/auth/gensec/schannel_sign.c dump_data_pw("sess_key:\n", state->creds->session_key, 16); creds 178 source4/auth/gensec/schannel_sign.c schannel_digest(state->creds->session_key, creds 222 source4/auth/gensec/schannel_sign.c schannel_digest(state->creds->session_key, creds 226 source4/auth/gensec/schannel_sign.c netsec_get_sealing_key(state->creds->session_key, seq_num, sealing_key); creds 266 source4/auth/gensec/schannel_sign.c schannel_digest(state->creds->session_key, creds 113 source4/auth/gensec/schannel_state.c struct creds_CredentialState *creds) creds 123 source4/auth/gensec/schannel_state.c f = talloc_asprintf(mem_ctx, "%u", (unsigned int)creds->negotiate_flags); creds 129 source4/auth/gensec/schannel_state.c sct = talloc_asprintf(mem_ctx, "%u", (unsigned int)creds->secure_channel_type); creds 140 source4/auth/gensec/schannel_state.c msg->dn = ldb_dn_new_fmt(msg, ldb, "computerName=%s", creds->computer_name); creds 146 source4/auth/gensec/schannel_state.c sid_val = schannel_dom_sid_ldb_val(msg, smbiconv, creds->sid); creds 151 source4/auth/gensec/schannel_state.c val.data = creds->session_key; creds 152 source4/auth/gensec/schannel_state.c val.length = sizeof(creds->session_key); creds 154 source4/auth/gensec/schannel_state.c seed.data = creds->seed.data; creds 155 source4/auth/gensec/schannel_state.c seed.length = sizeof(creds->seed.data); creds 157 source4/auth/gensec/schannel_state.c client_state.data = creds->client.data; creds 158 source4/auth/gensec/schannel_state.c client_state.length = sizeof(creds->client.data); creds 159 source4/auth/gensec/schannel_state.c server_state.data = creds->server.data; creds 160 source4/auth/gensec/schannel_state.c server_state.length = sizeof(creds->server.data); creds 169 source4/auth/gensec/schannel_state.c ldb_msg_add_string(msg, "accountName", creds->account_name); creds 170 source4/auth/gensec/schannel_state.c ldb_msg_add_string(msg, "computerName", creds->computer_name); creds 171 source4/auth/gensec/schannel_state.c ldb_msg_add_string(msg, "flatname", creds->domain); creds 190 source4/auth/gensec/schannel_state.c struct creds_CredentialState *creds) creds 207 source4/auth/gensec/schannel_state.c nt_status = schannel_store_session_key_ldb(mem_ctx, ldb, creds); creds 217 source4/auth/gensec/schannel_state.c creds->computer_name, ldb_errstring(ldb))); creds 233 source4/auth/gensec/schannel_state.c struct creds_CredentialState **creds) creds 239 source4/auth/gensec/schannel_state.c *creds = talloc_zero(mem_ctx, struct creds_CredentialState); creds 240 source4/auth/gensec/schannel_state.c if (!*creds) { creds 264 source4/auth/gensec/schannel_state.c memcpy((*creds)->session_key, val->data, 16); creds 273 source4/auth/gensec/schannel_state.c memcpy((*creds)->seed.data, val->data, 8); creds 281 source4/auth/gensec/schannel_state.c memcpy((*creds)->client.data, val->data, 8); creds 289 source4/auth/gensec/schannel_state.c memcpy((*creds)->server.data, val->data, 8); creds 291 source4/auth/gensec/schannel_state.c (*creds)->negotiate_flags = ldb_msg_find_attr_as_int(res->msgs[0], "negotiateFlags", 0); creds 293 source4/auth/gensec/schannel_state.c (*creds)->secure_channel_type = ldb_msg_find_attr_as_int(res->msgs[0], "secureChannelType", 0); creds 295 source4/auth/gensec/schannel_state.c (*creds)->account_name = talloc_strdup(*creds, ldb_msg_find_attr_as_string(res->msgs[0], "accountName", NULL)); creds 296 source4/auth/gensec/schannel_state.c if ((*creds)->account_name == NULL) { creds 301 source4/auth/gensec/schannel_state.c (*creds)->computer_name = talloc_strdup(*creds, ldb_msg_find_attr_as_string(res->msgs[0], "computerName", NULL)); creds 302 source4/auth/gensec/schannel_state.c if ((*creds)->computer_name == NULL) { creds 307 source4/auth/gensec/schannel_state.c (*creds)->domain = talloc_strdup(*creds, ldb_msg_find_attr_as_string(res->msgs[0], "flatname", NULL)); creds 308 source4/auth/gensec/schannel_state.c if ((*creds)->domain == NULL) { creds 319 source4/auth/gensec/schannel_state.c (*creds)->sid = schannel_ldb_val_dom_sid(*creds, val); creds 320 source4/auth/gensec/schannel_state.c if ((*creds)->sid == NULL) { creds 334 source4/auth/gensec/schannel_state.c struct creds_CredentialState **creds) creds 346 source4/auth/gensec/schannel_state.c creds); creds 635 source4/auth/gensec/spnego.c struct cli_credentials *creds = gensec_get_credentials(gensec_security); creds 636 source4/auth/gensec/spnego.c if (creds) { creds 637 source4/auth/gensec/spnego.c principal = cli_credentials_get_principal(creds, out_mem_ctx); creds 118 source4/auth/ntlm/auth_server.c struct cli_credentials *creds; creds 123 source4/auth/ntlm/auth_server.c creds = cli_credentials_init(mem_ctx); creds 125 source4/auth/ntlm/auth_server.c NT_STATUS_HAVE_NO_MEMORY(creds); creds 127 source4/auth/ntlm/auth_server.c cli_credentials_set_username(creds, user_info->client.account_name, CRED_SPECIFIED); creds 128 source4/auth/ntlm/auth_server.c cli_credentials_set_domain(creds, user_info->client.domain_name, CRED_SPECIFIED); creds 132 source4/auth/ntlm/auth_server.c cli_credentials_set_password(creds, user_info->password.plaintext, creds 136 source4/auth/ntlm/auth_server.c cli_credentials_set_nt_hash(creds, user_info->password.hash.nt, creds 141 source4/auth/ntlm/auth_server.c cli_credentials_set_ntlm_response(creds, &user_info->password.response.lanman, &user_info->password.response.nt, CRED_SPECIFIED); creds 148 source4/auth/ntlm/auth_server.c session_setup.in.credentials = creds; creds 71 source4/dsdb/samdb/ldb_modules/proxy.c struct cli_credentials *creds; creds 133 source4/dsdb/samdb/ldb_modules/proxy.c creds = cli_credentials_init(proxy->upstream); creds 134 source4/dsdb/samdb/ldb_modules/proxy.c if (creds == NULL) { creds 138 source4/dsdb/samdb/ldb_modules/proxy.c cli_credentials_guess(creds, ldb_get_opaque(ldb, "loadparm")); creds 139 source4/dsdb/samdb/ldb_modules/proxy.c cli_credentials_set_username(creds, username, CRED_SPECIFIED); creds 140 source4/dsdb/samdb/ldb_modules/proxy.c cli_credentials_set_password(creds, password, CRED_SPECIFIED); creds 142 source4/dsdb/samdb/ldb_modules/proxy.c ldb_set_opaque(proxy->upstream, "credentials", creds); creds 38 source4/dsdb/samdb/ldb_modules/update_keytab.c struct cli_credentials *creds; creds 118 source4/dsdb/samdb/ldb_modules/update_keytab.c item->creds = cli_credentials_init(item); creds 119 source4/dsdb/samdb/ldb_modules/update_keytab.c if (!item->creds) { creds 126 source4/dsdb/samdb/ldb_modules/update_keytab.c cli_credentials_set_conf(item->creds, ldb_get_opaque(ldb, "loadparm")); creds 127 source4/dsdb/samdb/ldb_modules/update_keytab.c status = cli_credentials_set_secrets(item->creds, ldb_get_event_context(ldb), ldb_get_opaque(ldb, "loadparm"), ldb, NULL, filter); creds 132 source4/dsdb/samdb/ldb_modules/update_keytab.c cli_credentials_set_kvno(item->creds, cli_credentials_get_kvno(item->creds)+2); creds 134 source4/dsdb/samdb/ldb_modules/update_keytab.c cli_credentials_set_nt_hash(item->creds, NULL, creds 392 source4/dsdb/samdb/ldb_modules/update_keytab.c kret = cli_credentials_update_keytab(p->creds, ldb_get_event_context(ldb), ldb_get_opaque(ldb, "loadparm")); creds 214 source4/heimdal/kuser/kinit.c krb5_creds *creds, const char *server) creds 221 source4/heimdal/kuser/kinit.c if(creds != NULL) creds 222 source4/heimdal/kuser/kinit.c real_creds = creds; creds 248 source4/heimdal/kuser/kinit.c if(creds == NULL) creds 288 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_creds creds; creds 292 source4/heimdal/lib/gssapi/krb5/init_sec_context.c memset (&creds, 0, sizeof(creds)); creds 295 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_cc_get_principal(context, ccache, &creds.client); creds 300 source4/heimdal/lib/gssapi/krb5/init_sec_context.c &creds.server, creds 301 source4/heimdal/lib/gssapi/krb5/init_sec_context.c strlen(creds.client->realm), creds 302 source4/heimdal/lib/gssapi/krb5/init_sec_context.c creds.client->realm, creds 304 source4/heimdal/lib/gssapi/krb5/init_sec_context.c creds.client->realm, creds 309 source4/heimdal/lib/gssapi/krb5/init_sec_context.c creds.times.endtime = 0; creds 324 source4/heimdal/lib/gssapi/krb5/init_sec_context.c &creds, creds 333 source4/heimdal/lib/gssapi/krb5/init_sec_context.c if (creds.client) creds 334 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_free_principal(context, creds.client); creds 335 source4/heimdal/lib/gssapi/krb5/init_sec_context.c if (creds.server) creds 336 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_free_principal(context, creds.server); creds 114 source4/heimdal/lib/hx509/ks_keychain.c const CSSM_ACCESS_CREDENTIALS *creds; creds 130 source4/heimdal/lib/hx509/ks_keychain.c kSecCredentialTypeDefault, &creds); creds 134 source4/heimdal/lib/hx509/ks_keychain.c creds, cssmKey, &sigHandle); creds 621 source4/heimdal/lib/krb5/acache.c krb5_creds *creds) creds 639 source4/heimdal/lib/krb5/acache.c creds, creds 710 source4/heimdal/lib/krb5/acache.c krb5_creds *creds) creds 728 source4/heimdal/lib/krb5/acache.c creds); creds 615 source4/heimdal/lib/krb5/cache.c krb5_creds *creds) creds 617 source4/heimdal/lib/krb5/cache.c return (*id->ops->store)(context, id, creds); creds 636 source4/heimdal/lib/krb5/cache.c krb5_creds *creds) creds 643 source4/heimdal/lib/krb5/cache.c mcreds, creds); creds 649 source4/heimdal/lib/krb5/cache.c while((ret = krb5_cc_next_cred(context, id, &cursor, creds)) == 0){ creds 650 source4/heimdal/lib/krb5/cache.c if(krb5_compare_creds(context, whichfields, mcreds, creds)){ creds 654 source4/heimdal/lib/krb5/cache.c krb5_free_cred_contents (context, creds); creds 709 source4/heimdal/lib/krb5/cache.c krb5_creds *creds) creds 711 source4/heimdal/lib/krb5/cache.c return (*id->ops->get_next)(context, id, cursor, creds); creds 725 source4/heimdal/lib/krb5/cache.c krb5_creds * creds, creds 731 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_next_cred(context, id, cursor, creds); creds 734 source4/heimdal/lib/krb5/cache.c if (mcreds == NULL || krb5_compare_creds(context, whichfields, mcreds, creds)) creds 736 source4/heimdal/lib/krb5/cache.c krb5_free_cred_contents(context, creds); creds 72 source4/heimdal/lib/krb5/changepw.c krb5_creds *creds, creds 93 source4/heimdal/lib/krb5/changepw.c krb5_principal_compare(context, creds->client, targprinc) != TRUE) creds 102 source4/heimdal/lib/krb5/changepw.c creds, creds 166 source4/heimdal/lib/krb5/changepw.c krb5_creds *creds, creds 190 source4/heimdal/lib/krb5/changepw.c creds, creds 510 source4/heimdal/lib/krb5/changepw.c krb5_creds *creds, creds 530 source4/heimdal/lib/krb5/changepw.c realm = creds->client->realm; creds 596 source4/heimdal/lib/krb5/changepw.c creds, creds 691 source4/heimdal/lib/krb5/changepw.c krb5_creds *creds, creds 707 source4/heimdal/lib/krb5/changepw.c return change_password_loop(context, creds, NULL, newpw, creds 733 source4/heimdal/lib/krb5/changepw.c krb5_creds *creds, creds 757 source4/heimdal/lib/krb5/changepw.c ret = change_password_loop(context, creds, principal, newpw, creds 785 source4/heimdal/lib/krb5/changepw.c krb5_creds creds, *credsp; creds 793 source4/heimdal/lib/krb5/changepw.c memset(&creds, 0, sizeof(creds)); creds 802 source4/heimdal/lib/krb5/changepw.c ret = krb5_make_principal(context, &creds.server, creds 808 source4/heimdal/lib/krb5/changepw.c ret = krb5_cc_get_principal(context, ccache, &creds.client); creds 810 source4/heimdal/lib/krb5/changepw.c krb5_free_principal(context, creds.server); creds 814 source4/heimdal/lib/krb5/changepw.c ret = krb5_get_credentials(context, 0, ccache, &creds, &credsp); creds 815 source4/heimdal/lib/krb5/changepw.c krb5_free_principal(context, creds.server); creds 816 source4/heimdal/lib/krb5/changepw.c krb5_free_principal(context, creds.client); creds 215 source4/heimdal/lib/krb5/creds.c const krb5_creds * mcreds, const krb5_creds * creds) creds 222 source4/heimdal/lib/krb5/creds.c creds->server); creds 225 source4/heimdal/lib/krb5/creds.c creds->server); creds 231 source4/heimdal/lib/krb5/creds.c creds->client); creds 234 source4/heimdal/lib/krb5/creds.c creds->client); creds 240 source4/heimdal/lib/krb5/creds.c creds->session.keytype); creds 243 source4/heimdal/lib/krb5/creds.c match = mcreds->flags.i == creds->flags.i; creds 246 source4/heimdal/lib/krb5/creds.c match = (creds->flags.i & mcreds->flags.i) == mcreds->flags.i; creds 249 source4/heimdal/lib/krb5/creds.c match = krb5_times_equal(&mcreds->times, &creds->times); creds 253 source4/heimdal/lib/krb5/creds.c match = (mcreds->times.renew_till <= creds->times.renew_till) && creds 254 source4/heimdal/lib/krb5/creds.c (mcreds->times.endtime <= creds->times.endtime); creds 258 source4/heimdal/lib/krb5/creds.c if(mcreds->authdata.len != creds->authdata.len) creds 263 source4/heimdal/lib/krb5/creds.c creds->authdata.val[i].ad_type) && creds 265 source4/heimdal/lib/krb5/creds.c &creds->authdata.val[i].ad_data) == 0); creds 268 source4/heimdal/lib/krb5/creds.c match = (krb5_data_cmp(&mcreds->second_ticket, &creds->second_ticket) == 0); creds 272 source4/heimdal/lib/krb5/creds.c (creds->second_ticket.length == 0)); creds 289 source4/heimdal/lib/krb5/creds.c krb5_creds_get_ticket_flags(krb5_creds *creds) creds 291 source4/heimdal/lib/krb5/creds.c return TicketFlags2int(creds->flags.b); creds 463 source4/heimdal/lib/krb5/fcache.c krb5_creds *creds) creds 482 source4/heimdal/lib/krb5/fcache.c ret = krb5_store_creds(sp, creds); creds 709 source4/heimdal/lib/krb5/fcache.c krb5_creds *creds) creds 715 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_creds(FCC_CURSOR(*cursor)->sp, creds); creds 48 source4/heimdal/lib/krb5/get_cred.c krb5_creds *creds) creds 64 source4/heimdal/lib/krb5/get_cred.c ret = _krb5_mk_req_internal(context, &ac, 0, &in_data, creds, creds 1407 source4/heimdal/lib/krb5/get_cred.c krb5_creds *creds, creds 1417 source4/heimdal/lib/krb5/get_cred.c memset(creds, 0, sizeof(*creds)); creds 1460 source4/heimdal/lib/krb5/get_cred.c ret = krb5_copy_creds_contents(context, out, creds); creds 116 source4/heimdal/lib/krb5/get_for_creds.c krb5_creds creds; creds 139 source4/heimdal/lib/krb5/get_for_creds.c memset (&creds, 0, sizeof(creds)); creds 140 source4/heimdal/lib/krb5/get_for_creds.c creds.client = client; creds 143 source4/heimdal/lib/krb5/get_for_creds.c &creds.server, creds 157 source4/heimdal/lib/krb5/get_for_creds.c &creds, creds 349 source4/heimdal/lib/krb5/get_in_tkt.c krb5_creds *creds, creds 376 source4/heimdal/lib/krb5/get_in_tkt.c creds->session.keyvalue.length = 0; creds 377 source4/heimdal/lib/krb5/get_in_tkt.c creds->session.keyvalue.data = NULL; creds 378 source4/heimdal/lib/krb5/get_in_tkt.c creds->session.keytype = rep->enc_part.key.keytype; creds 379 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_data_copy (&creds->session.keyvalue, creds 408 source4/heimdal/lib/krb5/get_in_tkt.c creds->client, creds 410 source4/heimdal/lib/krb5/get_in_tkt.c &creds->session); creds 416 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_principal (context, creds->client); creds 417 source4/heimdal/lib/krb5/get_in_tkt.c creds->client = tmp_principal; creds 430 source4/heimdal/lib/krb5/get_in_tkt.c creds->server, creds 432 source4/heimdal/lib/krb5/get_in_tkt.c &creds->session); creds 438 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_principal(context, creds->server); creds 439 source4/heimdal/lib/krb5/get_in_tkt.c creds->server = tmp_principal; creds 443 source4/heimdal/lib/krb5/get_in_tkt.c const char *srealm = krb5_principal_get_realm(context, creds->server); creds 444 source4/heimdal/lib/krb5/get_in_tkt.c const char *crealm = krb5_principal_get_realm(context, creds->client); creds 483 source4/heimdal/lib/krb5/get_in_tkt.c if (creds->times.starttime == 0 creds 493 source4/heimdal/lib/krb5/get_in_tkt.c if (creds->times.starttime != 0 creds 494 source4/heimdal/lib/krb5/get_in_tkt.c && tmp_time != creds->times.starttime) { creds 500 source4/heimdal/lib/krb5/get_in_tkt.c creds->times.starttime = tmp_time; creds 507 source4/heimdal/lib/krb5/get_in_tkt.c if (creds->times.renew_till != 0 creds 508 source4/heimdal/lib/krb5/get_in_tkt.c && tmp_time > creds->times.renew_till) { creds 514 source4/heimdal/lib/krb5/get_in_tkt.c creds->times.renew_till = tmp_time; creds 516 source4/heimdal/lib/krb5/get_in_tkt.c creds->times.authtime = rep->enc_part.authtime; creds 518 source4/heimdal/lib/krb5/get_in_tkt.c if (creds->times.endtime != 0 creds 519 source4/heimdal/lib/krb5/get_in_tkt.c && rep->enc_part.endtime > creds->times.endtime) { creds 525 source4/heimdal/lib/krb5/get_in_tkt.c creds->times.endtime = rep->enc_part.endtime; creds 528 source4/heimdal/lib/krb5/get_in_tkt.c krb5_copy_addresses (context, rep->enc_part.caddr, &creds->addresses); creds 530 source4/heimdal/lib/krb5/get_in_tkt.c krb5_copy_addresses (context, addrs, &creds->addresses); creds 532 source4/heimdal/lib/krb5/get_in_tkt.c creds->addresses.len = 0; creds 533 source4/heimdal/lib/krb5/get_in_tkt.c creds->addresses.val = NULL; creds 535 source4/heimdal/lib/krb5/get_in_tkt.c creds->flags.b = rep->enc_part.flags; creds 537 source4/heimdal/lib/krb5/get_in_tkt.c creds->authdata.len = 0; creds 538 source4/heimdal/lib/krb5/get_in_tkt.c creds->authdata.val = NULL; creds 541 source4/heimdal/lib/krb5/get_in_tkt.c ASN1_MALLOC_ENCODE(Ticket, creds->ticket.data, creds->ticket.length, creds 545 source4/heimdal/lib/krb5/get_in_tkt.c if (creds->ticket.length != len) creds 547 source4/heimdal/lib/krb5/get_in_tkt.c creds->second_ticket.length = 0; creds 548 source4/heimdal/lib/krb5/get_in_tkt.c creds->second_ticket.data = NULL; creds 665 source4/heimdal/lib/krb5/get_in_tkt.c krb5_creds *creds, creds 695 source4/heimdal/lib/krb5/get_in_tkt.c ret = _krb5_principal2principalname (a->req_body.cname, creds->client); creds 698 source4/heimdal/lib/krb5/get_in_tkt.c ret = _krb5_principal2principalname (a->req_body.sname, creds->server); creds 701 source4/heimdal/lib/krb5/get_in_tkt.c ret = copy_Realm(&creds->client->realm, &a->req_body.realm); creds 705 source4/heimdal/lib/krb5/get_in_tkt.c if(creds->times.starttime) { creds 712 source4/heimdal/lib/krb5/get_in_tkt.c *a->req_body.from = creds->times.starttime; creds 714 source4/heimdal/lib/krb5/get_in_tkt.c if(creds->times.endtime){ creds 716 source4/heimdal/lib/krb5/get_in_tkt.c *a->req_body.till = creds->times.endtime; creds 718 source4/heimdal/lib/krb5/get_in_tkt.c if(creds->times.renew_till){ creds 725 source4/heimdal/lib/krb5/get_in_tkt.c *a->req_body.rtime = creds->times.renew_till; creds 792 source4/heimdal/lib/krb5/get_in_tkt.c ret = add_padata(context, a->padata, creds->client, creds 816 source4/heimdal/lib/krb5/get_in_tkt.c add_padata(context, a->padata, creds->client, creds 823 source4/heimdal/lib/krb5/get_in_tkt.c add_padata(context, a->padata, creds->client, creds 892 source4/heimdal/lib/krb5/get_in_tkt.c krb5_creds *creds, creds 919 source4/heimdal/lib/krb5/get_in_tkt.c creds, creds 943 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_sendto_kdc (context, &req, &creds->client->realm, &resp); creds 960 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_error_from_rd_error(context, &error, creds); creds 1006 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_get_pw_salt (context, creds->client, &salt); creds 1023 source4/heimdal/lib/krb5/get_in_tkt.c creds, creds 1055 source4/heimdal/lib/krb5/get_in_tkt.c krb5_creds *creds, creds 1071 source4/heimdal/lib/krb5/get_in_tkt.c creds, creds 1076 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_cc_store_cred (context, ccache, creds); creds 79 source4/heimdal/lib/krb5/get_in_tkt_with_keytab.c krb5_creds *creds, creds 84 source4/heimdal/lib/krb5/get_in_tkt_with_keytab.c a.principal = creds->client; creds 96 source4/heimdal/lib/krb5/get_in_tkt_with_keytab.c creds, creds 490 source4/heimdal/lib/krb5/init_creds_pw.c krb5_creds *creds, creds 529 source4/heimdal/lib/krb5/init_creds_pw.c if (ret == 0 && creds) creds 530 source4/heimdal/lib/krb5/init_creds_pw.c *creds = ctx.cred; creds 546 source4/heimdal/lib/krb5/init_creds_pw.c const krb5_creds *creds, creds 571 source4/heimdal/lib/krb5/init_creds_pw.c ret = _krb5_principal2principalname (a->req_body.cname, creds->client); creds 574 source4/heimdal/lib/krb5/init_creds_pw.c ret = copy_Realm(&creds->client->realm, &a->req_body.realm); creds 578 source4/heimdal/lib/krb5/init_creds_pw.c ret = _krb5_principal2principalname (a->req_body.sname, creds->server); creds 582 source4/heimdal/lib/krb5/init_creds_pw.c if(creds->times.starttime) { creds 589 source4/heimdal/lib/krb5/init_creds_pw.c *a->req_body.from = creds->times.starttime; creds 591 source4/heimdal/lib/krb5/init_creds_pw.c if(creds->times.endtime){ creds 593 source4/heimdal/lib/krb5/init_creds_pw.c *a->req_body.till = creds->times.endtime; creds 595 source4/heimdal/lib/krb5/init_creds_pw.c if(creds->times.renew_till){ creds 602 source4/heimdal/lib/krb5/init_creds_pw.c *a->req_body.rtime = creds->times.renew_till; creds 1083 source4/heimdal/lib/krb5/init_creds_pw.c const krb5_creds *creds, creds 1108 source4/heimdal/lib/krb5/init_creds_pw.c ret = pa_data_to_md_pkinit(context, a, creds->client, ctx, *out_md); creds 1118 source4/heimdal/lib/krb5/init_creds_pw.c ppaid = process_pa_info(context, creds->client, a, &paid, in_md); creds 1120 source4/heimdal/lib/krb5/init_creds_pw.c pa_data_to_md_ts_enc(context, a, creds->client, ctx, ppaid, *out_md); creds 1138 source4/heimdal/lib/krb5/init_creds_pw.c krb5_creds *creds, creds 1155 source4/heimdal/lib/krb5/init_creds_pw.c ppaid = process_pa_info(context, creds->client, a, &paid, creds 1159 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_pw_salt (context, creds->client, &paid.salt); creds 1197 source4/heimdal/lib/krb5/init_creds_pw.c ret = pa_data_to_key_plain(context, creds->client, ctx, creds 1214 source4/heimdal/lib/krb5/init_creds_pw.c krb5_creds *creds, creds 1235 source4/heimdal/lib/krb5/init_creds_pw.c ret = init_creds_init_as_req(context, ctx->flags, creds, creds 1272 source4/heimdal/lib/krb5/init_creds_pw.c ret = process_pa_data_to_md(context, creds, &ctx->as_req, ctx, creds 1289 source4/heimdal/lib/krb5/init_creds_pw.c creds->client->realm, &resp); creds 1310 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_error_from_rd_error(context, &error, creds); creds 1361 source4/heimdal/lib/krb5/init_creds_pw.c ret = process_pa_data_to_key(context, ctx, creds, creds 1368 source4/heimdal/lib/krb5/init_creds_pw.c creds, creds 1395 source4/heimdal/lib/krb5/init_creds_pw.c krb5_creds *creds, creds 1474 source4/heimdal/lib/krb5/init_creds_pw.c *creds = ctx.cred; creds 1483 source4/heimdal/lib/krb5/init_creds_pw.c krb5_creds *creds, creds 1549 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_init_creds(context, creds, client, prompter, creds 1568 source4/heimdal/lib/krb5/init_creds_pw.c krb5_creds *creds, creds 1596 source4/heimdal/lib/krb5/init_creds_pw.c if (ret == 0 && creds) creds 1597 source4/heimdal/lib/krb5/init_creds_pw.c *creds = ctx.cred; creds 465 source4/heimdal/lib/krb5/kcm.c krb5_creds *creds) creds 481 source4/heimdal/lib/krb5/kcm.c ret = krb5_store_creds(request, creds); creds 508 source4/heimdal/lib/krb5/kcm.c krb5_creds *creds) creds 543 source4/heimdal/lib/krb5/kcm.c ret = krb5_ret_creds(response, creds); creds 665 source4/heimdal/lib/krb5/kcm.c krb5_creds *creds) creds 694 source4/heimdal/lib/krb5/kcm.c ret = krb5_ret_creds(response, creds); creds 46 source4/heimdal/lib/krb5/mcache.c } *creds; creds 96 source4/heimdal/lib/krb5/mcache.c m->creds = NULL; creds 217 source4/heimdal/lib/krb5/mcache.c l = m->creds; creds 226 source4/heimdal/lib/krb5/mcache.c m->creds = NULL; creds 234 source4/heimdal/lib/krb5/mcache.c krb5_creds *creds) creds 249 source4/heimdal/lib/krb5/mcache.c l->next = m->creds; creds 250 source4/heimdal/lib/krb5/mcache.c m->creds = l; creds 252 source4/heimdal/lib/krb5/mcache.c ret = krb5_copy_creds_contents (context, creds, &l->cred); creds 254 source4/heimdal/lib/krb5/mcache.c m->creds = l->next; creds 286 source4/heimdal/lib/krb5/mcache.c *cursor = m->creds; creds 294 source4/heimdal/lib/krb5/mcache.c krb5_creds *creds) creds 307 source4/heimdal/lib/krb5/mcache.c creds); creds 328 source4/heimdal/lib/krb5/mcache.c for(q = &m->creds, p = *q; p; p = *q) { creds 417 source4/heimdal/lib/krb5/mcache.c struct link *creds; creds 432 source4/heimdal/lib/krb5/mcache.c creds = mto->creds; creds 433 source4/heimdal/lib/krb5/mcache.c mto->creds = mfrom->creds; creds 434 source4/heimdal/lib/krb5/mcache.c mfrom->creds = creds; creds 258 source4/heimdal/lib/krb5/rd_cred.c krb5_creds *creds; creds 260 source4/heimdal/lib/krb5/rd_cred.c creds = calloc(1, sizeof(*creds)); creds 261 source4/heimdal/lib/krb5/rd_cred.c if(creds == NULL) { creds 268 source4/heimdal/lib/krb5/rd_cred.c ASN1_MALLOC_ENCODE(Ticket, creds->ticket.data, creds->ticket.length, creds 271 source4/heimdal/lib/krb5/rd_cred.c free(creds); creds 274 source4/heimdal/lib/krb5/rd_cred.c if(creds->ticket.length != len) creds 276 source4/heimdal/lib/krb5/rd_cred.c copy_EncryptionKey (&kci->key, &creds->session); creds 279 source4/heimdal/lib/krb5/rd_cred.c &creds->client, creds 283 source4/heimdal/lib/krb5/rd_cred.c creds->flags.b = *kci->flags; creds 285 source4/heimdal/lib/krb5/rd_cred.c creds->times.authtime = *kci->authtime; creds 287 source4/heimdal/lib/krb5/rd_cred.c creds->times.starttime = *kci->starttime; creds 289 source4/heimdal/lib/krb5/rd_cred.c creds->times.endtime = *kci->endtime; creds 291 source4/heimdal/lib/krb5/rd_cred.c creds->times.renew_till = *kci->renew_till; creds 294 source4/heimdal/lib/krb5/rd_cred.c &creds->server, creds 300 source4/heimdal/lib/krb5/rd_cred.c &creds->addresses); creds 302 source4/heimdal/lib/krb5/rd_cred.c (*ret_creds)[i] = creds; creds 331 source4/heimdal/lib/krb5/rd_cred.c krb5_creds **creds; creds 334 source4/heimdal/lib/krb5/rd_cred.c ret = krb5_rd_cred(context, auth_context, in_data, &creds, NULL); creds 340 source4/heimdal/lib/krb5/rd_cred.c for(i = 0; creds && creds[i]; i++) { creds 341 source4/heimdal/lib/krb5/rd_cred.c krb5_cc_store_cred(context, ccache, creds[i]); creds 342 source4/heimdal/lib/krb5/rd_cred.c krb5_free_creds(context, creds[i]); creds 344 source4/heimdal/lib/krb5/rd_cred.c free(creds); creds 75 source4/heimdal/lib/krb5/rd_error.c const krb5_creds *creds) creds 85 source4/heimdal/lib/krb5/rd_error.c if (creds != NULL) { creds 86 source4/heimdal/lib/krb5/rd_error.c krb5_unparse_name_fixed(context, creds->client, creds 88 source4/heimdal/lib/krb5/rd_error.c krb5_unparse_name_fixed(context, creds->server, creds 96 source4/heimdal/lib/krb5/rd_error.c creds ? "(" : "", creds 97 source4/heimdal/lib/krb5/rd_error.c creds ? clientname : "", creds 98 source4/heimdal/lib/krb5/rd_error.c creds ? ")" : ""); creds 103 source4/heimdal/lib/krb5/rd_error.c creds ? "(" : "", creds 104 source4/heimdal/lib/krb5/rd_error.c creds ? servername : "", creds 105 source4/heimdal/lib/krb5/rd_error.c creds ? ")" : ""); creds 110 source4/heimdal/lib/krb5/rd_error.c creds ? "(" : "", creds 111 source4/heimdal/lib/krb5/rd_error.c creds ? clientname : "", creds 112 source4/heimdal/lib/krb5/rd_error.c creds ? ")" : ""); creds 117 source4/heimdal/lib/krb5/rd_error.c creds ? "(" : "", creds 118 source4/heimdal/lib/krb5/rd_error.c creds ? servername : "", creds 119 source4/heimdal/lib/krb5/rd_error.c creds ? ")" : ""); creds 779 source4/heimdal/lib/krb5/store.c krb5_store_creds(krb5_storage *sp, krb5_creds *creds) creds 783 source4/heimdal/lib/krb5/store.c ret = krb5_store_principal(sp, creds->client); creds 786 source4/heimdal/lib/krb5/store.c ret = krb5_store_principal(sp, creds->server); creds 789 source4/heimdal/lib/krb5/store.c ret = krb5_store_keyblock(sp, creds->session); creds 792 source4/heimdal/lib/krb5/store.c ret = krb5_store_times(sp, creds->times); creds 795 source4/heimdal/lib/krb5/store.c ret = krb5_store_int8(sp, creds->second_ticket.length != 0); /* is_skey */ creds 800 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, creds->flags.i); creds 802 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, bitswap32(TicketFlags2int(creds->flags.b))); creds 806 source4/heimdal/lib/krb5/store.c ret = krb5_store_addrs(sp, creds->addresses); creds 809 source4/heimdal/lib/krb5/store.c ret = krb5_store_authdata(sp, creds->authdata); creds 812 source4/heimdal/lib/krb5/store.c ret = krb5_store_data(sp, creds->ticket); creds 815 source4/heimdal/lib/krb5/store.c ret = krb5_store_data(sp, creds->second_ticket); creds 820 source4/heimdal/lib/krb5/store.c krb5_ret_creds(krb5_storage *sp, krb5_creds *creds) creds 826 source4/heimdal/lib/krb5/store.c memset(creds, 0, sizeof(*creds)); creds 827 source4/heimdal/lib/krb5/store.c ret = krb5_ret_principal (sp, &creds->client); creds 829 source4/heimdal/lib/krb5/store.c ret = krb5_ret_principal (sp, &creds->server); creds 831 source4/heimdal/lib/krb5/store.c ret = krb5_ret_keyblock (sp, &creds->session); creds 833 source4/heimdal/lib/krb5/store.c ret = krb5_ret_times (sp, &creds->times); creds 848 source4/heimdal/lib/krb5/store.c creds->flags.i = 0; creds 849 source4/heimdal/lib/krb5/store.c creds->flags.b.anonymous = 1; creds 850 source4/heimdal/lib/krb5/store.c if (creds->flags.i & mask) creds 855 source4/heimdal/lib/krb5/store.c creds->flags.i = dummy32; creds 856 source4/heimdal/lib/krb5/store.c ret = krb5_ret_addrs (sp, &creds->addresses); creds 858 source4/heimdal/lib/krb5/store.c ret = krb5_ret_authdata (sp, &creds->authdata); creds 860 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data (sp, &creds->ticket); creds 862 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data (sp, &creds->second_ticket); creds 866 source4/heimdal/lib/krb5/store.c krb5_free_cred_contents(context, creds); /* XXX */ creds 885 source4/heimdal/lib/krb5/store.c krb5_store_creds_tag(krb5_storage *sp, krb5_creds *creds) creds 890 source4/heimdal/lib/krb5/store.c if (creds->client) creds 892 source4/heimdal/lib/krb5/store.c if (creds->server) creds 894 source4/heimdal/lib/krb5/store.c if (creds->session.keytype != ETYPE_NULL) creds 896 source4/heimdal/lib/krb5/store.c if (creds->ticket.data) creds 898 source4/heimdal/lib/krb5/store.c if (creds->second_ticket.length) creds 900 source4/heimdal/lib/krb5/store.c if (creds->authdata.len) creds 902 source4/heimdal/lib/krb5/store.c if (creds->addresses.len) creds 907 source4/heimdal/lib/krb5/store.c if (creds->client) { creds 908 source4/heimdal/lib/krb5/store.c ret = krb5_store_principal(sp, creds->client); creds 913 source4/heimdal/lib/krb5/store.c if (creds->server) { creds 914 source4/heimdal/lib/krb5/store.c ret = krb5_store_principal(sp, creds->server); creds 919 source4/heimdal/lib/krb5/store.c if (creds->session.keytype != ETYPE_NULL) { creds 920 source4/heimdal/lib/krb5/store.c ret = krb5_store_keyblock(sp, creds->session); creds 925 source4/heimdal/lib/krb5/store.c ret = krb5_store_times(sp, creds->times); creds 928 source4/heimdal/lib/krb5/store.c ret = krb5_store_int8(sp, creds->second_ticket.length != 0); /* is_skey */ creds 932 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, bitswap32(TicketFlags2int(creds->flags.b))); creds 936 source4/heimdal/lib/krb5/store.c if (creds->addresses.len) { creds 937 source4/heimdal/lib/krb5/store.c ret = krb5_store_addrs(sp, creds->addresses); creds 942 source4/heimdal/lib/krb5/store.c if (creds->authdata.len) { creds 943 source4/heimdal/lib/krb5/store.c ret = krb5_store_authdata(sp, creds->authdata); creds 948 source4/heimdal/lib/krb5/store.c if (creds->ticket.data) { creds 949 source4/heimdal/lib/krb5/store.c ret = krb5_store_data(sp, creds->ticket); creds 954 source4/heimdal/lib/krb5/store.c if (creds->second_ticket.data) { creds 955 source4/heimdal/lib/krb5/store.c ret = krb5_store_data(sp, creds->second_ticket); creds 965 source4/heimdal/lib/krb5/store.c krb5_creds *creds) creds 971 source4/heimdal/lib/krb5/store.c memset(creds, 0, sizeof(*creds)); creds 977 source4/heimdal/lib/krb5/store.c ret = krb5_ret_principal (sp, &creds->client); creds 981 source4/heimdal/lib/krb5/store.c ret = krb5_ret_principal (sp, &creds->server); creds 985 source4/heimdal/lib/krb5/store.c ret = krb5_ret_keyblock (sp, &creds->session); creds 988 source4/heimdal/lib/krb5/store.c ret = krb5_ret_times (sp, &creds->times); creds 1003 source4/heimdal/lib/krb5/store.c creds->flags.i = 0; creds 1004 source4/heimdal/lib/krb5/store.c creds->flags.b.anonymous = 1; creds 1005 source4/heimdal/lib/krb5/store.c if (creds->flags.i & mask) creds 1010 source4/heimdal/lib/krb5/store.c creds->flags.i = dummy32; creds 1012 source4/heimdal/lib/krb5/store.c ret = krb5_ret_addrs (sp, &creds->addresses); creds 1016 source4/heimdal/lib/krb5/store.c ret = krb5_ret_authdata (sp, &creds->authdata); creds 1020 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data (sp, &creds->ticket); creds 1024 source4/heimdal/lib/krb5/store.c ret = krb5_ret_data (sp, &creds->second_ticket); creds 1031 source4/heimdal/lib/krb5/store.c krb5_free_cred_contents(context, creds); /* XXX */ creds 54 source4/ldap_server/ldap_bind.c req->creds.password, creds 161 source4/ldap_server/ldap_bind.c status = gensec_start_mech_by_sasl_name(conn->gensec, req->creds.SASL.mechanism); creds 165 source4/ldap_server/ldap_bind.c req->creds.SASL.mechanism, nt_errstr(status))); creds 168 source4/ldap_server/ldap_bind.c req->creds.SASL.mechanism, nt_errstr(status)); creds 177 source4/ldap_server/ldap_bind.c if (req->creds.SASL.secblob) { creds 178 source4/ldap_server/ldap_bind.c input = *req->creds.SASL.secblob; creds 222 source4/ldap_server/ldap_bind.c req->creds.SASL.mechanism, nt_errstr(status)); creds 236 source4/ldap_server/ldap_bind.c req->creds.SASL.mechanism, nt_errstr(status)); creds 250 source4/ldap_server/ldap_bind.c req->creds.SASL.mechanism, creds 259 source4/ldap_server/ldap_bind.c errstr = talloc_asprintf(reply, "SASL:[%s]: %s", req->creds.SASL.mechanism, nt_errstr(status)); creds 762 source4/lib/ldb/ldb_ildap/ldb_ildap.c struct cli_credentials *creds; creds 799 source4/lib/ldb/ldb_ildap/ldb_ildap.c creds = talloc_get_type(ldb_get_opaque(ldb, "credentials"), struct cli_credentials); creds 800 source4/lib/ldb/ldb_ildap/ldb_ildap.c if (creds == NULL) { creds 803 source4/lib/ldb/ldb_ildap/ldb_ildap.c creds = session_info->credentials; creds 807 source4/lib/ldb/ldb_ildap/ldb_ildap.c if (creds != NULL && cli_credentials_authentication_requested(creds)) { creds 808 source4/lib/ldb/ldb_ildap/ldb_ildap.c const char *bind_dn = cli_credentials_get_bind_dn(creds); creds 810 source4/lib/ldb/ldb_ildap/ldb_ildap.c const char *password = cli_credentials_get_password(creds); creds 818 source4/lib/ldb/ldb_ildap/ldb_ildap.c status = ldap_bind_sasl(ildb->ldap, creds, lp_ctx); creds 32 source4/lib/registry/samba.c struct cli_credentials *creds, creds 44 source4/lib/registry/samba.c error = reg_open_hive(ctx, location, auth_info, creds, event_ctx, lp_ctx, &hive); creds 48 source4/lib/registry/samba.c creds, event_ctx, lp_ctx, &hive); creds 29 source4/lib/registry/tools/common.c struct cli_credentials *creds) creds 34 source4/lib/registry/tools/common.c error = reg_open_remote(&h, NULL, creds, lp_ctx, remote, ev_ctx); creds 48 source4/lib/registry/tools/common.c struct cli_credentials *creds) creds 54 source4/lib/registry/tools/common.c error = reg_open_hive(ev_ctx, path, NULL, creds, ev_ctx, lp_ctx, &hive_root); creds 72 source4/lib/registry/tools/common.c struct registry_context *reg_common_open_local(struct cli_credentials *creds, creds 79 source4/lib/registry/tools/common.c error = reg_open_samba(NULL, &h, ev_ctx, lp_ctx, NULL, creds); creds 34 source4/libcli/auth/credentials.c static void creds_init_64bit(struct creds_CredentialState *creds, creds 48 source4/libcli/auth/credentials.c ZERO_STRUCT(creds->session_key); creds 50 source4/libcli/auth/credentials.c des_crypt128(creds->session_key, sum2, machine_password->hash); creds 52 source4/libcli/auth/credentials.c des_crypt112(creds->client.data, client_challenge->data, creds->session_key, 1); creds 53 source4/libcli/auth/credentials.c des_crypt112(creds->server.data, server_challenge->data, creds->session_key, 1); creds 55 source4/libcli/auth/credentials.c creds->seed = creds->client; creds 63 source4/libcli/auth/credentials.c static void creds_init_128bit(struct creds_CredentialState *creds, creds 72 source4/libcli/auth/credentials.c ZERO_STRUCT(creds->session_key); creds 83 source4/libcli/auth/credentials.c hmac_md5_final(creds->session_key, &ctx); creds 85 source4/libcli/auth/credentials.c creds->client = *client_challenge; creds 86 source4/libcli/auth/credentials.c creds->server = *server_challenge; creds 88 source4/libcli/auth/credentials.c des_crypt112(creds->client.data, client_challenge->data, creds->session_key, 1); creds 89 source4/libcli/auth/credentials.c des_crypt112(creds->server.data, server_challenge->data, creds->session_key, 1); creds 91 source4/libcli/auth/credentials.c creds->seed = creds->client; creds 99 source4/libcli/auth/credentials.c static void creds_step(struct creds_CredentialState *creds) creds 104 source4/libcli/auth/credentials.c IVAL(creds->seed.data, 0), IVAL(creds->seed.data, 4))); creds 106 source4/libcli/auth/credentials.c SIVAL(time_cred.data, 0, IVAL(creds->seed.data, 0) + creds->sequence); creds 107 source4/libcli/auth/credentials.c SIVAL(time_cred.data, 4, IVAL(creds->seed.data, 4)); creds 111 source4/libcli/auth/credentials.c des_crypt112(creds->client.data, time_cred.data, creds->session_key, 1); creds 114 source4/libcli/auth/credentials.c IVAL(creds->client.data, 0), IVAL(creds->client.data, 4))); creds 116 source4/libcli/auth/credentials.c SIVAL(time_cred.data, 0, IVAL(creds->seed.data, 0) + creds->sequence + 1); creds 117 source4/libcli/auth/credentials.c SIVAL(time_cred.data, 4, IVAL(creds->seed.data, 4)); creds 122 source4/libcli/auth/credentials.c des_crypt112(creds->server.data, time_cred.data, creds->session_key, 1); creds 125 source4/libcli/auth/credentials.c IVAL(creds->server.data, 0), IVAL(creds->server.data, 4))); creds 127 source4/libcli/auth/credentials.c creds->seed = time_cred; creds 134 source4/libcli/auth/credentials.c void creds_des_encrypt_LMKey(struct creds_CredentialState *creds, struct netr_LMSessionKey *key) creds 137 source4/libcli/auth/credentials.c des_crypt56(tmp.key, key->key, creds->session_key, 1); creds 144 source4/libcli/auth/credentials.c void creds_des_decrypt_LMKey(struct creds_CredentialState *creds, struct netr_LMSessionKey *key) creds 147 source4/libcli/auth/credentials.c des_crypt56(tmp.key, key->key, creds->session_key, 0); creds 154 source4/libcli/auth/credentials.c void creds_des_encrypt(struct creds_CredentialState *creds, struct samr_Password *pass) creds 157 source4/libcli/auth/credentials.c des_crypt112_16(tmp.hash, pass->hash, creds->session_key, 1); creds 164 source4/libcli/auth/credentials.c void creds_des_decrypt(struct creds_CredentialState *creds, struct samr_Password *pass) creds 167 source4/libcli/auth/credentials.c des_crypt112_16(tmp.hash, pass->hash, creds->session_key, 0); creds 174 source4/libcli/auth/credentials.c void creds_arcfour_crypt(struct creds_CredentialState *creds, uint8_t *data, size_t len) creds 176 source4/libcli/auth/credentials.c DATA_BLOB session_key = data_blob(creds->session_key, 16); creds 192 source4/libcli/auth/credentials.c void creds_client_init(struct creds_CredentialState *creds, creds 199 source4/libcli/auth/credentials.c creds->sequence = time(NULL); creds 200 source4/libcli/auth/credentials.c creds->negotiate_flags = negotiate_flags; creds 207 source4/libcli/auth/credentials.c creds_init_128bit(creds, client_challenge, server_challenge, machine_password); creds 209 source4/libcli/auth/credentials.c creds_init_64bit(creds, client_challenge, server_challenge, machine_password); creds 212 source4/libcli/auth/credentials.c dump_data_pw("Session key", creds->session_key, 16); creds 213 source4/libcli/auth/credentials.c dump_data_pw("Credential ", creds->client.data, 8); creds 215 source4/libcli/auth/credentials.c *initial_credential = creds->client; creds 225 source4/libcli/auth/credentials.c void creds_client_authenticator(struct creds_CredentialState *creds, creds 228 source4/libcli/auth/credentials.c creds->sequence += 2; creds 229 source4/libcli/auth/credentials.c creds_step(creds); creds 231 source4/libcli/auth/credentials.c next->cred = creds->client; creds 232 source4/libcli/auth/credentials.c next->timestamp = creds->sequence; creds 238 source4/libcli/auth/credentials.c bool creds_client_check(struct creds_CredentialState *creds, creds 242 source4/libcli/auth/credentials.c memcmp(received_credentials->data, creds->server.data, 8) != 0) { creds 259 source4/libcli/auth/credentials.c void creds_server_init(struct creds_CredentialState *creds, creds 267 source4/libcli/auth/credentials.c creds_init_128bit(creds, client_challenge, server_challenge, creds 270 source4/libcli/auth/credentials.c creds_init_64bit(creds, client_challenge, server_challenge, creds 274 source4/libcli/auth/credentials.c *initial_credential = creds->server; creds 275 source4/libcli/auth/credentials.c creds->negotiate_flags = negotiate_flags; creds 281 source4/libcli/auth/credentials.c bool creds_server_check(const struct creds_CredentialState *creds, creds 284 source4/libcli/auth/credentials.c if (memcmp(received_credentials->data, creds->client.data, 8) != 0) { creds 286 source4/libcli/auth/credentials.c dump_data_pw("client creds", creds->client.data, 8); creds 293 source4/libcli/auth/credentials.c NTSTATUS creds_server_step_check(struct creds_CredentialState *creds, creds 301 source4/libcli/auth/credentials.c if (!creds) { creds 307 source4/libcli/auth/credentials.c creds->sequence = received_authenticator->timestamp; creds 308 source4/libcli/auth/credentials.c creds_step(creds); creds 309 source4/libcli/auth/credentials.c if (creds_server_check(creds, &received_authenticator->cred)) { creds 310 source4/libcli/auth/credentials.c return_authenticator->cred = creds->server; creds 311 source4/libcli/auth/credentials.c return_authenticator->timestamp = creds->sequence; creds 319 source4/libcli/auth/credentials.c void creds_decrypt_samlogon(struct creds_CredentialState *creds, creds 354 source4/libcli/auth/credentials.c } else if (creds->negotiate_flags & NETLOGON_NEG_ARCFOUR) { creds 357 source4/libcli/auth/credentials.c creds_arcfour_crypt(creds, creds 364 source4/libcli/auth/credentials.c creds_arcfour_crypt(creds, creds 371 source4/libcli/auth/credentials.c creds_des_decrypt_LMKey(creds, creds 42 source4/libcli/ldap/ldap_bind.c struct ldap_simple_creds *creds; creds 46 source4/libcli/ldap/ldap_bind.c status = ldap_bind_sasl(conn, (struct cli_credentials *)conn->bind.creds, creds 51 source4/libcli/ldap/ldap_bind.c creds = (struct ldap_simple_creds *)conn->bind.creds; creds 53 source4/libcli/ldap/ldap_bind.c if (creds == NULL) { creds 57 source4/libcli/ldap/ldap_bind.c status = ldap_bind_simple(conn, creds->dn, creds->pw); creds 82 source4/libcli/ldap/ldap_bind.c res->r.BindRequest.creds.password = talloc_strdup(res, pw); creds 151 source4/libcli/ldap/ldap_bind.c struct ldap_simple_creds *creds = talloc(conn, struct ldap_simple_creds); creds 152 source4/libcli/ldap/ldap_bind.c if (creds == NULL) { creds 155 source4/libcli/ldap/ldap_bind.c creds->dn = talloc_strdup(creds, dn); creds 156 source4/libcli/ldap/ldap_bind.c creds->pw = talloc_strdup(creds, pw); creds 157 source4/libcli/ldap/ldap_bind.c if (creds->dn == NULL || creds->pw == NULL) { creds 161 source4/libcli/ldap/ldap_bind.c conn->bind.creds = creds; creds 183 source4/libcli/ldap/ldap_bind.c res->r.BindRequest.creds.SASL.mechanism = talloc_strdup(res, sasl_mechanism); creds 185 source4/libcli/ldap/ldap_bind.c res->r.BindRequest.creds.SASL.secblob = talloc(res, DATA_BLOB); creds 186 source4/libcli/ldap/ldap_bind.c if (!res->r.BindRequest.creds.SASL.secblob) { creds 190 source4/libcli/ldap/ldap_bind.c *res->r.BindRequest.creds.SASL.secblob = *secblob; creds 192 source4/libcli/ldap/ldap_bind.c res->r.BindRequest.creds.SASL.secblob = NULL; creds 204 source4/libcli/ldap/ldap_bind.c struct cli_credentials *creds, creds 236 source4/libcli/ldap/ldap_bind.c old_gensec_features = cli_credentials_get_gensec_features(creds); creds 238 source4/libcli/ldap/ldap_bind.c cli_credentials_set_gensec_features(creds, old_gensec_features & ~(GENSEC_FEATURE_SIGN|GENSEC_FEATURE_SEAL)); creds 242 source4/libcli/ldap/ldap_bind.c status = gensec_set_credentials(conn->gensec, creds); creds 251 source4/libcli/ldap/ldap_bind.c cli_credentials_set_gensec_features(creds, old_gensec_features); creds 403 source4/libcli/ldap/ldap_bind.c conn->bind.creds = creds; creds 72 source4/libcli/ldap/ldap_client.h void *creds; creds 110 source4/libcli/ldap/ldap_client.h struct cli_credentials *creds, creds 40 source4/libnet/libnet_samsync.c struct creds_CredentialState *creds, creds 71 source4/libnet/libnet_samsync.c creds_arcfour_crypt(creds, data.data, data.length); creds 111 source4/libnet/libnet_samsync.c struct creds_CredentialState *creds, creds 117 source4/libnet/libnet_samsync.c creds_arcfour_crypt(creds, secret->current_cipher.cipher_data, creds 120 source4/libnet/libnet_samsync.c creds_arcfour_crypt(creds, secret->old_cipher.cipher_data, creds 132 source4/libnet/libnet_samsync.c struct creds_CredentialState *creds, creds 144 source4/libnet/libnet_samsync.c creds, creds 154 source4/libnet/libnet_samsync.c creds, creds 170 source4/libnet/libnet_samsync.c struct creds_CredentialState *creds; creds 317 source4/libnet/libnet_samsync.c nt_status = dcerpc_schannel_creds(p->conn->security_state.generic_state, samsync_ctx, &creds); creds 346 source4/libnet/libnet_samsync.c creds_client_authenticator(creds, &credential); creds 358 source4/libnet/libnet_samsync.c if (!creds_client_check(creds, &dbsync.out.return_authenticator->cred)) { creds 373 source4/libnet/libnet_samsync.c creds, creds 191 source4/librpc/rpc/dcerpc.h struct cli_credentials *creds; creds 135 source4/librpc/rpc/dcerpc_connect.c s->conn.in.credentials = s->io.creds; creds 242 source4/librpc/rpc/dcerpc_connect.c s->io.creds = cli_credentials_init(mem_ctx); creds 243 source4/librpc/rpc/dcerpc_connect.c if (composite_nomem(s->io.creds, c)) return c; creds 245 source4/librpc/rpc/dcerpc_connect.c cli_credentials_guess(s->io.creds, lp_ctx); creds 255 source4/librpc/rpc/dcerpc_connect.c s->io.creds, creds 542 source4/librpc/rpc/dcerpc_connect.c pc.creds = s->credentials; creds 39 source4/librpc/rpc/dcerpc_schannel.c struct creds_CredentialState *creds; creds 170 source4/librpc/rpc/dcerpc_schannel.c creds_client_init(s->creds, &s->credentials1, &s->credentials2, creds 211 source4/librpc/rpc/dcerpc_schannel.c if (!creds_client_check(s->creds, s->a.out.return_credentials)) { creds 217 source4/librpc/rpc/dcerpc_schannel.c cli_credentials_set_netlogon_creds(s->credentials, s->creds); creds 249 source4/librpc/rpc/dcerpc_schannel.c s->creds = talloc(c, struct creds_CredentialState); creds 250 source4/librpc/rpc/dcerpc_schannel.c if (composite_nomem(s->creds, c)) return c; creds 82 source4/rpc_server/netlogon/dcerpc_netlogon.c struct creds_CredentialState *creds; creds 241 source4/rpc_server/netlogon/dcerpc_netlogon.c creds = talloc(mem_ctx, struct creds_CredentialState); creds 242 source4/rpc_server/netlogon/dcerpc_netlogon.c NT_STATUS_HAVE_NO_MEMORY(creds); creds 244 source4/rpc_server/netlogon/dcerpc_netlogon.c creds_server_init(creds, &pipe_state->client_challenge, creds 249 source4/rpc_server/netlogon/dcerpc_netlogon.c if (!creds_server_check(creds, r->in.credentials)) { creds 250 source4/rpc_server/netlogon/dcerpc_netlogon.c talloc_free(creds); creds 254 source4/rpc_server/netlogon/dcerpc_netlogon.c creds->account_name = talloc_steal(creds, r->in.account_name); creds 256 source4/rpc_server/netlogon/dcerpc_netlogon.c creds->computer_name = talloc_steal(creds, r->in.computer_name); creds 257 source4/rpc_server/netlogon/dcerpc_netlogon.c creds->domain = talloc_strdup(creds, lp_workgroup(dce_call->conn->dce_ctx->lp_ctx)); creds 259 source4/rpc_server/netlogon/dcerpc_netlogon.c creds->secure_channel_type = r->in.secure_channel_type; creds 261 source4/rpc_server/netlogon/dcerpc_netlogon.c creds->sid = samdb_result_dom_sid(creds, msgs[0], "objectSid"); creds 265 source4/rpc_server/netlogon/dcerpc_netlogon.c nt_status = schannel_store_session_key(mem_ctx, dce_call->event_ctx, dce_call->conn->dce_ctx->lp_ctx, creds); creds 334 source4/rpc_server/netlogon/dcerpc_netlogon.c struct creds_CredentialState *creds; creds 356 source4/rpc_server/netlogon/dcerpc_netlogon.c &creds); creds 358 source4/rpc_server/netlogon/dcerpc_netlogon.c nt_status = creds_server_step_check(creds, creds 363 source4/rpc_server/netlogon/dcerpc_netlogon.c nt_status = schannel_store_session_key_ldb(ldb, ldb, creds); creds 369 source4/rpc_server/netlogon/dcerpc_netlogon.c *creds_out = creds; creds 370 source4/rpc_server/netlogon/dcerpc_netlogon.c talloc_steal(mem_ctx, creds); creds 387 source4/rpc_server/netlogon/dcerpc_netlogon.c struct creds_CredentialState *creds; creds 394 source4/rpc_server/netlogon/dcerpc_netlogon.c &creds); creds 402 source4/rpc_server/netlogon/dcerpc_netlogon.c creds_des_decrypt(creds, r->in.new_password); creds 406 source4/rpc_server/netlogon/dcerpc_netlogon.c creds->sid, creds 421 source4/rpc_server/netlogon/dcerpc_netlogon.c struct creds_CredentialState *creds; creds 431 source4/rpc_server/netlogon/dcerpc_netlogon.c &creds); creds 441 source4/rpc_server/netlogon/dcerpc_netlogon.c creds_arcfour_crypt(creds, password_buf.data, 516); creds 450 source4/rpc_server/netlogon/dcerpc_netlogon.c creds->sid, creds 487 source4/rpc_server/netlogon/dcerpc_netlogon.c struct netr_LogonSamLogonEx *r, struct creds_CredentialState *creds) creds 511 source4/rpc_server/netlogon/dcerpc_netlogon.c if (creds->negotiate_flags & NETLOGON_NEG_ARCFOUR) { creds 512 source4/rpc_server/netlogon/dcerpc_netlogon.c creds_arcfour_crypt(creds, creds 515 source4/rpc_server/netlogon/dcerpc_netlogon.c creds_arcfour_crypt(creds, creds 519 source4/rpc_server/netlogon/dcerpc_netlogon.c creds_des_decrypt(creds, &r->in.logon->password->lmpassword); creds 520 source4/rpc_server/netlogon/dcerpc_netlogon.c creds_des_decrypt(creds, &r->in.logon->password->ntpassword); creds 574 source4/rpc_server/netlogon/dcerpc_netlogon.c if (creds->negotiate_flags & NETLOGON_NEG_ARCFOUR) { creds 575 source4/rpc_server/netlogon/dcerpc_netlogon.c creds_arcfour_crypt(creds, creds 633 source4/rpc_server/netlogon/dcerpc_netlogon.c if (creds->negotiate_flags & NETLOGON_NEG_ARCFOUR) { creds 634 source4/rpc_server/netlogon/dcerpc_netlogon.c creds_arcfour_crypt(creds, creds 644 source4/rpc_server/netlogon/dcerpc_netlogon.c if (creds->negotiate_flags & NETLOGON_NEG_ARCFOUR) { creds 645 source4/rpc_server/netlogon/dcerpc_netlogon.c creds_arcfour_crypt(creds, creds 649 source4/rpc_server/netlogon/dcerpc_netlogon.c creds_des_encrypt_LMKey(creds, creds 696 source4/rpc_server/netlogon/dcerpc_netlogon.c struct creds_CredentialState *creds; creds 697 source4/rpc_server/netlogon/dcerpc_netlogon.c nt_status = schannel_fetch_session_key(mem_ctx, dce_call->event_ctx, dce_call->conn->dce_ctx->lp_ctx, r->in.computer_name, lp_workgroup(dce_call->conn->dce_ctx->lp_ctx), &creds); creds 706 source4/rpc_server/netlogon/dcerpc_netlogon.c return dcesrv_netr_LogonSamLogon_base(dce_call, mem_ctx, r, creds); creds 717 source4/rpc_server/netlogon/dcerpc_netlogon.c struct creds_CredentialState *creds; creds 728 source4/rpc_server/netlogon/dcerpc_netlogon.c &creds); creds 743 source4/rpc_server/netlogon/dcerpc_netlogon.c nt_status = dcesrv_netr_LogonSamLogon_base(dce_call, mem_ctx, &r2, creds); creds 1170 source4/rpc_server/spoolss/dcesrv_spoolss.c struct cli_credentials *creds; creds 1189 source4/rpc_server/spoolss/dcesrv_spoolss.c creds = cli_credentials_init_anon(mem_ctx); /* FIXME: Use machine credentials instead ? */ creds 1192 source4/rpc_server/spoolss/dcesrv_spoolss.c creds, dce_call->event_ctx, creds 80 source4/scripting/python/pyglue.c struct cli_credentials *creds; creds 87 source4/scripting/python/pyglue.c creds = cli_credentials_from_py_object(py_creds); creds 88 source4/scripting/python/pyglue.c if (creds == NULL) { creds 93 source4/scripting/python/pyglue.c ldb_set_opaque(ldb, "credentials", creds); creds 46 source4/torture/ldap/basic.c struct ldap_connection *conn, struct cli_credentials *creds) creds 53 source4/torture/ldap/basic.c status = torture_ldap_bind_sasl(conn, creds, tctx->lp_ctx); creds 42 source4/torture/ldap/common.c struct cli_credentials *creds, creds 47 source4/torture/ldap/common.c status = ldap_bind_sasl(conn, creds, lp_ctx); creds 44 source4/torture/rpc/async_bind.c struct cli_credentials *creds; creds 70 source4/torture/rpc/async_bind.c creds = cmdline_credentials; creds 76 source4/torture/rpc/async_bind.c table[i], creds, torture->ev, torture->lp_ctx); creds 86 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 95 source4/torture/rpc/netlogon.c creds = talloc(tctx, struct creds_CredentialState); creds 96 source4/torture/rpc/netlogon.c torture_assert(tctx, creds != NULL, "memory allocation"); creds 115 source4/torture/rpc/netlogon.c creds_client_init(creds, &credentials1, &credentials2, creds 131 source4/torture/rpc/netlogon.c torture_assert(tctx, creds_client_check(creds, &credentials3), creds 134 source4/torture/rpc/netlogon.c *creds_out = creds; creds 148 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 157 source4/torture/rpc/netlogon.c creds = talloc(tctx, struct creds_CredentialState); creds 158 source4/torture/rpc/netlogon.c torture_assert(tctx, creds != NULL, "memory allocation"); creds 179 source4/torture/rpc/netlogon.c creds_client_init(creds, &credentials1, &credentials2, creds 188 source4/torture/rpc/netlogon.c torture_assert(tctx, creds_client_check(creds, &credentials3), creds 193 source4/torture/rpc/netlogon.c *creds_out = creds; creds 207 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 218 source4/torture/rpc/netlogon.c creds = talloc(tctx, struct creds_CredentialState); creds 219 source4/torture/rpc/netlogon.c torture_assert(tctx, creds != NULL, "memory allocation"); creds 243 source4/torture/rpc/netlogon.c creds_client_init(creds, &credentials1, &credentials2, creds 251 source4/torture/rpc/netlogon.c torture_assert(tctx, creds_client_check(creds, &credentials3), "Credential chaining failed"); creds 259 source4/torture/rpc/netlogon.c *creds_out = creds; creds 273 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 277 source4/torture/rpc/netlogon.c if (!test_SetupCredentials(p, tctx, machine_credentials, &creds)) { creds 292 source4/torture/rpc/netlogon.c creds_des_encrypt(creds, &new_password); creds 298 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 303 source4/torture/rpc/netlogon.c if (!creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 316 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 321 source4/torture/rpc/netlogon.c if (!creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 328 source4/torture/rpc/netlogon.c test_SetupCredentials(p, tctx, machine_credentials, &creds), creds 363 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 369 source4/torture/rpc/netlogon.c if (!test_SetupCredentials(p, tctx, machine_credentials, &creds)) { creds 383 source4/torture/rpc/netlogon.c creds_arcfour_crypt(creds, password_buf.data, 516); creds 391 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 396 source4/torture/rpc/netlogon.c if (!creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 413 source4/torture/rpc/netlogon.c creds_arcfour_crypt(creds, password_buf.data, 516); creds 423 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 428 source4/torture/rpc/netlogon.c if (!creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 435 source4/torture/rpc/netlogon.c torture_assert(tctx, test_SetupCredentials(p, tctx, machine_credentials, &creds), creds 441 source4/torture/rpc/netlogon.c creds_arcfour_crypt(creds, password_buf.data, 516); creds 449 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 454 source4/torture/rpc/netlogon.c if (!creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 467 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 472 source4/torture/rpc/netlogon.c if (!creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 479 source4/torture/rpc/netlogon.c test_SetupCredentials(p, tctx, machine_credentials, &creds), creds 487 source4/torture/rpc/netlogon.c creds_arcfour_crypt(creds, password_buf.data, 516); creds 495 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 500 source4/torture/rpc/netlogon.c if (!creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 510 source4/torture/rpc/netlogon.c test_SetupCredentials(p, tctx, machine_credentials, &creds), creds 521 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 527 source4/torture/rpc/netlogon.c if (!test_SetupCredentials(p, tctx, machine_credentials, &creds)) { creds 531 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 552 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 558 source4/torture/rpc/netlogon.c if (!test_SetupCredentials(p, tctx, machine_credentials, &creds)) { creds 562 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 584 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds) creds 650 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &auth); creds 657 source4/torture/rpc/netlogon.c torture_assert(tctx, creds_client_check(creds, &r.out.return_authenticator->cred), creds 685 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 687 source4/torture/rpc/netlogon.c if (!test_SetupCredentials(p, tctx, credentials, &creds)) { creds 691 source4/torture/rpc/netlogon.c return test_netlogon_ops(p, tctx, credentials, creds); creds 706 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 712 source4/torture/rpc/netlogon.c if (!test_SetupCredentials(p, tctx, machine_credentials, &creds)) { creds 736 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 750 source4/torture/rpc/netlogon.c if (!creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 780 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 787 source4/torture/rpc/netlogon.c if (!test_SetupCredentials(p, tctx, machine_credentials, &creds)) { creds 810 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 824 source4/torture/rpc/netlogon.c if (!creds_client_check(creds, &return_authenticator.cred)) { creds 841 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 1293 source4/torture/rpc/netlogon.c if (!test_SetupCredentials(p, tctx, machine_credentials, &creds)) { creds 1303 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 1355 source4/torture/rpc/netlogon.c if (!creds_client_check(creds, &return_authenticator.cred)) { creds 1357 source4/torture/rpc/netlogon.c if (!test_SetupCredentials(p, tctx, machine_credentials, &creds)) { creds 1377 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 1385 source4/torture/rpc/netlogon.c if (!test_SetupCredentials(p, tctx, machine_credentials, &creds)) { creds 1394 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &r.in.credential); creds 1420 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 1432 source4/torture/rpc/netlogon.c if (!test_SetupCredentials(p, tctx, machine_credentials, &creds)) { creds 1439 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &r.in.credential); creds 1625 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 1631 source4/torture/rpc/netlogon.c SEC_CHAN_BDC, &creds)) { creds 1656 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &credential); creds 1671 source4/torture/rpc/netlogon.c if (!creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 2075 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 2078 source4/torture/rpc/netlogon.c machine_credentials, &creds)) { creds 2082 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &a); creds 2097 source4/torture/rpc/netlogon.c torture_assert(tctx, creds_client_check(creds, &return_authenticator.cred), "Credential chaining failed"); creds 2111 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 2115 source4/torture/rpc/netlogon.c machine_credentials, &creds)) { creds 2121 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &a); creds 2146 source4/torture/rpc/netlogon.c torture_assert(tctx, creds_client_check(creds, &a.cred), "Credential chaining failed"); creds 2149 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &a); creds 2153 source4/torture/rpc/netlogon.c torture_assert(tctx, creds_client_check(creds, &a.cred), "Credential chaining failed"); creds 2176 source4/torture/rpc/netlogon.c struct creds_CredentialState *creds; creds 2184 source4/torture/rpc/netlogon.c machine_credentials, &creds)) { creds 2213 source4/torture/rpc/netlogon.c creds_client_authenticator(creds, &a); creds 2215 source4/torture/rpc/netlogon.c creds_async[i] = (struct creds_CredentialState *)talloc_memdup(creds, creds, sizeof(*creds)); creds 60 source4/torture/rpc/remote_pac.c struct creds_CredentialState *creds; creds 79 source4/torture/rpc/remote_pac.c &creds)) { creds 151 source4/torture/rpc/remote_pac.c torture_assert(tctx, (creds->negotiate_flags & NETLOGON_NEG_ARCFOUR), "not willing to even try a PACValidate without RC4 encryption"); creds 152 source4/torture/rpc/remote_pac.c creds_arcfour_crypt(creds, pac_wrapped.data, pac_wrapped.length); creds 171 source4/torture/rpc/remote_pac.c creds_client_authenticator(creds, &auth); creds 193 source4/torture/rpc/remote_pac.c creds_client_authenticator(creds, &auth); creds 206 source4/torture/rpc/remote_pac.c torture_assert(tctx, creds_client_check(creds, &r.out.return_authenticator->cred), creds 215 source4/torture/rpc/remote_pac.c creds_client_authenticator(creds, &auth); creds 228 source4/torture/rpc/remote_pac.c torture_assert(tctx, creds_client_check(creds, &r.out.return_authenticator->cred), creds 253 source4/torture/rpc/remote_pac.c torture_assert(tctx, (creds->negotiate_flags & NETLOGON_NEG_ARCFOUR), "not willing to even try a PACValidate without RC4 encryption"); creds 254 source4/torture/rpc/remote_pac.c creds_arcfour_crypt(creds, pac_wrapped.data, pac_wrapped.length); creds 262 source4/torture/rpc/remote_pac.c creds_client_authenticator(creds, &auth); creds 275 source4/torture/rpc/remote_pac.c torture_assert(tctx, creds_client_check(creds, &r.out.return_authenticator->cred), creds 300 source4/torture/rpc/remote_pac.c torture_assert(tctx, (creds->negotiate_flags & NETLOGON_NEG_ARCFOUR), "not willing to even try a PACValidate without RC4 encryption"); creds 301 source4/torture/rpc/remote_pac.c creds_arcfour_crypt(creds, pac_wrapped.data, pac_wrapped.length); creds 309 source4/torture/rpc/remote_pac.c creds_client_authenticator(creds, &auth); creds 322 source4/torture/rpc/remote_pac.c torture_assert(tctx, creds_client_check(creds, &r.out.return_authenticator->cred), creds 66 source4/torture/rpc/samlogon.c struct creds_CredentialState *creds; creds 156 source4/torture/rpc/samlogon.c creds_client_authenticator(samlogon_state->creds, &samlogon_state->auth); creds 161 source4/torture/rpc/samlogon.c !creds_client_check(samlogon_state->creds, &r->out.return_authenticator->cred)) { creds 173 source4/torture/rpc/samlogon.c creds_decrypt_samlogon(samlogon_state->creds, validation_level, r->out.validation); creds 198 source4/torture/rpc/samlogon.c creds_decrypt_samlogon(samlogon_state->creds, validation_level, r_ex->out.validation); creds 214 source4/torture/rpc/samlogon.c creds_client_authenticator(samlogon_state->creds, &samlogon_state->auth); creds 219 source4/torture/rpc/samlogon.c !creds_client_check(samlogon_state->creds, &r_flags->out.return_authenticator->cred)) { creds 231 source4/torture/rpc/samlogon.c creds_decrypt_samlogon(samlogon_state->creds, validation_level, r_flags->out.validation); creds 1317 source4/torture/rpc/samlogon.c struct creds_CredentialState *creds, creds 1351 source4/torture/rpc/samlogon.c samlogon_state.creds = creds; creds 1432 source4/torture/rpc/samlogon.c struct creds_CredentialState *creds, creds 1457 source4/torture/rpc/samlogon.c creds_client_authenticator(creds, &a); creds 1485 source4/torture/rpc/samlogon.c if (creds->negotiate_flags & NETLOGON_NEG_ARCFOUR) { creds 1486 source4/torture/rpc/samlogon.c creds_arcfour_crypt(creds, pinfo.lmpassword.hash, 16); creds 1487 source4/torture/rpc/samlogon.c creds_arcfour_crypt(creds, pinfo.ntpassword.hash, 16); creds 1489 source4/torture/rpc/samlogon.c creds_des_encrypt(creds, &pinfo.lmpassword); creds 1490 source4/torture/rpc/samlogon.c creds_des_encrypt(creds, &pinfo.ntpassword); creds 1497 source4/torture/rpc/samlogon.c || !creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 1543 source4/torture/rpc/samlogon.c struct creds_CredentialState *creds; creds 1648 source4/torture/rpc/samlogon.c status = dcerpc_schannel_creds(p->conn->security_state.generic_state, mem_ctx, &creds); creds 1822 source4/torture/rpc/samlogon.c if (!test_InteractiveLogon(p, mem_ctx, creds, creds 1834 source4/torture/rpc/samlogon.c if (!test_SamLogon(p, mem_ctx, torture, creds, creds 1855 source4/torture/rpc/samlogon.c if (!test_InteractiveLogon(p, mem_ctx, creds, creds 1867 source4/torture/rpc/samlogon.c if (!test_SamLogon(p, mem_ctx, torture, creds, creds 2679 source4/torture/rpc/samr.c struct creds_CredentialState *creds, creds 2747 source4/torture/rpc/samr.c creds_client_authenticator(creds, &auth); creds 2759 source4/torture/rpc/samr.c torture_assert(tctx, creds_client_check(creds, &r.out.return_authenticator->cred), creds 2771 source4/torture/rpc/samr.c struct creds_CredentialState *creds; creds 2773 source4/torture/rpc/samr.c if (!test_SetupCredentials(p, tctx, machine_credentials, &creds)) { creds 2778 source4/torture/rpc/samr.c creds, expected_result); creds 50 source4/torture/rpc/samsync.c struct creds_CredentialState *creds, creds 103 source4/torture/rpc/samsync.c creds_client_authenticator(creds, &auth); creds 109 source4/torture/rpc/samsync.c if (!creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 126 source4/torture/rpc/samsync.c struct creds_CredentialState *creds; creds 581 source4/torture/rpc/samsync.c creds_arcfour_crypt(samsync_state->creds, data.data, data.length); creds 846 source4/torture/rpc/samsync.c creds_arcfour_crypt(samsync_state->creds, secret->current_cipher.cipher_data, creds 849 source4/torture/rpc/samsync.c creds_arcfour_crypt(samsync_state->creds, secret->old_cipher.cipher_data, creds 1185 source4/torture/rpc/samsync.c creds_client_authenticator(samsync_state->creds, &credential); creds 1197 source4/torture/rpc/samsync.c if (!creds_client_check(samsync_state->creds, &r.out.return_authenticator->cred)) { creds 1398 source4/torture/rpc/samsync.c creds_client_authenticator(samsync_state->creds, &credential); creds 1408 source4/torture/rpc/samsync.c if (!creds_client_check(samsync_state->creds, &return_authenticator.cred)) { creds 1425 source4/torture/rpc/samsync.c struct creds_CredentialState *creds) creds 1458 source4/torture/rpc/samsync.c creds_client_authenticator(creds, &credential); creds 1469 source4/torture/rpc/samsync.c if (!creds_client_check(creds, &r.out.return_authenticator->cred)) { creds 1648 source4/torture/rpc/samsync.c samsync_state, &samsync_state->creds); creds 1702 source4/torture/rpc/samsync.c if (!test_DatabaseSync2(samsync_state->p, mem_ctx, samsync_state->creds)) { creds 46 source4/torture/rpc/schannel.c struct creds_CredentialState *creds) creds 268 source4/torture/rpc/schannel.c struct creds_CredentialState *creds; creds 310 source4/torture/rpc/schannel.c status = dcerpc_schannel_creds(p_netlogon->conn->security_state.generic_state, tctx, &creds); creds 314 source4/torture/rpc/schannel.c torture_assert(tctx, test_netlogon_ops(p_netlogon, tctx, credentials, creds), creds 317 source4/torture/rpc/schannel.c torture_assert(tctx, test_netlogon_ex_ops(p_netlogon, tctx, credentials, creds), creds 379 source4/torture/rpc/schannel.c torture_assert(tctx, test_netlogon_ex_ops(p_netlogon2, tctx, credentials, creds), creds 385 source4/torture/rpc/schannel.c torture_assert(tctx, test_netlogon_ops(p_netlogon2, tctx, credentials, creds), creds 398 source4/torture/rpc/schannel.c torture_assert(tctx, !test_netlogon_ex_ops(p_netlogon3, tctx, credentials, creds), creds 405 source4/torture/rpc/schannel.c torture_assert(tctx, test_netlogon_ops(p_netlogon3, tctx, credentials, creds), creds 216 source4/torture/rpc/wkssvc.c struct cli_credentials *creds = cmdline_credentials; creds 217 source4/torture/rpc/wkssvc.c const char *user = cli_credentials_get_username(creds); creds 1098 source4/torture/rpc/wkssvc.c struct cli_credentials *creds = cmdline_credentials; creds 1099 source4/torture/rpc/wkssvc.c const char *user = cli_credentials_get_username(creds); creds 1126 source4/torture/rpc/wkssvc.c struct cli_credentials *creds = cmdline_credentials; creds 1127 source4/torture/rpc/wkssvc.c const char *user = cli_credentials_get_username(creds); creds 72 source4/torture/unix/whoami.c struct cli_credentials *creds) creds 88 source4/torture/unix/whoami.c creds, lp_resolve_context(tctx->lp_ctx), creds 401 source4/utils/ntlm_auth.c struct cli_credentials *creds; creds 516 source4/utils/ntlm_auth.c creds = cli_credentials_init(state->gensec_state); creds 517 source4/utils/ntlm_auth.c cli_credentials_set_conf(creds, lp_ctx); creds 519 source4/utils/ntlm_auth.c cli_credentials_set_username(creds, opt_username, CRED_SPECIFIED); creds 522 source4/utils/ntlm_auth.c cli_credentials_set_domain(creds, opt_domain, CRED_SPECIFIED); creds 525 source4/utils/ntlm_auth.c cli_credentials_set_password(creds, state->set_password, CRED_SPECIFIED); creds 527 source4/utils/ntlm_auth.c cli_credentials_set_password_callback(creds, get_password); creds 528 source4/utils/ntlm_auth.c creds->priv_data = (void*)(uintptr_t)mux_id; creds 531 source4/utils/ntlm_auth.c cli_credentials_set_workstation(creds, opt_workstation, CRED_SPECIFIED); creds 537 source4/utils/ntlm_auth.c cli_credentials_set_machine_account(creds, lp_ctx); creds 543 source4/utils/ntlm_auth.c gensec_set_credentials(state->gensec_state, creds); creds 39 source4/winbind/wb_connect_lsa.c struct cli_credentials *creds; creds 143 source4/winbind/wb_samba3_cmd.c struct cli_credentials *creds; creds 149 source4/winbind/wb_samba3_cmd.c creds = cli_credentials_init(s3call); creds 150 source4/winbind/wb_samba3_cmd.c if (creds == NULL) { creds 154 source4/winbind/wb_samba3_cmd.c cli_credentials_set_conf(creds, service->task->lp_ctx); creds 157 source4/winbind/wb_samba3_cmd.c status = cli_credentials_set_machine_account(creds, service->task->lp_ctx); creds 159 source4/winbind/wb_samba3_cmd.c talloc_free(creds); creds 163 source4/winbind/wb_samba3_cmd.c ctx = wb_cmd_pam_auth_send(s3call, service, creds); creds 166 source4/winbind/wb_samba3_cmd.c talloc_free(creds);