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
commit92a6f577ce1f3a14ff11d5320a0fe54ec0d947ca (patch)
treea9166afcde86e292da4a1610189785f2e95b2aee /source3
parentf61fb18e0a1ad3217075adc97e4f058d334480e4 (diff)
downloadsamba-92a6f577ce1f3a14ff11d5320a0fe54ec0d947ca.tar.gz
samba-92a6f577ce1f3a14ff11d5320a0fe54ec0d947ca.tar.bz2
samba-92a6f577ce1f3a14ff11d5320a0fe54ec0d947ca.zip
s3:utils: s/Undefined/SMB_SIGNING_DEFAULT/
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_ads.c2
-rw-r--r--source3/utils/net_rpc.c3
-rw-r--r--source3/utils/net_time.c2
-rw-r--r--source3/utils/net_util.c7
-rw-r--r--source3/utils/netlookup.c2
5 files changed, 9 insertions, 7 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 43dda0663d..0893a1d00d 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -1834,7 +1834,7 @@ static int net_ads_printer_publish(struct net_context *c, int argc, const char *
c->opt_user_name, c->opt_workgroup,
c->opt_password ? c->opt_password : "",
CLI_FULL_CONNECTION_USE_KERBEROS,
- Undefined);
+ SMB_SIGNING_DEFAULT);
if (NT_STATUS_IS_ERR(nt_status)) {
d_fprintf(stderr, _("Unable to open a connection to %s to "
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index fe41e77148..b403c14379 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -7092,7 +7092,8 @@ bool net_rpc_check(struct net_context *c, unsigned flags)
return false;
status = cli_connect_nb(server_name, &server_ss, 0, 0x20,
- lp_netbios_name(), Undefined, 0, &cli);
+ lp_netbios_name(), SMB_SIGNING_DEFAULT,
+ 0, &cli);
if (!NT_STATUS_IS_OK(status)) {
return false;
}
diff --git a/source3/utils/net_time.c b/source3/utils/net_time.c
index 88520c4818..195144cbe0 100644
--- a/source3/utils/net_time.c
+++ b/source3/utils/net_time.c
@@ -33,7 +33,7 @@ static time_t cli_servertime(const char *host,
NTSTATUS status;
status = cli_connect_nb(host, dest_ss, 0, 0x20, lp_netbios_name(),
- Undefined, 0, &cli);
+ SMB_SIGNING_DEFAULT, 0, &cli);
if (!NT_STATUS_IS_OK(status)) {
fprintf(stderr, _("Can't contact server %s. Error %s\n"),
host, nt_errstr(status));
diff --git a/source3/utils/net_util.c b/source3/utils/net_util.c
index 4bf4e3395b..a6edc3976d 100644
--- a/source3/utils/net_util.c
+++ b/source3/utils/net_util.c
@@ -125,7 +125,8 @@ NTSTATUS connect_to_service(struct net_context *c,
server_ss, c->opt_port,
service_name, service_type,
c->opt_user_name, c->opt_workgroup,
- c->opt_password, flags, Undefined);
+ c->opt_password, flags,
+ SMB_SIGNING_DEFAULT);
if (!NT_STATUS_IS_OK(nt_status)) {
d_fprintf(stderr, _("Could not connect to server %s\n"),
server_name);
@@ -209,7 +210,7 @@ NTSTATUS connect_to_ipc_anonymous(struct net_context *c,
server_name, server_ss, c->opt_port,
"IPC$", "IPC",
"", "",
- "", 0, Undefined);
+ "", 0, SMB_SIGNING_DEFAULT);
if (NT_STATUS_IS_OK(nt_status)) {
return nt_status;
@@ -269,7 +270,7 @@ NTSTATUS connect_to_ipc_krb5(struct net_context *c,
user_and_realm, c->opt_workgroup,
c->opt_password,
CLI_FULL_CONNECTION_USE_KERBEROS,
- Undefined);
+ SMB_SIGNING_DEFAULT);
SAFE_FREE(user_and_realm);
diff --git a/source3/utils/netlookup.c b/source3/utils/netlookup.c
index 5d81d43634..b66c34e61d 100644
--- a/source3/utils/netlookup.c
+++ b/source3/utils/netlookup.c
@@ -111,7 +111,7 @@ static struct con_struct *create_cs(struct net_context *c,
"",
#endif
0,
- Undefined);
+ SMB_SIGNING_DEFAULT);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(2,("create_cs: Connect failed. Error was %s\n", nt_errstr(nt_status)));