Lines Matching refs:server_creds

149 				  struct cli_credentials *server_creds,
171 struct cli_credentials *server_creds; in test_PACVerify() local
203 server_creds = cli_credentials_shallow_copy(tmp_ctx, in test_PACVerify()
205 torture_assert(tctx, server_creds, "Failed to copy of credentials"); in test_PACVerify()
229 status = gensec_set_credentials(gensec_server_context, server_creds); in test_PACVerify()
320 ok = netlogon_validate_pac(tctx, p, server_creds, secure_channel_type, test_machine_name, in test_PACVerify()
330 struct cli_credentials *server_creds, in netlogon_validate_pac() argument
352 server_creds, secure_channel_type, in netlogon_validate_pac()
356 if (!test_SetupCredentialsPipe(p1, tctx, server_creds, creds, in netlogon_validate_pac()
409 r.in.computer_name = cli_credentials_get_workstation(server_creds); in netlogon_validate_pac()
432 r.in.computer_name = cli_credentials_get_workstation(server_creds); in netlogon_validate_pac()
455 r.in.computer_name = cli_credentials_get_workstation(server_creds); in netlogon_validate_pac()
508 r.in.computer_name = cli_credentials_get_workstation(server_creds); in netlogon_validate_pac()
560 r.in.computer_name = cli_credentials_get_workstation(server_creds); in netlogon_validate_pac()
675 struct cli_credentials *server_creds; in test_S4U2Self() local
707 server_creds = cli_credentials_shallow_copy(tmp_ctx, in test_S4U2Self()
709 torture_assert(tctx, server_creds, "Failed to copy of credentials"); in test_S4U2Self()
712 server_creds, secure_channel_type, in test_S4U2Self()
716 if (!test_SetupCredentialsPipe(p1, tctx, server_creds, creds, in test_S4U2Self()
746 status = gensec_set_credentials(gensec_server_context, server_creds); in test_S4U2Self()
781 cli_credentials_invalidate_ccache(server_creds, CRED_SPECIFIED); in test_S4U2Self()
782 cli_credentials_set_impersonate_principal(server_creds, in test_S4U2Self()
793 status = gensec_set_credentials(gensec_client_context, server_creds); in test_S4U2Self()
804 status = gensec_set_credentials(gensec_server_context, server_creds); in test_S4U2Self()
830 cli_credentials_invalidate_ccache(server_creds, CRED_SPECIFIED); in test_S4U2Self()
831 cli_credentials_set_target_service(server_creds, NULL); in test_S4U2Self()
832 cli_credentials_set_impersonate_principal(server_creds, NULL, NULL); in test_S4U2Self()
849 names_blob = NTLMv2_generate_names_blob(tctx, cli_credentials_get_workstation(server_creds), in test_S4U2Self()
850 cli_credentials_get_domain(server_creds)); in test_S4U2Self()
869 ninfo.identity_info.workstation.string = cli_credentials_get_workstation(server_creds); in test_S4U2Self()
874 r.in.computer_name = cli_credentials_get_workstation(server_creds); in test_S4U2Self()
984 struct cli_credentials *server_creds = NULL; in test_S4U2Proxy() local
1009 server_creds = cli_credentials_shallow_copy(tctx, credentials); in test_S4U2Proxy()
1010 torture_assert_not_null(tctx, server_creds, "Failed to copy of credentials"); in test_S4U2Proxy()
1013 cli_credentials_invalidate_ccache(server_creds, CRED_SPECIFIED); in test_S4U2Proxy()
1014 cli_credentials_set_impersonate_principal(server_creds, impersonate_princ, self_princ); in test_S4U2Proxy()
1018 cli_credentials_set_target_service(server_creds, target_princ); in test_S4U2Proxy()
1028 status = gensec_set_credentials(gensec_client_context, server_creds); in test_S4U2Proxy()
1039 status = gensec_set_credentials(gensec_server_context, server_creds); in test_S4U2Proxy()
1115 return netlogon_validate_pac(tctx, p, server_creds, secure_channel_type, test_machine_name, in test_S4U2Proxy()