]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-rap: fix cli_oem_change_password() and give room for the convert reply word.
authorGünther Deschner <gd@samba.org>
Tue, 11 May 2010 10:16:52 +0000 (12:16 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 11 May 2010 22:22:13 +0000 (00:22 +0200)
Any servers I could find so far return it.

Guenther

source3/libsmb/clirap.c

index 913c8d320aaff95caee78461c2ecc99996986f5a..80e5a41893158c53ff4e2c8db734ee31e0a32fab 100644 (file)
@@ -500,7 +500,7 @@ bool cli_oem_change_password(struct cli_state *cli, const char *user, const char
                     PIPE_LANMAN,                          /* name */
                     0,0,                                  /* fid, flags */
                     NULL,0,0,                             /* setup, length, max */
-                    param,param_len,2,                    /* param, length, max */
+                    param,param_len,4,                    /* param, length, max */
                     (char *)data,data_len,0                       /* data, length, max */
                    ) == False) {
                DEBUG(0,("cli_oem_change_password: Failed to send password change for user %s\n",