summaryrefslogtreecommitdiff
path: root/source3/torture/samtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/samtest.c')
-rw-r--r--source3/torture/samtest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/torture/samtest.c b/source3/torture/samtest.c
index b5f7ed9f76..d3268d8b5b 100644
--- a/source3/torture/samtest.c
+++ b/source3/torture/samtest.c
@@ -360,7 +360,6 @@ int main(int argc, char *argv[])
struct cmd_set **cmd_set;
struct samtest_state st;
-
/* make sure the vars that get altered (4th field) are in
a fixed location or certain compilers complain */
poptContext pc;
@@ -375,6 +374,8 @@ int main(int argc, char *argv[])
ZERO_STRUCT(st);
+ st.token = get_system_token();
+
setlinebuf(stdout);
DEBUGLEVEL = 1;