s3:utils: s/Undefined/SMB_SIGNING_DEFAULT/
authorStefan Metzmacher <metze@samba.org>
Wed, 2 Nov 2011 17:41:50 +0000 (18:41 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 3 Nov 2011 15:55:12 +0000 (16:55 +0100)
metze

source3/utils/net_ads.c
source3/utils/net_rpc.c
source3/utils/net_time.c
source3/utils/net_util.c
source3/utils/netlookup.c

index 43dda0663dc3007e6d652142f7cd78ce6a2e8eeb..0893a1d00dd2ff1bc67fa74dfcebeb9f2f3de178 100644 (file)
@@ -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 "
index fe41e77148e19e07f07b1ca3462f59c28076e744..b403c143799c12f8d48162bb7e5265c2252b3496 100644 (file)
@@ -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;
        }
index 88520c48189a04f7fd11ca566d5a12a32c948a3a..195144cbe00be85399b5e2328c0c4e736c8345df 100644 (file)
@@ -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));
index 4bf4e3395b09fdb32431f3ed691aa5529059a43a..a6edc3976deeeeaa56c626989e5f15c8f1781228 100644 (file)
@@ -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);
 
index 5d81d43634ed58c68c5514426b1621647a6cb1e9..b66c34e61dced8e4a16fa4f9624bb397de0b55fe 100644 (file)
@@ -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)));