need 32 bit status codes to be negotiated because of STUPID dos "error more
authorLuke Leighton <lkcl@samba.org>
Fri, 13 Nov 1998 20:39:25 +0000 (20:39 +0000)
committerLuke Leighton <lkcl@samba.org>
Fri, 13 Nov 1998 20:39:25 +0000 (20:39 +0000)
data needed" message gets treated as a serious error code (which it isn't)
so the client code terminates.
(This used to be commit d9b59580dcd5076d3027e364964dcd624300fe45)

source3/rpcclient/rpcclient.c

index bf003893bca17d8e20c1b35629d515c820c48d24..80d66a3af42424ab8371c1ddce0d9057c8c10cb8 100644 (file)
@@ -60,7 +60,7 @@ void rpcclient_init(void)
 {
        bzero(smb_cli, sizeof(smb_cli));
        cli_initialise(smb_cli);
-       smb_cli->capabilities |= CAP_NT_SMBS;
+       smb_cli->capabilities |= CAP_NT_SMBS | CAP_STATUS32;
 }
 
 /****************************************************************************