summaryrefslogtreecommitdiff
path: root/source4/torture/smbtorture.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-02 23:58:49 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-02 23:58:49 +0100
commitb45caa44e1a563a3af42e39bd61ee4a2b74db14f (patch)
tree7192b08a17144b826a6b60bacf0317a7aabe5c1b /source4/torture/smbtorture.c
parent4147ad1e98f04627f9072784e69c72cd72ea206c (diff)
downloadsamba-b45caa44e1a563a3af42e39bd61ee4a2b74db14f.tar.gz
samba-b45caa44e1a563a3af42e39bd61ee4a2b74db14f.tar.bz2
samba-b45caa44e1a563a3af42e39bd61ee4a2b74db14f.zip
Fix the build.
Diffstat (limited to 'source4/torture/smbtorture.c')
-rw-r--r--source4/torture/smbtorture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index bfe6d0503d..0c2c8c0f6b 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -33,6 +33,7 @@
#include "torture/smbtorture.h"
#include "../lib/util/dlinklist.h"
#include "librpc/rpc/dcerpc.h"
+#include "auth/gensec/gensec.h"
#include "param/param.h"
#include "auth/credentials/credentials.h"
@@ -648,6 +649,8 @@ int main(int argc,char *argv[])
torture->lp_ctx = cmdline_lp_ctx;
+ gensec_init(cmdline_lp_ctx);
+
if (argc_new == 0) {
printf("You must specify a test to run, or 'ALL'\n");
} else if (shell) {