summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-02 18:41:50 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-03 16:55:12 +0100
commitff66e521e0edf44c194c59c7c99240ae400f1651 (patch)
treebb43895932ebadb30cd692205f5e47658314ab3d /source3/client
parent4d8998302c6bb821bfb3a42d40c4c429211d6da8 (diff)
downloadsamba-ff66e521e0edf44c194c59c7c99240ae400f1651.tar.gz
samba-ff66e521e0edf44c194c59c7c99240ae400f1651.tar.bz2
samba-ff66e521e0edf44c194c59c7c99240ae400f1651.zip
s3:client: s/Undefined/SMB_SIGNING_DEFAULT/
metze
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c2
-rw-r--r--source3/client/smbspool.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index beb3dca710..f06b241f64 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -5230,7 +5230,7 @@ static int do_message_op(struct user_auth_info *a_info)
status = cli_connect_nb(desthost, have_ip ? &dest_ss : NULL,
port ? port : 139, name_type,
- lp_netbios_name(), Undefined, 0, &cli);
+ lp_netbios_name(), SMB_SIGNING_DEFAULT, 0, &cli);
if (!NT_STATUS_IS_OK(status)) {
d_printf("Connection to %s failed. Error %s\n", desthost, nt_errstr(status));
return 1;
diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c
index 0be8d51878..b7955ee0c7 100644
--- a/source3/client/smbspool.c
+++ b/source3/client/smbspool.c
@@ -402,7 +402,7 @@ smb_complete_connection(const char *myname,
/* Start the SMB connection */
*need_auth = false;
nt_status = cli_start_connection(&cli, myname, server, NULL, port,
- Undefined, flags);
+ SMB_SIGNING_DEFAULT, flags);
if (!NT_STATUS_IS_OK(nt_status)) {
fprintf(stderr, "ERROR: Connection failed: %s\n", nt_errstr(nt_status));
return NULL;