summaryrefslogtreecommitdiff
path: root/source3
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
commit2202c3ce0231f449ae6cb1443c1b6c9e90af7709 (patch)
tree35bf26cf923003380c96e989a4a1743ae041b9bb /source3
parentff66e521e0edf44c194c59c7c99240ae400f1651 (diff)
downloadsamba-2202c3ce0231f449ae6cb1443c1b6c9e90af7709.tar.gz
samba-2202c3ce0231f449ae6cb1443c1b6c9e90af7709.tar.bz2
samba-2202c3ce0231f449ae6cb1443c1b6c9e90af7709.zip
s3:auth: s/Undefined/SMB_SIGNING_DEFAULT/
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth_domain.c2
-rw-r--r--source3/auth/auth_server.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index a4e798e4e9..696b18bd42 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -147,7 +147,7 @@ static NTSTATUS connect_to_domain_password_server(struct cli_state **cli,
/* Attempt connection */
result = cli_full_connection(cli, lp_netbios_name(), dc_name, dc_ss, 0,
- "IPC$", "IPC", "", "", "", 0, Undefined);
+ "IPC$", "IPC", "", "", "", 0, SMB_SIGNING_DEFAULT);
if (!NT_STATUS_IS_OK(result)) {
/* map to something more useful */
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index 8a9e5cdf20..3bd69cda4d 100644
--- a/source3/auth/auth_server.c
+++ b/source3/auth/auth_server.c
@@ -88,7 +88,8 @@ static struct cli_state *server_cryptkey(TALLOC_CTX *mem_ctx)
}
status = cli_connect_nb(desthost, &dest_ss, 0, 0x20,
- lp_netbios_name(), Undefined, flags, &cli);
+ lp_netbios_name(), SMB_SIGNING_DEFAULT,
+ flags, &cli);
if (NT_STATUS_IS_OK(status)) {
DEBUG(3,("connected to password server %s\n",desthost));
connected_ok = True;