client hacks
authorStefan Metzmacher <metze@samba.org>
Thu, 2 Aug 2012 10:18:40 +0000 (12:18 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 18 Sep 2012 03:10:21 +0000 (05:10 +0200)
source3/libsmb/cliconnect.c

index 9ce013ee6427f5963f80ec1ba1fa074313c5b16f..f311fe7dedef901b21a97a52e4b4e7fdabd03fe5 100644 (file)
@@ -2334,8 +2334,13 @@ struct tevent_req *cli_tcon_andx_create(TALLOC_CTX *mem_ctx,
        }
 
        tcon_flags |= TCONX_FLAG_EXTENDED_RESPONSE;
+{
+static int c = 0;
+if (c > 0) {
        tcon_flags |= TCONX_FLAG_EXTENDED_SIGNATURES;
-
+}
+c++;
+}
        SCVAL(vwv+0, 0, 0xFF);
        SCVAL(vwv+0, 1, 0);
        SSVAL(vwv+1, 0, 0);