diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/com/simple.c | 2 | ||||
-rw-r--r-- | source4/torture/gentest.c | 4 | ||||
-rw-r--r-- | source4/torture/locktest.c | 4 | ||||
-rw-r--r-- | source4/torture/masktest.c | 4 | ||||
-rw-r--r-- | source4/torture/torture.c | 3 |
5 files changed, 9 insertions, 8 deletions
diff --git a/source4/torture/com/simple.c b/source4/torture/com/simple.c index 09061422f5..5d3c6250c4 100644 --- a/source4/torture/com/simple.c +++ b/source4/torture/com/simple.c @@ -38,6 +38,8 @@ static BOOL test_readwrite(TALLOC_CTX *mem_ctx, const char *host) char test_data[5]; int i; + com_init(); + com_init_ctx(&ctx, NULL); dcom_client_init(ctx, cmdline_credentials); diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c index d466671252..a576b57458 100644 --- a/source4/torture/gentest.c +++ b/source4/torture/gentest.c @@ -24,7 +24,7 @@ #include "request.h" #include "libcli/raw/libcliraw.h" #include "librpc/gen_ndr/ndr_security.h" -#include "smb_build.h" +#include "auth/gensec/gensec.h" #define NSERVERS 2 #define NINSTANCES 2 @@ -2234,7 +2234,7 @@ static void usage(void) } } - gentest_init_subsystems; + gensec_init(); if (username_count == 0) { usage(); diff --git a/source4/torture/locktest.c b/source4/torture/locktest.c index a94a6f1ec9..be2d3022da 100644 --- a/source4/torture/locktest.c +++ b/source4/torture/locktest.c @@ -22,7 +22,7 @@ #include "system/filesys.h" #include "system/time.h" #include "pstring.h" -#include "smb_build.h" +#include "auth/gensec/gensec.h" static int numops = 1000; static BOOL showall; @@ -550,7 +550,7 @@ static void usage(void) servers[1] = servers[0]; } - locktest_init_subsystems; + gensec_init(); argc -= optind; argv += optind; diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c index 5e8f973c4c..ca5bdf7c21 100644 --- a/source4/torture/masktest.c +++ b/source4/torture/masktest.c @@ -24,7 +24,7 @@ #include "libcli/raw/libcliraw.h" #include "system/time.h" #include "pstring.h" -#include "smb_build.h" +#include "auth/gensec/gensec.h" static struct cli_credentials *credentials; static BOOL showall = False; @@ -353,7 +353,7 @@ static void usage(void) } } - masktest_init_subsystems; + gensec_init(); argc -= optind; argv += optind; diff --git a/source4/torture/torture.c b/source4/torture/torture.c index 149ee78065..82fda0d4ff 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -25,7 +25,6 @@ #include "system/wait.h" #include "system/filesys.h" #include "ioctl.h" -#include "smb_build.h" int torture_nprocs=4; int torture_numops=10; @@ -2609,7 +2608,7 @@ static void max_runtime_handler(int sig) alarm(max_runtime); } - smbtorture_init_subsystems; + dcerpc_init(); dcerpc_table_init(); |