s3:libsmb: pass CLI_FULL_CONNECTION_* flags via cli_connect_nb()
[kai/samba.git] / source3 / utils / net_time.c
index cc97412a8d047eeba23160b35b8c19a3f6a00aa7..6fc3f96f65480d529f1d520ea463e83700b4953a 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, &cli);
+                               Undefined, 0, &cli);
        if (!NT_STATUS_IS_OK(status)) {
                fprintf(stderr, _("Can't contact server %s. Error %s\n"),
                        host, nt_errstr(status));