Changeset 920 for trunk/server/source4/torture/rpc
- Timestamp:
- Jun 9, 2016, 2:23:12 PM (9 years ago)
- Location:
- trunk/server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 919
- Property svn:mergeinfo changed
-
trunk/server/source4/torture/rpc/rpc.c
r918 r920 502 502 torture_suite_add_suite(suite, torture_rpc_samr_passwords_badpwdcount(suite)); 503 503 torture_suite_add_suite(suite, torture_rpc_samr_passwords_lockout(suite)); 504 torture_suite_add_suite(suite, torture_rpc_samr_passwords_validate(suite)); 504 505 torture_suite_add_suite(suite, torture_rpc_samr_user_privileges(suite)); 505 506 torture_suite_add_suite(suite, torture_rpc_samr_large_dc(suite)); -
trunk/server/source4/torture/rpc/samba3rpc.c
r918 r920 1123 1123 names_blob = NTLMv2_generate_names_blob( 1124 1124 mem_ctx, 1125 cli_credentials_get_workstation( user_creds),1126 cli_credentials_get_domain( user_creds));1125 cli_credentials_get_workstation(wks_creds), 1126 cli_credentials_get_domain(wks_creds)); 1127 1127 status = cli_credentials_get_ntlm_response( 1128 1128 user_creds, mem_ctx, &flags, chal, names_blob, -
trunk/server/source4/torture/rpc/samr.c
r862 r920 7939 7939 7940 7940 7941 static bool test_samr_ValidatePassword(struct dcerpc_pipe *p,7942 struct torture_context *tctx)7941 static bool test_samr_ValidatePassword(struct torture_context *tctx, 7942 struct dcerpc_pipe *p) 7943 7943 { 7944 7944 struct samr_ValidatePassword r; … … 7952 7952 torture_comment(tctx, "Testing samr_ValidatePassword\n"); 7953 7953 7954 if (p->conn->transport.transport != NCACN_IP_TCP) { 7955 torture_comment(tctx, "samr_ValidatePassword only should succeed over NCACN_IP_TCP!\n"); 7956 } 7957 7954 7958 ZERO_STRUCT(r); 7955 7959 r.in.level = NetValidatePasswordReset; … … 8075 8079 ret &= test_samr_handle_Close(b, torture, &ctx->handle); 8076 8080 8077 ret &= test_samr_ValidatePassword(p, torture);8078 8079 8081 return ret; 8080 8082 } … … 8371 8373 } 8372 8374 8373 8375 struct torture_suite *torture_rpc_samr_passwords_validate(TALLOC_CTX *mem_ctx) 8376 { 8377 struct torture_suite *suite = torture_suite_create(mem_ctx, "samr.passwords.validate"); 8378 struct torture_rpc_tcase *tcase; 8379 8380 tcase = torture_suite_add_rpc_iface_tcase(suite, "samr", 8381 &ndr_table_samr); 8382 torture_rpc_tcase_add_test(tcase, "validate", 8383 test_samr_ValidatePassword); 8384 8385 return suite; 8386 }
Note:
See TracChangeset
for help on using the changeset viewer.