Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
"IPC$",
dfs_auth_info,
false,
"IPC$",
dfs_auth_info,
false,
- cli_state_encryption_on(rootcli),
+ smb1cli_conn_encryption_on(rootcli->conn),
smbXcli_conn_protocol(rootcli->conn),
0,
0x20,
smbXcli_conn_protocol(rootcli->conn),
0,
0x20,
share,
dfs_auth_info,
false,
share,
dfs_auth_info,
false,
- cli_state_encryption_on(rootcli),
+ smb1cli_conn_encryption_on(rootcli->conn),
smbXcli_conn_protocol(rootcli->conn),
0,
0x20,
smbXcli_conn_protocol(rootcli->conn),
0,
0x20,
-bool cli_state_encryption_on(struct cli_state *cli)
-{
- return smb1cli_conn_encryption_on(cli->conn);
-}
-
-
/****************************************************************************
Close all pipes open on this session.
****************************************************************************/
/****************************************************************************
Close all pipes open on this session.
****************************************************************************/
- if (cli_state_encryption_on(cli)) {
+ if (smb1cli_conn_encryption_on(cli->conn)) {
- if (cli_state_encryption_on(cli)) {
+ if (smb1cli_conn_encryption_on(cli->conn)) {
#include "libsmbclient.h"
#include "libsmb_internal.h"
#include "secrets.h"
#include "libsmbclient.h"
#include "libsmb_internal.h"
#include "secrets.h"
+#include "../libcli/smb/smbXcli_base.h"
/*
* Is the logging working / configfile read ?
/*
* Is the logging working / configfile read ?
for (s = context->internal->servers; s; s = s->next) {
num_servers++;
for (s = context->internal->servers; s; s = s->next) {
num_servers++;
- if (!cli_state_encryption_on(s->cli)) {
+ if (!smb1cli_conn_encryption_on(s->cli->conn)) {
return (void *)false;
}
}
return (void *)false;
}
}
const char *remote_realm,
int signing_state,
int flags);
const char *remote_realm,
int signing_state,
int flags);
-bool cli_state_encryption_on(struct cli_state *cli);
void cli_nt_pipes_close(struct cli_state *cli);
void cli_shutdown(struct cli_state *cli);
const char *cli_state_remote_realm(struct cli_state *cli);
void cli_nt_pipes_close(struct cli_state *cli);
void cli_shutdown(struct cli_state *cli);
const char *cli_state_remote_realm(struct cli_state *cli);