Changeset 920 for trunk/server/source4/torture/basic
- Timestamp:
- Jun 9, 2016, 2:23:12 PM (9 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 919
- Property svn:mergeinfo changed
-
trunk/server/source4/torture/basic/base.c
r918 r920 1477 1477 { 1478 1478 bool nt_status_support; 1479 bool client_ntlmv2_auth; 1479 1480 struct smbcli_state *cli_nt = NULL, *cli_dos = NULL; 1480 1481 bool result = false; … … 1486 1487 1487 1488 nt_status_support = lpcfg_nt_status_support(tctx->lp_ctx); 1489 client_ntlmv2_auth = lpcfg_client_ntlmv2_auth(tctx->lp_ctx); 1488 1490 1489 1491 if (!lpcfg_set_cmdline(tctx->lp_ctx, "nt status support", "yes")) { … … 1491 1493 goto fail; 1492 1494 } 1495 if (!lpcfg_set_cmdline(tctx->lp_ctx, "client ntlmv2 auth", "yes")) { 1496 torture_result(tctx, TORTURE_FAIL, "Could not set 'client ntlmv2 auth = yes'\n"); 1497 goto fail; 1498 } 1493 1499 1494 1500 if (!torture_open_connection(&cli_nt, tctx, 0)) { … … 1497 1503 1498 1504 if (!lpcfg_set_cmdline(tctx->lp_ctx, "nt status support", "no")) { 1499 torture_comment(tctx, "Could not set 'nt status support = yes'\n"); 1505 torture_result(tctx, TORTURE_FAIL, "Could not set 'nt status support = no'\n"); 1506 goto fail; 1507 } 1508 if (!lpcfg_set_cmdline(tctx->lp_ctx, "client ntlmv2 auth", "no")) { 1509 torture_result(tctx, TORTURE_FAIL, "Could not set 'client ntlmv2 auth = no'\n"); 1500 1510 goto fail; 1501 1511 } … … 1507 1517 if (!lpcfg_set_cmdline(tctx->lp_ctx, "nt status support", 1508 1518 nt_status_support ? "yes":"no")) { 1509 torture_comment(tctx, "Could not reset 'nt status support = yes'"); 1519 torture_result(tctx, TORTURE_FAIL, "Could not reset 'nt status support'"); 1520 goto fail; 1521 } 1522 if (!lpcfg_set_cmdline(tctx->lp_ctx, "client ntlmv2 auth", 1523 client_ntlmv2_auth ? "yes":"no")) { 1524 torture_result(tctx, TORTURE_FAIL, "Could not reset 'client ntlmv2 auth'"); 1510 1525 goto fail; 1511 1526 }
Note:
See TracChangeset
for help on using the changeset viewer.