summaryrefslogtreecommitdiff
path: root/source4/torture/torture.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r--source4/torture/torture.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index ca8c3342b6..43f276e0c2 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -20,7 +20,7 @@
#include "includes.h"
#include "dynconfig.h"
-#include "client.h"
+#include "clilist.h"
#include "lib/cmdline/popt_common.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
@@ -37,7 +37,6 @@ static int procnum; /* records process count number when forking */
static struct smbcli_state *current_cli;
static BOOL use_oplocks;
static BOOL use_level_II_oplocks;
-static BOOL use_kerberos;
BOOL torture_showall = False;
@@ -99,9 +98,6 @@ BOOL torture_open_connection_share(struct smbcli_state **c,
const char *userdomain = lp_parm_string(-1, "torture", "userdomain");
const char *password = lp_parm_string(-1, "torture", "password");
- if (use_kerberos)
- flags |= SMBCLI_FULL_CONNECTION_USE_KERBEROS;
-
status = smbcli_full_connection(NULL,
c, lp_netbios_name(),
hostname, NULL,